Contents



Getting Started (Cont'd)

Next
 

Bitmaps as Controls

The Bitmap Image sub-control lets any multiple-frame .bmp or .png image be used as a control.

Here, we've selected the moog_knob.png file from the SynthEdit default skin folder in the Bitmap Image sub-control's right-click Properties.

This image has 40 frames, so its animation response is very smooth. Its associated moog_knob.txt file looks like this:

type animated
frame_size 48, 45
mouse_response rotary
padding 13, 7, 13, 4




The image's Animation Position is converted to a voltage by means of a Patch Mem - Float and a Float to Volts converter.


 

 

 

 

 



The Patch Mem - Float's Min Value and Max Value set the range for the output voltage.

 

 

The power and flexibility of the sub-controls begins to become apparent when you realize that
any
image can be used in this way.

A Bitmap Image can also be used to select from a list.

Here, a 7-frame image has been made from screen shots of the 7 waveforms of the standard SynthEdit oscillator.

Its associated .txt file contains the following:

type animated
mouse_response horizontal
frame_size 97, 97
padding 0, 0, 0, 0


Mouse response has been set to horizontal so that dragging the image horizontally changes the frame, and therefore the selected list item.

In the diagram below, the Bitmap Image's Animation position is converted to an integer that represents the frame number, counting the first frame as 0. The Int to List uses that integer value to select the corresponding list item. As usual, a Patch Mem module serves as the interface between the GUI modules and the audio side.

 

 

 

 


top

Next