Re: Using Midish to play midi plus audio...

From: Alexandre Ratchov <alex_at_caoua.org>
Date: Mon Jun 02 2014 - 13:12:16 CEST
On Fri, May 30, 2014 at 04:18:25PM -0500, Allen J. Macchia wrote:
> Hi,
> 
> First thank you for taking the time to read my question. I am a person who
> struggles at programming and as such have a high regard for those like you
> that compose such wizardry. Thank you!
> 
> I am struggling to find a way, via command line, to play a midi file
> (output: hardware midi port) and an audio file (output: soundcard audio
> port) both synced together. I know there are a couple Linux sequencers that
> can do this but I'd like to keep it simple. I've studied Alsa and Jack with
> no luck. Again I struggle at programming so may have missed something I've
> read that provides the solution. Midish documentation mentions syncing with
> audio software but there are no examples how to accomplish the task.
> 
> So I ask.. can this be done from the command line or am I simply looking
> for something that does not exist?

OpenBSD has a aucat utility that can play/record files in sync with
midi, but it requires parts of the openbsd sound sub-system.
There's a Linux port of the whole thing here:

http://www.sndio.org/install.html

Basically there's a small daemon that forwards synchronisation
messages and keeps audio programs in sync. It's documented and easy
to use, but configuring the OpenBSD audio bits on Linux may not be
trivial as all this is relatively new on Linux; let me know if you
want the full reciepe to make it work.

[...]

There are attemps to make jack use MMC for control and expose clock
source as MTC, but I don't know how well this works; here's the
discussion about it:

http://comments.gmane.org/gmane.linux.audio.users/82052

HTH

-- Alexandre
Received on Mon, 2 Jun 2014 13:12:16 +0200

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:28 CET