Behind The Scenes: Creating Sound Samples
Wednesday, April 9, 2008, 10:22 AM
Posted by Administrator
Creating the sound samples for My Music is challenging task. While there are perhaps better methods, the method we used is outline as follows.
1. Batch scripts used to generate lilypond scripts.
Having 25 notes for each instrument, the script generate a single lilypond script which contains a single note. Although Lilypond, the music typesetter is meant for producing beautiful scores, lilypond files are used only for generating midi files.
2. LilyPondTool used for editing and mass lilypond compilations.
LilyTool, a jEdit plugin, the frontend/IDE for Lilypond, is mine preferred editor for editing lilypond files. "%lilypond %args *.ly" was used to process all lilypond files in the directory.
3. Synthfont was used for converting midi to wavs
I use synthfont to preview its software synthesis with select free and good soundfonts on the net, then used to generate all 25 waves for each note. Wav is used to retain lossless quality before conversions to smaller files. Soundfonts used included John Sankey's harpsichord and Steinway Grand piano samples.
4. Foobar2000 to preview, RazorLAME as frontend for mp3 conversion.
Foobar2000 the lightweight audio player, and LAME was use to compress the audio files. After much experiments, we decided to use VBR 128kbps, Quality 4, Mono, 22KHz to make it compatible with Flash.
5. Repeat steps 1-4 for each instrument needed.