A component which displays all loaded ModulatorSamplerSounds and allows editing of their properties. More...
Public Types | |
enum | Neighbour |
Simple direction enum to find the next neighbour. More... | |
Public Member Functions | |
BigInteger | getRootNotesForDraggedFiles () const |
returns the root notes for all files that are dragged over the component. More... | |
bool | isSelected (int id) |
checks if the sound with the id is selected. More... | |
void | selectNeighbourSample (Neighbour n) |
searches all sounds and selects the next neighbour. More... | |
void | setPressedKeys (const uint8 *pressedKeyData) |
draws a red dot on the map if a key is pressed. More... | |
void | setSelectedIds (const SampleSelection &newSelectionList) |
change the selection to the supplied list of sounds. More... | |
void | soloGroup (int groupIndex) |
This hides all sounds that to not belong to the specified group index. More... | |
void | updateSampleComponent (int index) |
updates the position / size of the sound with the supplied index. More... | |
void | updateSampleComponents () |
updates the position / size of all sounds. More... | |
void | updateSampleComponentWithSound (ModulatorSamplerSound *sound) |
updates the position / size of the specified sound. More... | |
void | updateSoundData () |
updates all sounds. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MainController::SampleManager::PreloadListener | |
String | getCurrentErrorMessage () const |
Returns the preload message. More... | |
A component which displays all loaded ModulatorSamplerSounds and allows editing of their properties.
enum Neighbour |
Simple direction enum to find the next neighbour.
|
inline |
returns the root notes for all files that are dragged over the component.
|
inline |
checks if the sound with the id is selected.
void selectNeighbourSample | ( | Neighbour | n | ) |
searches all sounds and selects the next neighbour.
void setPressedKeys | ( | const uint8 * | pressedKeyData | ) |
draws a red dot on the map if a key is pressed.
pressedKeyData | the array with the velocities (-1 if the key is not pressed). |
void setSelectedIds | ( | const SampleSelection & | newSelectionList | ) |
change the selection to the supplied list of sounds.
void soloGroup | ( | int | groupIndex | ) |
This hides all sounds that to not belong to the specified group index.
If you want to display all sounds, pass -1.
void updateSampleComponent | ( | int | index | ) |
updates the position / size of the sound with the supplied index.
void updateSampleComponents | ( | ) |
updates the position / size of all sounds.
void updateSampleComponentWithSound | ( | ModulatorSamplerSound * | sound | ) |
updates the position / size of the specified sound.
void updateSoundData | ( | ) |
updates all sounds.
It deletes all SampleComponents and recreates them if new samples are detected.