[CM] linux and midishare
Dave Phillips
dlphillips@woh.rr.com
Thu, 24 Mar 2005 09:29:22 -0500
Hi Rick:
I'm running this code from Example 4 in the MIDI topic dictionary page:
(define (rankeys reps rhy dur lb ub)
(process <cid:part1.06080905.03060406@woh.rr.com> repeat reps
output (ms:new typeNote :dur dur
:pitch (between <cid:part2.00060907.07030608@woh.rr.com> lb ub))
wait rhy))
So far, so good. I run this code:
(output (ms:new typeNote :pitch 80 :dur 1000))
Still good, except I hear no sound. In my msConnect window I've
connected CM to an instance of fluidsynth loaded with a GM soundfont.
If I run this code:
(sprout <cid:part3.07060003.04080305@woh.rr.com> (rankeys 30 200 250 60 90) 2000)
I get this error at the Lisp prompt:
Error in KERNEL::UNBOUND-SYMBOL-ERROR-HANDLER: the variable RUN-PROC is
unbound.
[Condition of type UNBOUND-VARIABLE]
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(RT-SPROUT #<Interpreted Function "LAMBDA (REPS RHY DUR LB UB)"
{580C1729}> 2000)
Source: (MIDITASK RUN-PROC (+ (MIDIGETTIME) (OR AHEAD 0)) *MP* ID ...)
0] 0
*
Best,
dp