We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
proMIDI setPitch() (Read 306 times)
proMIDI setPitch()
Dec 9th, 2008, 12:56am
 
Hello!
I just started playing around with the proMIDI library. My aim is to play one note permanently and alter the pitch and velocity,

Note note = new Note(int(30/5f),int(127),100000);
midiOut.sendNote(note);

The note is created and played by this. Unfortunately the command

note.setPitch(radius[i]);

does not work. radius[i] gives numbers from 0 to 250, maybe its the wrong range??
Or is it better to work with the OSC library and convert the signal to midi afterwards?

Thanks for help!

Greets
Re: proMIDI setPitch()
Reply #1 - Dec 9th, 2008, 11:15pm
 
ok, the problem has changed right now. i now use the oscp5 library to control a synthesizer. works fine exept, osc cannot send notes.
so i have to play them manually, by a synthesizer, proMIDI library, or? anyone knows help? i just want to play 1 note all the time and want to modify pitch, filters and so on via osc..

greets
Page Index Toggle Pages: 1