We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › proMidi: internal MIDI routing problem
Page Index Toggle Pages: 1
proMidi: internal MIDI routing problem (Read 1025 times)
proMidi: internal MIDI routing problem
Jul 30th, 2008, 7:27pm
 
Hey up

I'm having problems with internal MIDI routing using proMidi on XP. The problem: from any music software to proMidi, using an internal midi routing prog (I've tried midiyoke and LoopBe), proMidi only picks up the signal occasionally.

It's odd: I make a code change and re-run, and it'll do one of three things at random: not detect any input at all, detect it for between 15 and 30 times, or get it right. Often I have to restart the code ten or more times to get it picking up the input. As you can imagine, this isn't a sustainable way to code...!

Things I've checked:

* Different bits of music software can talk to each other fine: e.g. ableton and cubase happily use internal routing if I ask them to, no problems.

* proMidi also happily takes external MIDI (or at least a USB pretend midi input) on every run.

Things I haven't tried:

* A midi cable from my soundcard out, and straight back in again. (Would this even work? Isn't there some problem with looping straight back in again...?)

I'm not sure if anyone else has had similar problems with internal MIDI routing, but any ideas or insights would be enormously gratefully received. *Something* must be occurring for the code to - seemingly randomly - occasionally run, occasionally half-run.

I was so excited about playing Processing VJ clips from Ableton, but I just can't go on like this... Halp! Sad

Re: proMidi: internal MIDI routing problem
Reply #1 - Aug 1st, 2008, 2:45pm
 
i would think that coming out of ableton to your sound card, then back in to your computer through usb would work.  You probably just need Ableton to not look at the midi coming in.  Haven t tested but would assume that would work since it is not running through software but rather a hardware connection.
Re: proMidi: internal MIDI routing problem
Reply #2 - Aug 11th, 2008, 11:42am
 
I am currently working on the next release and will check if this is a problem in promidi or of midi under windows.
Re: proMidi: internal MIDI routing problem
Reply #3 - Aug 11th, 2008, 11:47am
 
Cool. An addition to the above: I'm now using an external midi cable, just looping it out and in via my soundcard. This is a big improvement over using an internal midi router - but the problem is still there.

I don't know if this is useful info, but the problem is more common, the more inputs I have open. This suggests there's some kind of 'random' chance for each input open command to go wrong. Once one has gone wrong, none work. Note that I'm opening only one input on different midi channels.

Cheers and good luck finding where the problem is. (I wonder if something similar happens with the Javasound API?)
Page Index Toggle Pages: 1