[CM] Midi microtuning in cm2

Tito Latini tito.01beta at gmail.com
Thu Mar 9 09:20:03 PST 2017


On Thu, Mar 09, 2017 at 01:46:24PM +0100, anders.vinjar at nmh.no wrote:
> Personally i think i'd prefer to continue using the .scm sources as
> 'originals' and base any CL versions on the current .asd (which calls
> stocl as needed).  Easier to keep things in sync, and have both scm and
> cl.

The auto-generated code from scm to cl is inefficient and bogus.
For example, in midi1.lisp the constants are special variables!?
Other examples:

    (if (vectorp map) (elt map chan) (elt map chan))

or

    (defparameter +enc-route-byte+ (byte 10 22))

where the compiler doesn't replace +enc-route-byte+ with (byte 10 22)
because it is a special variable. It is necessary to eval the code at
compile-time with #.+enc-route-byte+ -- Idem for the rest.

I helped Orm with some patches the first days of the fork but with the
request to hide my name.

I'll never send a patch to fix auto-generated code or to fix an old
scheme version of cm.

Besides, I use s7: the old scheme files are obsolete and useless for me,
therefore I'll never send a patch to fix scm files or the cl-generator
because it is just a lost of time.


More information about the Cmdist mailing list