Public Types | Public Member Functions | List of all members
SamplerSoundMap Class Reference

A component which displays all loaded ModulatorSamplerSounds and allows editing of their properties. More...

Inheritance diagram for SamplerSoundMap:
MainController::SampleManager::PreloadListener

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...
 

Detailed Description

A component which displays all loaded ModulatorSamplerSounds and allows editing of their properties.

Member Enumeration Documentation

enum Neighbour

Simple direction enum to find the next neighbour.

See also
selectNeighbourSample()

Member Function Documentation

BigInteger getRootNotesForDraggedFiles ( ) const
inline

returns the root notes for all files that are dragged over the component.

bool isSelected ( int  id)
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.

Parameters
pressedKeyDatathe array with the velocities (-1 if the key is not pressed).
See also
ModulatorSampler::SamplerDisplayValues
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.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.