Peter Castine | 2 Oct 2007 17:34
Picon

PM and Windows Registry

I read the documentation in portmidi.h regarding specifing  
recommended I/O devices in the registry with interest (lines 221-263  
in my copy, immediately above the declaration of  
Pm_GetDefaultInputDeviceID() and Pm_GetDefaultOutputDeviceID()).

However, when I read the comments at Pm_GetDefaultOutputDeviceID(),  
it looks like the registry thing hasn’t actually been implemented yet.

Is this correct? Has anyone got PortMidi to use Registry (or even  
Environment) settings?

I need to get PM talking to other software via some kind of Virtual  
MIDI Cable. I’m experimenting right now with Maple VMC (http:// 
www.hurchalla.com/Maple_driver.html), but am open to other  
suggestions. The main question is how to get PortMidi talking to  
something other than Microsoft GS...

Thanks for any advice,
Peter

--------------    http://www.bek.no/~pcastine/Litter/    -------------
Peter Castine             +--> Litter Power & Litter Bundle for Jitter

iCE:  Sequencing,  Recording &
       Interface  Building  for                   |home    | chez nous|
       Max/MSP   Extremely cool                   |bei uns |  i nostri|
       http://www.dspaudio.com/                   http://www.castine.de

New-------->Facebook http://www.facebook.com/p/Peter_Castine/562567537
(Continue reading)

greg kellum | 9 Oct 2007 15:20
Picon
Favicon

unable to check-out from SVN


Hi,

I just tried to check out the PortMidi code on  an OS 10.4 PowerBook from SVN as described in the document
"Getting Started With PortMidi on Mac", but I was unable to.  I got a PROPFIND error from SVN.  I've seen this
error before when using SVN;  it has something to do with the fact that one is using a https server rather than
http, but I don't know how to solve it.  I do know, however, that it can be solved by changing the server's
configuration.  But in any case I can remember there earlier being a site at:
http://www.cs.cmu.edu/~music/portmidi/ where one could download zip files.  What happened to this
site? I think most people would rather download an archive with a version number anyway than check-out
code directly from SVN without a version number.

Best,
Greg

_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
Steven Hunt | 31 Oct 2007 04:55
Picon

Writing midi files

Hello PortAudio list,

Please excuse me if this is a question that has been answered before, this is my first post.
I've written a little game that uses PortMidi to output a user-generated song, and was wondering if there was an easy way to render it into a midi file.  I have the note times, note values, and note velocities already in the memory of my program.  I'm not familiar with the midi file format so if there's not already an easy way to do it (or existing library) I probably won't bother.

Thanks,
Steven Hunt
(A UCSB alum!  Now further south though...)

_______________________________________________
media_api mailing list
media_api@...
http://www.create.ucsb.edu/mailman/listinfo/media_api
Roger Dannenberg | 31 Oct 2007 15:25
Picon
Favicon

Re: Writing midi files

Steven,
    In addition to PortMidi, there is a PortSMF -- port standard midi 
file -- in a parallel directory on sourceforge (under SVN, see the 
PortMedia wiki on sourceforge for more info).
    There's not much documentation yet, but you can use it to write midi 
files in two steps. First, you need to build an in-memory sequence (an 
instance of Alg_seq). It is possible to put in a tempo track, track 
names and info, key signatures, etc., but you can also just put in 
pitch, time, duration, and loudness. Then you can call a function to 
write your sequence to a midi file (or an ascii representation is also 
available).
    If you go this route and need more details, let me know.

    -Roger

Gmane