Dear Enrico,

sorry for the delayed reply. It would be great to have such MIDI I/O in Oz! Perhaps it would be a good idea to do it in a platform- independent way. For example, there is MidiShare (http:// midishare.sourceforge.net/) which already provides bindings for various programming languages (C, C++, Common Lisp, Pascal, Java...) and music systems, and there is PortMidi (http://www.cs.cmu.edu/ ~music/portmusic/), which is also used already by several systems.

I recall some guys (some Maarten?) where working on MIDI device support for windows. They released MozMidi, for reading and writing MIDI files at

        http://www.snowlion.nl/mozart/

They reported, that their MIDI device support for windows is finished, by it was never release: you may contact [EMAIL PROTECTED]

I myself did MIDI file I/O simply via midicsv (http:// www.fourmilab.ch/webtools/midicsv/), which transforms MIDI to/from text files with a very simple syntax. I can share a Mozart parser for this format, but it is really rather easy..

Best
Torsten

On Oct 12, 2007, at 11:58 AM, Enrico Santoemma wrote:

Hello. Have someone tried to control MIDI devices in Oz?
My need is to listen to a MIDI keyboard and to react to the notes with
a flow of MIDI notes sent to a MIDI port, for an assisted music
teaching app.

Given the simplicity of this task, I suppose one doesn't need to do
complex foreign calls to linux libraries. Looking around the various
ALSA and OSS stuff, it seems that it's enough to open (and read/write
through select) some device, like /dev/midi*

Am I correct? Is there a simple way to do this in Oz?

Enrico
______________________________________________________________________ ___________ mozart-users mailing list mozart- [EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office:   +44-1752-233667
Private: +44-1752-663492
http://strasheela.sourceforge.net
http://www.torsten-anders.de




_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to