!DTTSound - Sample converter

!DTTSound is a sample converter that allows samples to be taken from other programs, and converts them into Desktop Tracker format. Section repeats can be created easily, as well as sustained parts. It can recognise the following formats:

8Linear SignedArmadeus
8Linear UnsignedDSEdit
12&222111 SignedNot used at present*
12&222111 Unsigned " " " "*
16(12)&x222x111 Signed " " " "*
16(12)&x222x111 Unsigned " " " "*
16Signed " " " "
16Unsigned " " " "
16Stereo Signed " " " "
16Stereo Unsigned " " " "
32Signed " " " "
32Unsigned " " " "

* There are 2 possible 12-bit formats, one more compact than the other. Consult the sampler manual for more details.

The 8-bit conversions are reasonably fast, whereas the others are slower. The stereo paired voices are added together, and then converted, to create a composite mono source.

If you click SELECT on the DTTSound's icon, then the following two windows will appear:

The top window shows a picture of the sample, and the bottom displays the parameters of the sample.

To load a sample, drag the original into either the DTTSound's icon or window. A box will appear, to ask you which format the file is in. If the application cannot guess what format it is in (by the file-type), then it will assume it is Linear Signed. The box looks like:

The top half will show the picture of the sample. If there is a loop defined, then this is highlighted in dark blue. If there is a sustain, then this is red. If there is an overlap between the two, then the overlapped area is in grey.

The various parameters of a sample are:

Sample volume - how loud it is (0=silent, 127=loudest),

Sample length - the length of the sample (in bytes)

Repeat start - the start position of the repeat section

Repeat length - the length of the repeated section

Sustain start - the start of the sustain

Sustain length - the length of the sustained section

Note - what note that was sampled (13=C 2)

Sample frequency - The frequency the sample was sampled at (in Hz)

Sample name - The name of the sample (32 characters)

Editing the parameters

Each parameter can be modified by clicking, and holding SELECT or ADJUST on it. The longer you hold it down, the quicker it rises (or falls). However, this does not apply to sample name, where if you click on it, you can change the name to whatever you want to call it.

If you try to make the repeat start + repeat length greater than the sample length, then it won't work - it will stop immediately before this happens. The same is true for the sample start and the sample length.

Another way of editing the repeat and sustain is to drag a box on the window display. This is done by clicking select on the first point, and then holding it down while moving the mouse. A black box will be displayed, showing the current selected part of the sample. If you release the mouse button where you want it to stop, and then press menu, you can select either the ”Set repeat• or the ”Set sustain• option, and this will set the parameters to the required values.

Another effect you can do with the box is to fade in, or fade out. This allows a string sound to come in gradually, by fading in the first section, and stop softly, by fading out the last section.

If you want to clear either the repeat or the sustain, then you can do so, by moving right of the Clear option, and then clicking on the one you want to clear. A tick by it shows that it is already cleared. If you choose the ”Clear end• option, then a small fade out is applied to the end, to stop a ”click• whenever the sample stops.

Playing the sample

This is done by clicking anywhere in the window. You can now press any of the Desktop Tracker keys, and this will play the same note as if you had entered it in via Desktop Tracker itself.

Saving the sample

Again, this is done by a RiscOS standard window, allowing the sample to be saved in Desktop Tracker native format (Logarithmic).