| Instruction manual - Pizzicato 3.2.2 | EN910 - Revision of 2007/03/10 |
Creating an audio file
Subjects covered:
Export a score to an audio file [Light] [Beginner] [Professional]
The idea is to create an audio wave file (extension ".wav") that contains exactly what you hear when you play the score in Pizzicato. You can then use that audio file to create a CD that can be played in any music CD player. Indeed, most CD burning software accept wave files to create an audio CD. Let us see how to do that.
- In the Examples sub-directory of the DataEN directory, open the Ex044.piz file. It is a short piece of music containing 4 measures. We will create an audio file from it.
- In the File menu, select the Export audio file... item. A dialog appears so that you can give a name and a location to the wave file that will be created. By default, the name is set to either the name of the document or the name of the score if the document contains more then one score. Select the directory where you want the file to be created and validate. The following dialog appears:
- In the upper frame, you may select the quality of the audio file. By default, it is set to the best quality. Note that the size of the file is directly related to the quality. The more quality the higher the file size. You may evaluate the size of the file (in bytes) with the following formula:
- Stereo 16 bits : file size = 4 x (sample rate) x (duration of the file in seconds)
- Stereo 8 bits : file size = 2 x (sample rate) x (duration of the file in seconds)
- Mono 16 bits : file size = 2 x (sample rate) x (duration of the file in seconds)
- Mono 8 bits : file size = 1 x (sample rate) x (duration of the file in seconds)
The way Pizzicato will create the audio file is the following. When Pizzicato plays the score, it uses the sound card synthesizer or a software synthesizer to play the notes. The resulting sound is present at the output of the sound card and that is the sound you hear. This is also the sound that will be recorded in the audio file.
So that Pizzicato has the possibility to access this sound channel on Windows, you should do the following:
- In the Start menu, select Programs, then Accessories, Entertainment, Volume control. The volume control window appears.
- In its Options menu, select Properties.
- In the frame entitled Adjust volume select Recording or Record.
- In the list, see that the line "What you hear" is checked and click on OK. This input means exactly that: all sounds that come out of the speaker of the sound card will be recorded.
- See that the Select check box is checked under the slider of the column named "What you hear" in the recording control window and that this slider has enough volume.
- Go back to Pizzicato. This setup should normally not change after you have prepared it, but be aware that other programs may change it. If Pizzicato does not record sound as expected, check it again.
On the Macintosh, it is a bit different because the user may not select "What you hear" as the recording input. There are two way to handle that difficulty. The first one is to use the microphone of the Mac. Pizzicato plays the score through QuickTime Instruments and the internal speaker of the Mac and Pizzicato records it with the microphone. The problem with that solution is that the sound quality will be less and that other sounds and noise that happen around your computer will also be recorded. The other solution is better but you need a cable to connect the sound output of the Mac to its sound input. In either case, do the following:
- Go to the System Preferences, in Sound
- In the Input tab, select the input you need: the built-in microphone or external microphone if you want to use that method, or the line input if you have a cable to connect the audio output of the Mac to its line input.
- Set the input volume to an adequate level.
- Go back to Pizzicato.
For both Windows and the Mac, when you click on the Play (test) button of the above dialog, Pizzicato plays the score. You should see the bar graphs showing the sound level in real time. You may increase the volume sliders if the bar graphs have a too low level. This will determine the volume recorded in the audio file. The bar graph should never reach the right part, because that means the sound is saturated at that point and this will produce a sound distortion in the audio file. The Stop button lets you stop the score.
When you are ready, click on the Export button and Pizzicato starts playing the score while recording the sound result in the audio file. Let Pizzicato play it up to the end and you will then have the wave file created. If you click on Stop before the end, the file will only contain the part of the score that have been played up to then.
If you use an external synthesizer, you should be aware that its audio output will not be recorded in the file unless you connect it to an audio input of your sound card with a cable. Most sound cards have a line input where you can connect your synthesizer audio output. This line input should then be selected in the record volume control window as the source of recording.
On Macintosh, when you use QuickTime Instruments to generate the sounds, your computer must be fast enough; otherwise, QuickTime sometimes has a little interruption that spoils the recording of your score. To optimize the recording on Mac, you should:
- Close every other application than Pizzicato
- Keep the volume of the above window exactly to 100 (you may however adjust the volume in the Sound System Preference panel)
- Avoid the scrolling of the score while Pizzicato plays. You may disable the scrolling in the Options menu, Global options..., by unchecking the Scroll score window checkbox.