OpenBSD Journal
Home : : Add Story : : Archives : : About : : Create Account : : Login :
The Story Of The Extra Audio Track: Recording Music With OpenBSD
Contributed by weerd on Sat Mar 31 14:40:01 2012 (GMT)
from the Puffy Burst Into Song dept.

Alexandre Ratchov (ratchov@), OpenBSD developer and composer of one of the extra audio tracks on the newly released audio CD, writes in to tell us how he created the song:

As the "Sonate aux insomniaques" track was just released, I take few minutes to explain how the audio track was produced and where it comes from.

The music is entirely inspired by a poem titled "Sonate aux insomniaques" by Guillaine Dioudonnat. The initial plan, was to work with Guillaine to turn it into a song. But it turned out that the text would add constraints to the rhythm, which would make harder to make the music reflect the universe created by the poem. That's why there are no lyrics.

From the technical point of view, the audio track is a proof-of-concept that OpenBSD is usable for music applications. Not only does the software run on OpenBSD, but the song is made using an approach popular in the community: use simple programs that do one thing and make them work together. I'm involved in the OpenBSD development, and relying on OpenBSD to record my music reminds you that developers actually use the code they write.

The following hardware was used:

  • a low profile i386 machine running -current
  • a envy(4) based audio card (ESI Julia)
  • a MIDI master keyboard (Studiologic SL-990)
  • umidi(4) based synth module (Roland XV-2020)
  • analog mixer, speakers, headphones, microphone
and the following software:
  • midish as a MIDI sequencer
  • aucat(1) to play, record and mix .wav tracks
  • a small home-made soft synth (not released yet)
  • sndiod as glue to make above work together in sync
  • lame, mpg321, mp3info, vorbis-tools, oggtag

The first step consisted in finding a melody, i.e. playing the piano and/or the melodica until something nice pops up. This also includes, discussing with Guillaine, drinking beer and so on.

The next step was to find a nice arrangement. This requires a lot of experimenting and recording all the instruments one-by-one. That's the point where OpenBSD starts being involved. I used three kind of instruments:

The hardware synth (used for drums, bass, piano, strings).

It synthesizes in real-time what I play as well as MIDI tracks recorded in midish with the MIDI keyboard. In other words during playback, MIDI events are replayed and sent to the hardware synth which generates the sound, there are no .wav files involved at this stage.

Acoustic instruments, like the melodica.

It's recorded with a microphone as a .wav file using aucat(1); aucat is started with MIDI control enabled (-qt options) in a way it's controlled by midish (aka MMC control) for the start, stop, and relocate operations. Furthermore midish is configured to use the sound card clock (aka MTC clock) as time reference as exposed by sndiod(1), this is an easy way we have to keep MIDI tracks perfectly synchronized to audio tracks.

Software synth (used for the "wind" sound).

It's the same as a hardware synth, except that the sound is generated by a process running on the computer and thus the output is on the sound card. The soft synth is controlled by midish using a sndio(7) midithru port as if it was a hardware synth connected to a hardware port. Since soft synths are low-latency hard real-time programs, sndiod must be started with small buffers (ex. -z240 or -z120). OpenBSD is not a real-time system but is pretty good, provided that CPU-intensive kernel code is avoided.

This step is quite long; it includes various volume and effects adjustments in order to make it sound well.

Once everything sounds perfect, the next step is to "convert" MIDI parts to .wav files that can be mixed together to obtain the final mix. To record the hardware synth, the usual approach is simply to plug the synth output to the sound card input and to record it as if it was an acoustic instrument. A similar approach can be used to record the soft synth, except that sndiod(1) playback stream (produced by the synth) is recorded instead of the sound card input.

Finally, the last step was to mix all the .wav files together using aucat off-line mode (-n option) and to compress them to MP3 and OGG files.

Thanks to Alexandre for the story behind Sonate aux Insomniaques. If you haven't heard it yet, make sure to download it in either OGG Vorbis (5.7MB) or in MP3 format (5.9MB). If you enjoy the OpenBSD release songs, make sure to buy the 4.1 - 5.1 Songs.


<< It's Official: OpenBSD Helps Me Do Better Science | Reply | Flattened | Expanded | Rthreads Hackathon Report Part the First >>

Threshold: Help

Related Links
more by weerd

  Re: The Story Of The Extra Audio Track: Recording Music With OpenBSD (mod 4/10)
by phessler (phessler) ( on Mon Apr 2 06:22:39 2012 (GMT)
  The opening had a very Radiohead-esque feeling to it. Very nice song, and quite enjoyable to listen to. :)
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: The Story Of The Extra Audio Track: Recording Music With OpenBSD (mod -3/7)
by Amir Samiremov (Amir) ( on Wed Apr 11 08:36:53 2012 (GMT)
  Great work and nice thought - the song is nice!
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: The Story Of The Extra Audio Track: Recording Music With OpenBSD (mod 1/1)
by dany ( on Thu Aug 6 08:59:13 2015 (GMT)
  mixed information for me, but I'm learning.mutfak tadilatı thanks.
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: The Story Of The Extra Audio Track: Recording Music With OpenBSD (mod -2/2)
by scalett (scalett) ( on Fri Apr 1 08:10:43 2016 (GMT)
  My associate already asked me Replica handbags to analyze amid the accurate and knockoff Chloe Backpack and assumption even I cannot differentiate involving these two. It has the aforementioned packaging, mark, abstracts and aswell the absolute altitude of the accurate one.Have you anytime longed to own a adorable artist backpack but you couldn't absolve spending several hundred Prada Replica handbags dollars on a purse? Replica handbags are advised just for budget-minded actualization aficionados such as yourself. And, while you'll be able to backpack a bag that is abutting to the absolute thing, there are a few drawbacks, so you'll allegation to be acquainted of these afore you go arrangement hunting. Some says that it is one of the a lot of assertive methods if affairs replica handbags because you can Hermes Replica Handbags calmly ask for acquittance or an barter if you see any accident to the duke bag. However, back they are cheaper, you may be able to Replica Handbags uk acquiesce to buy added than one replica. That allows you to accept altered looks, admitting you could apparently alone buy one accurate bag. If you wish humans to anticipate your bag is the absolute thing, don't acquirement replica handbags in too abounding contemporary colors, though.You will acquisition a ambit of artist aggressive handbags, purses, and wallets to accouterment your aftertaste and selection. Some are accidental for circadian use Cheap Replica Handbags and some affected to accompaniment your atramentous wear. If you allegation abounding ample bags, there are tote accoutrements in which you can backpack a lot of claimed use items.Of the abounding replica accoutrements attainable on the bazaar some examples are Louis Vuitton, Monogram Denim, Monogram Canvas, Monogram Denim Cruise, Monogram Multicolor, Epi Leather, Monogram Mini, Monogram Mini Lin, Mongram Perfo, Monogram Vernis, Dameir Canvas, Dameir Geant canvas, Suhali Leather, Antigua Monogram Groom, and Monogram Leopard.Most humans wish to apperceive breadth to go to Gucci Replica Handbags acquisition a acceptable actor backpack to buy. There are accustomed abundance that sells actor handbags. If you wish to boutique for a Hermes Replica uk backpack online, breadth you'll acquisition lots of replicated purses and actualization accessories at prices you can afford. You can even acquisition adornment and Rolex watch replicas at this website, absolutely abundant for bond and analogous while you Louis Vuitton Replica Handbags accept your handbags.You can acquisition artist aggressive wallets in a adorable ambit for you to choose. Among these are the actualization backpack aggressive with faux covering analysis and breeze closure. Afresh there are 18-carat covering wallets in admirable colors with turn-lock cease and silver-tone hardware. There are 18-carat covering wallets with push-button closures in aphotic and ablaze Fendi Replica Handbags colors and some with accomplishments designs.
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: The Story Of The Extra Audio Track: Recording Music With OpenBSD (mod 0/0)
by repliquemontreluxe ( ( on Sat Oct 22 08:26:42 2016 (GMT)
  Huit ans, très longtemps. Quelques huit années de sa vie? Huit ans ne peut pas créer beaucoup de replique montre de luxe-volume de production de mouvement générique peut gagner de gros bénéfices pour l'entreprise pendant une longue période, huit ans seulement pour une percée sans précédent, pour presque jetables Fei neuf jours. Même si les trois maîtres de la foi et la persévérance sont également section hit valeur de louange. Mon idole M. Chu Shijian, aussi semblait passé huit ans, mais il est de garder morceau plats chauds de la terre, et quand il a commencé, je suppose qu'il ne saisit pas pleinement à vivre pendant huit ans. Bien que je n'ai pas naturellement le "dernier clou" la capacité et les qualifications, mais je pense toujours que Dieu Bien que ce nombre 57260 montre de poche sera le monde regarde l'histoire du monument le plus éblouissant. Ce fut une créativité horlogère traditionnelle et nouveaux matériaux structurels science et l'ingénierie la plus merveilleuse fusion, est une paire replique montre-de résumé de l'histoire horlogère. Il utilise la langue du métier le plus traditionnel organisé une interprétation globale de la merveilleuse variété de la pensée complexe, pense que certains de ces merveilleux complexe dans la succession, mais plus précieux sont ceux partie tout à fait originale: parce qu'il n'y a pas, pour ainsi créer. Chefs-d'œuvre de Beyond et noble.
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

[ Home | Add Story | Archives | Polls | About ]

Copyright © 2004-2008 Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to April 2nd 2004 as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. Some icons from used with permission from Kathleen. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. Search engine is ht://Dig. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]