Re: [linux-audio-dev] ALSA MIDI logger? (Was: Radio Scanner Recorder)

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Thu Sep 01 2005 - 08:05:33 EEST

On Wed, 2005-08-31 at 21:58 +0200, David Olofson wrote:
> On Monday 29 August 2005 11.58, Jens M Andreasen wrote:
> [...]
> > For the SMF part, you probably already have arecordmidi installed on
> > your system. Ctrl-C (SIGQUIT) at end of file to terminate.
>
> Doh! I did have a feeling that 90% of the code I need was right under
> my nose... :-D
>
> Thanks! :-)
>
>
> > Perhaps modifying it slightly to treat start/stop commands as
> > begin/end of file would be useful. Your appliction would then be a
> > midithru, inserting midi-stop after a certain amount of inactivity
> > and midi-start when you start playing again.
>
> Or maybe just add the complete "auto split" feature to arecordmidi...?
> If I'm going to hack it anyway, it might be easier to just do the
> whole job there, as the basic ALSA "framework", build scripts and
> stuff is already there.

I noticed that stdin is unused ...
A thread that reads commands and new filenames from stdin would be
convenient in conjunction with popen()

>
>
> //David Olofson - Programmer, Composer, Open Source Advocate
>
> .- Audiality -----------------------------------------------.
> | Free/Open Source audio engine for games and multimedia. |
> | MIDI, modular synthesis, real time effects, scripting,... |
> `-----------------------------------> http://audiality.org -'
> --- http://olofson.net --- http://www.reologica.se ---

-- 
Received on Thu Sep 1 12:15:04 2005

This archive was generated by hypermail 2.1.8 : Thu Sep 01 2005 - 12:15:04 EEST