which object for playing standard midifiles?

Sep 26, 2007 at 2:50pm

which object for playing standard midifiles?

Helu

which object shuold i use for playing standard midifiles?
Im only interested in noteon/off messages, playing every note from C1 to C6 – simplest midifiles as possible-

Thanks!

#33838
Sep 27, 2007 at 9:45pm

I understand i use seq object with messages open,start and stop, but i dont understand how to connect it to my oscillator.
I only need note on/off and pitch.

Thanks

#113244
Sep 27, 2007 at 11:21pm

On 27 sept. 07, at 23:45, petterdass wrote:

> I understand i use seq object with messages open,start and stop,
> but i dont understand how to connect it to my oscillator.
> I only need note on/off and pitch.

seq outputs MIDI raw bytes, you need to filter only the notes:
midiparse would do the job. Then you might need to convert the midi
pitch into frequency with the mtof object. For the amplitude,
dividing by 127 should do it.

HTH,
ej

#113245
Sep 27, 2007 at 11:25pm

Take the note out from seq~, run it through mtof~ and into the
frequency input on your oscillator. To get more favorable results,
you might also want to hook up an envelope generator to control the
amplitude of the oscillator’s output.

Just a tip – Get used to looking in the Max and/or MSP reference
manual under ‘Object Thesaurus’ to find objects which will do a
specific task you’re interested in doing.

On Sep 27, 2007, at 3:45 PM, petterdass wrote:

>
> I understand i use seq object with messages open,start and stop,
> but i dont understand how to connect it to my oscillator.
> I only need note on/off and pitch.
>

—-
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home < http://pubweb.csf.edu/~smill>
SFIFEM <
http://sfifem.csf.edu>
Atrium Sound Space <
http://atrium.csf.edu>
OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
CMP <
http://www.csf.edu/csf/academics/cmp/index.html>

#113246
Sep 27, 2007 at 11:38pm

petterdass skrev:
> I understand i use seq object with messages open,start and stop, but i dont understand how to connect it to my oscillator.
> I only need note on/off and pitch.
>
> Thanks
Hi Peter, I know I must sound like a broken record, but the tutorials
really do teach you this stuff – how far along in the tutorials are you
at this point?

Andreas.

#113247
Oct 2, 2007 at 11:45am

Steven Miller schrieb:
> Just a tip – Get used to looking in the Max and/or MSP reference manual
> under ‘Object Thesaurus’ to find objects which will do a specific task
> you’re interested in doing.

And if you want the Thesaurus as a max patch which also loads the help
files, go to http://www.cycling74.com/twiki/bin/view/Share/StefanTiedje

have fun…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#113248
Oct 2, 2007 at 7:38pm

ill check it out soon, i found out i just need to use midiparse after seq~ – problem solved

Thanks!

#113249

You must be logged in to reply to this topic.