[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] does pygame use portmidi?
- To: "pygame-users@xxxxxxxx" <pygame-users@xxxxxxxx>
- Subject: [pygame] does pygame use portmidi?
- From: Jake b <ninmonkeys@xxxxxxxxx>
- Date: Wed, 23 Jun 2010 02:14:23 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 23 Jun 2010 03:14:56 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=oqEA+pS+rB7P4yfGMLi5Se5m9GzdPII4ea16Sdc9+t4=; b=t1cvq6B9CKSVHMgPFqjgZZ9jIx2Jz8eEHvwj/l9DJYF4D1Rm+lfR75wTjpeCgSL0Qw 1THDE3aoCcNNuiD0vtuLjH5p60KQ8MWkOXR0jFD+9fr1TX+nGpwTugj0yZTelUQbVTsq 473UMAEdEVbvZ3rxstGJcdYz75hNbtcTLdYLU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=cxwK6j0n76KMLMf/78GkerhyJibQyp8R5vi/rt7n+eZf+W8ktbFulLL/xGowhqrpVK VwdxpeRvGReL8est8zehSLPLXKoMuCwTuph7tTOWZP6tyedjV+TbTq8XTx0x+3fuN4Ku h0XvYblbqGOYNZWW58Z3IyOvUIFMZhXuxiz1M=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I'm trying to use portmidi (or pygame) and mingus. ( mingus for it's
util functions. pygame for midi in+out.)
I want to run "osc2midi.py" , which uses portmidi.[1] ( import's pypm
), since port midi wasn't installing[2], I tried a quick convert,
being midi newb, rewriting could be faster. I have the OSC side
working. Now I need midi. .
Does pygame.midi using portmidi? I couldn't find any pygame midi
examples on the project's site. There is docs/examples/midi.py , which
is a big file.
All I need now is:
"play note X, octave Y, time=0"
[ mingus can convert noteX+octaveY to the midi offset, ie: 64 )
foootnotes:
-
[1] osc2midi.py located at :
http://code.google.com/p/osc2midi/downloads/detail?name=osc2midi.py&can=2&q=
It reads OSC input messages, output on midi.
[2],I did not find portmidi py2.6-windows binaries. Setup.py compiling
didn't work (maybe my python distutils isn't configured right because
I installed eclipse w/ mingw after python.)
--
monkey