Re: [LAD] Realtime MIDI programming?

2009-10-08 Thread Albert Graef
Paul Davis wrote: > but keep in mind that, just as with audio, JACK is "encouraging" "RT > design" in which you do the work associated with a particular audible > time as close to that time as possible. of course, this doesn't apply > to playback of MIDI from disk, but if you're doing algorithmic >

Re: [LAD] Realtime MIDI programming?

2009-10-08 Thread Paul Davis
On Thu, Oct 8, 2009 at 12:03 AM, Albert Graef wrote: > Arnout Engelen wrote: >> There is some simple example code available at the jackaudio wiki though: >> http://trac.jackaudio.org/wiki/WalkThrough/Dev/SimpleMidiClient > > Thanks, that looks pretty straightforward. I guess that to output MIDI >

Re: [LAD] Realtime MIDI programming?

2009-10-07 Thread Albert Graef
Arnout Engelen wrote: > There is some simple example code available at the jackaudio wiki though: > http://trac.jackaudio.org/wiki/WalkThrough/Dev/SimpleMidiClient Thanks, that looks pretty straightforward. I guess that to output MIDI from another thread one is supposed to use a ringbuffer which i

Re: [LAD] Realtime MIDI programming?

2009-10-07 Thread Arnout Engelen
On Tue, Oct 06, 2009 at 09:01:35PM -0400, David Robillard wrote: > On Sat, 2009-10-03 at 23:31 +0200, Albert Graef wrote: > > David Robillard wrote: > > > Casting my predictable vote for Jack MIDI :) > > > > Hi David, is there a nice introduction to Jack MIDI available somewhere? > > I guess that

Re: [LAD] Realtime MIDI programming?

2009-10-06 Thread David Robillard
On Sat, 2009-10-03 at 23:31 +0200, Albert Graef wrote: > David Robillard wrote: > > Casting my predictable vote for Jack MIDI :) > > Hi David, is there a nice introduction to Jack MIDI available somewhere? > I guess that there ought to be a LAC paper about it, but a quick Google > search didn't tu

Re: [LAD] Realtime MIDI programming?

2009-10-04 Thread Pedro Lopez-Cabanillas
On Saturday, October 3, 2009, Albert Graef wrote: > Harry Van Haaren wrote: > > And I'd advise you to start with "normal" scheduling (I've never coded > > an RT app, but MIDI apps works > > 100% realtime for me without any upgrading of priority). > > That may work if you have enough spare cpu power

Re: [LAD] Realtime MIDI programming?

2009-10-03 Thread Albert Graef
David Robillard wrote: > Casting my predictable vote for Jack MIDI :) Hi David, is there a nice introduction to Jack MIDI available somewhere? I guess that there ought to be a LAC paper about it, but a quick Google search didn't turn up anything useful. Albert -- Dr. Albert Gr"af Dept. of Music

Re: [LAD] Realtime MIDI programming?

2009-10-03 Thread David Robillard
On Sat, 2009-10-03 at 15:07 +0200, Carlo Capocasa wrote: > Hi, > > I'm looking into doing some real time MIDI programming with either C++ > or Common lisp. > > I would specifically not schedule anything but deliver everything as > "play it right now" notes. > > Is it necessary to use realtime

Re: [LAD] Realtime MIDI programming?

2009-10-03 Thread Albert Graef
victor wrote: > As an alternative, you can use PortMIDI. It's a fairly simple API and > I would recommend it. Seconded. It's very portable as well, and wrappers exist for many programming languages (or are easy to build, as it's just plain C). Another thing that PortMidi has going for it, is that

Re: [LAD] Realtime MIDI programming?

2009-10-03 Thread Albert Graef
Harry Van Haaren wrote: > And I'd advise you to start with "normal" scheduling (I've never coded > an RT app, but MIDI apps works > 100% realtime for me without any upgrading of priority). That may work if you have enough spare cpu power, but otherwise you may get a lot of jitter which really hurt

Re: [LAD] Realtime MIDI programming?

2009-10-03 Thread victor
[LAD] Realtime MIDI programming? Hey, I'd advise C++ & RtMidi if you've done any OOP before, I started out with that combination, there are some good examples on the RtMidi webpage. It provides a MIDI interface on all of Linux-Mac-PC, so its cross-platform. And I'd

Re: [LAD] Realtime MIDI programming?

2009-10-03 Thread Harry Van Haaren
Hey, I'd advise C++ & RtMidi if you've done any OOP before, I started out with that combination, there are some good examples on the RtMidi webpage . It provides a MIDI interface on all of Linux-Mac-PC, so its cross-platform. And I'd advise you to star

[LAD] Realtime MIDI programming?

2009-10-03 Thread Carlo Capocasa
Hi, I'm looking into doing some real time MIDI programming with either C++ or Common lisp. I would specifically not schedule anything but deliver everything as "play it right now" notes. Is it necessary to use realtime scheduling the way JACK does? Or is it ok to use normal "user mode" progra