Posts Tagged ‘loop’

First “public” release for alsa-backup

Monday, September 28th, 2009

For a long time, we’re using continuous recording tools to record our radio broadcasts. Many of these tools were homemade and alsa-backup is the latest project of this “serie” (after jack-backup and just-record).

alsa-backup can :

  • record several channels,
  • change record file according your naming policy (… without a blank),
  • run as daemon,
  • log into syslog,
  • stop record and retry after errors

And many other features are coming :) This piece of Ruby code is more flexible than just-record. It uses the awesome ruby-ffi library which allows to use C libraries with few lines of ruby code.

alsa-backup is available as debian/ubuntu packages on Tryphon’s debian repository. Source files are available in GitHub alsa-backup repository.

JustRecord : a tool to record

Tuesday, November 27th, 2007

For many years, we’re using various tools to perform long recordings : record (from xawtools), an home-patched jack-record, arecord+split, rotter, etc.

To record Esperanzah lives or Forum PHP 2007 conferences, we used our ugly (but efficient) arecord+split script. But it’s really a tool which can be shared with other teams.

So we’ve just started a dedicated tool to perform long recordings : JustRecord. These few lines of python can record in loop via alsa, run as daemon, log with syslog and execute an external script when a file is ended, etc. Tiny but usefull ;-) And many features will follow.

Setup for recording 30 hours of concerts

Tuesday, September 4th, 2007

For 4 years, Radio Esperanzah! capture about 30 hours of live each year for the Esperanzah! festival. Until the 2007 edition, we used various recorders (from Archos Gemini to Tascam Compact Flash recorder). But recording something like 20 concerts with a mobile device consumes a lot of time. Lives at Esperanzah! are performed sequentially on two stages. You need to plug and unplug everything 80 minutes and move the capture system to the other stage. It’s painful.

For this 2007 edition, we betted on a new system : install a computer on each stage for the whole festival. The idea is simple : each “satellite” records continuously and recorded files are retrieved periodically by our NAS server via wifi. No (or less) useless movement, the same setup installed for the three days of festival, no cable to plug/unplug, …

A great idea … but it required a lot of preparation. Here are some of the problems we had to solve.

(more…)