Hi once again.
I would first like to say that PD is really fun, and I enjoy learning it. I think to make the most out of PD for me is to learn it's midi uses. I'm hoping to get a midi keyboard sometime, and I'm sure I'll have loads of fun with it... Back to my question. Through some advice from some members of this mailing list (have I said thank you? haha) I've learned some different things, and I've gotten to midi. I would like to get into it a bit more in-depth now. Basically, what I know is that the [makenote (velocity) (pitch] and [noteout (velocity) (pitch) (channel)] does. What I'm trying to figure out now is how to change the instrument. I tried for the longest time to figure it out myself through the tutorials you all have suggested, but I can't find anything! So as a last resort, I'll ask you all how to change the midi instrument. I've read the introduction of midi sent, and it was very helpful. Oh, and what is the proper way to reply to a message if you have the daily digest version? Thanks once again. _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL10062697...
On Sat, 10 Nov 2007 17:06:07 -0600 Timothy Sikes trs164@hotmail.com wrote:
Hi once again.
What I'm trying to figure out now is how to change the instrument.
[pgmout] sends a program change, that's probably what you want.
Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote:
On Sat, 10 Nov 2007 17:06:07 -0600 Timothy Sikes trs164@hotmail.com wrote:
Hi once again.
What I'm trying to figure out now is how to change the instrument.[pgmout] sends a program change, that's probably what you want.
Or maybe the problem is just how to send data to a different channel of noteout. As makenote only generates pairs of notes without channel information, you'd need to add the channel number yourself.
Unless you'd want to hardcode the channel as a creation argument to [noteout], it's possible to add a settable channel with "pack":
[makenote] "numberbox for channel number" | / / [pack 0 0 1] -- use channel 1 (GM piano) as default | [unpack 0 0 0] | | / [noteout]
It's also possible to leave out the "unpack" as [notein] like many objects will distribute an incoming list over its three inlets automatically:
[makenote] "numberbox for channel number" | / / [pack 0 0 1] | [noteout]
Of course actually a third version would be even simpler, but you wouldn't learn anything about [pack]/[unpack] :)
[makenote] | / | / "numberbox for channel number" | / / [noteout]
Here you would need a separate [noteout] object for every [makenote], whereas in the previous solutions you could send all your notes with the respective channel number appended to the same [noteout].
Frank Barknecht _ ______footils.org__
Frank Barknecht a écrit :
Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote:
On Sat, 10 Nov 2007 17:06:07 -0600 Timothy Sikes trs164@hotmail.com wrote:
Hi once again.
What I'm trying to figure out now is how to change the instrument.[pgmout] sends a program change, that's probably what you want.
Or maybe the problem is just how to send data to a different channel of noteout. As makenote only generates pairs of notes without channel information, you'd need to add the channel number yourself.
Unless you'd want to hardcode the channel as a creation argument to [noteout], it's possible to add a settable channel with "pack":
[makenote] "numberbox for channel number" | / / [pack 0 0 1] -- use channel 1 (GM piano) as default | [unpack 0 0 0] | | / [noteout]
It's also possible to leave out the "unpack" as [notein] like many objects will distribute an incoming list over its three inlets automatically:
[makenote] "numberbox for channel number" | / / [pack 0 0 1] | [noteout]
Of course actually a third version would be even simpler, but you wouldn't learn anything about [pack]/[unpack] :)
[makenote] | / | / "numberbox for channel number" | / / [noteout]
Here you would need a separate [noteout] object for every [makenote], whereas in the previous solutions you could send all your notes with the respective channel number appended to the same [noteout].
Ciao
Hello, is it possible to change midi port with noteout or are we stucked with midiout?
On Sun, 2007-11-11 at 19:04 +0100, Patrice Colet wrote:
Ciao
Hello, is it possible to change midi port with noteout or are we stucked with midiout?
afaik, you can choose the midiport with the channel:
[noteout] channels 1-16: channels 1-16 of port 1 [noteout] channels 17-32: channes 1-16 of port 2 etc.
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de