[CM] midifile

Heinrich Taube taube at uiuc.edu
Sun Jan 11 10:33:56 PST 2009


yes, the "repl" really sucks!   (i hate repls, they are nasty brutish  
things) scheme is running in its own thread, main() is just gobbling   
strings to eval and instering them in schemes scheduler. im not even  
sure how a prompt gets printed anymore, but obviosuly its not optimal!



On Jan 11, 2009, at 12:21 PM, Achim Bornhoeft wrote:

> I tried your example as well: It seems that it's just the prompt  
> that does not appear again when creating the Midifile.  When pasting  
> any other code in the listener buffer and hit enter, the prompt  
> reappears.
>
> Achim
>
> Am 11.01.2009 um 19:03 schrieb Heinrich Taube:
>
>> odd the midifile issues doest crash for me either: I boot aquamacs  
>> (leopard/intel), do M-x: cm and then eval this from the buffer
>>
>> (define (testy n lb ub)
>> (process repeat n
>>          do (send "mp:midi" (elapsed #t) .5
>>                   (between 50 90))
>> 	   (wait .2)))
>>
>> (sprout (testy 1000 60 90) "~/test.mid")
>>
>>
>> ive tried 10000 notes several times too, it works but takes about 2  
>> seconds.
>>
>>
>>
>
> Achim Bornhoeft
> Neckarhalde 38, D-72070 Tuebingen
> tel/fax +49 (0)7071 942745
> mobil +49 (0)179 6936930
> skype:achim.bornhoeft?call
>



More information about the Cmdist mailing list