I don't know if this issue is related, but I experienced identical symptoms. My problem turned out to be that PD makes two separate calls to open(), once for read and once for write when opening the MIDI device. My driver (serial midi) apparently didn't support this. I just hacked s_linux.c to use one open with O_RDRW and everything has been fine.
-- ______________________________ | | Joseph A. Sarlo | | jsarlo@mambo.peabody.jhu.edu |______________________________
On Thu, 10 Jan 2002, Timothy Rolls wrote:
Ok, I've found something interesting. I can either have a MIDI in or MIDI out in PD. If I open with pd -midiindev 0 -midioutdev 1, then I can play midi out, but not in. If I do the reverse, then I get midi in but no midi out.If I try -midiindev 1 -midioutdev1, I get a message that midiout could not be opened.
I still question their claim of 100% compatibility with OSS/Free.
Tim
----- Original Message ----- From: "Miller Puckette" mpuckett@man104-1.ucsd.edu To: "Timothy Rolls" trolls@binghamton.edu Cc: "Ben Bogart - FMPM/F1999" bbogart@acs.ryerson.ca; "Pure Data" pd-list@iem.kug.ac.at Sent: Thursday, January 10, 2002 12:36 PM Subject: Re: [PD] Problem with Commercial OSS and PD
Hmm, I've been getting MIDI out on Free OSS, funny it doesn't work on commercial...
cheers Miller
On Thu, Jan 10, 2002 at 01:17:35PM -0800, Timothy Rolls wrote:
Well, I guess that explains it. But I am curious about the legitimacy of their claim that it is 100% compatible with OSS/Free (http://www.opensound.com/linux.html). I am still glad I got it. The
audio
quality on my SB PCI 128 is greatly improved. Thanks for the reply.
Regards, Tim
----- Original Message ----- From: "Ben Bogart - FMPM/F1999" bbogart@acs.ryerson.ca To: "Timothy Rolls" trolls@binghamton.edu Cc: "Pure Data" pd-list@iem.kug.ac.at Sent: Thursday, January 10, 2002 5:59 AM Subject: Re: [PD] Problem with Commercial OSS and PD
I'm using OSS/Commercial and I too only have MIDI In and no MIDI out. This is because OSS does not support MIDI out because most card do not have hardware MIDI out. If MIDI out works with your card with other programs thats because the MIDI translation is done in software, not by the card. This is what I got from OSS/Commercial documentation.
no sure about a fix, I only use MIDI in.
Ben
On Thu, 10 Jan 2002, Timothy Rolls wrote:
Greetings, Yesterday I upgraded from OSS/Free to commercial OSS. Now MIDI
doesn't
work in PD, and apparently only PD. All other programs with MIDI
still
work
(Brahms, Jazz, Csound). Is there anyone else using commercial OSS
and PD
with this problem? BTW, I get the message "opened 1 MIDI input
device
and 0
MIDI output devices." This never happened under OSS/Free. Thanks.
Regards, Tim
B. Bogart