| I think these warnings are spurious.
----- Original Message -----
From: "Graham Breed"
To:
Sent: Saturday, November 15, 2008 8:07 AM
Subject: [Csnd] WARNING: instr 1 p5 illegal for MIDI
> I've got MIDI instruments where I try to follow the instructions here:
>
> http://www.csounds.com/manual/html/MidiInterop.html
>
> and I get the warning in the subject line with every note. p5 is
> plainly legal because the note sounds with the right pitch. The
> warning always names the last p number the instrument uses. What's
> the correct way to do this? Using a local variable instead of p5 (and
> so on) will work but doesn't that break the instrument when it's
> called from a score?
>
> Here's a minimal orchestra:
>
> gi_sine_wave ftgen 0, 0, 8192, 10, 1
>
> instr 1
> midinoteonkey p5, p4
>
> ifreq = cpsoct(p5/12 + 4)
> aout oscil 100*p4, ifreq, gi_sine_wave
>
> out
>
>
> Graham
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|