[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Pdef and midi out



Afaik, only the following argument pairs of Pbind are specific to MIDI patterns.

\type,\midi
\midiout,<port>
\chan,<number> // default 0
\amp,<value> // 0..1 corresponds to velocity 0..127

For other common argument pairs see Pbind help.

-mb

On Sep 5, 2005, at 1:53 PM, krgn wrote:

Thank you very much, your help was really good!
The problem I have is that I can't seem to find where all these
midi-arguments are defined, because I would also like to control, for
example, velocity and the note-duration in a Pdef. Could anyone point in
a direction, on how to do it, or on how to define this sort of thing?

Again, thanks a lot.

Karsten




On Thu, 2005-09-01 at 19:11 +0200, Manfred Brockhaus wrote:
On Sep 1, 2005, at 7:11 PM, krgn wrote:

Hi

sorry for posting this thing again and again. Has someone a brief
explanation on how to send out notes with Pdefs?
this didn't work:

MIDIClient.init;

m = MIDIOut(0, MIDIClient.destinations.at(1).uid);

Pdef(\bell1,\type,\midi,Pbind(\note, Pseq([60],inf))).play

Try this:

Pdef(\bell1, Pbind(\type,\midi, \midiout,{m},
\midinote,Pseq([60],inf))).play






_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users