DrPond Sound Encoder

Purpose of web page

This web page contains code to build a sound file that can be used as a new instrument for DrPond. If you download and unzip the drpond directory you will find a res file that contains a collection of files for instruments. To allow the instruments to be loaded locally they must be text files. This page will construct an encoded textual representation of an instrument file (mp3 or wav file). You can cut and copy the result into a text file and place it in the res directory. You will also need to update the file containing instrument definitions.

The res directory contains a file called instruments.txt. It has a list of items that describe how an instrument should be played. The items are

  1. Element id name of sound patch in the file
  2. Name of instrument
  3. Pitch of the recorded sound
  4. Perhaps some standard name for the instrument TBD ???
  5. Factor that is multiplied with the sound volume
  6. Factor to adjust when the normal sustain time ends
  7. Factor to adjust the slope of the release volume over time

The same insturment name can occur multiple times. Different files are chosen for different pitch ranges. If you are unsure about how to set the factors you can start with the number 1 and later adjust it by listening to the result.

This is a rather simple way to build instrument sounds, and is not intended to duplicate more sophisticated programs such as Finale.

Conversion

Before you begin, place the original file on your local machine om the DrPond res directory. Make sure the file name does not have special characters that would be interpreted differently in HTML such as the "#'. This program will not alter that file, only read it. Use the input control below to select your file and the result will be displayed below and as a long list of letters and symbols. Copy and paste the result into the file you want to use for using DrPond with that instrument. A discussion of how to to build such files will eventually be contained in the documentation.

if files are located in a subdirectory of res enter the subdirectory


Load Audio File: