|
Drag[en]gine Script Module DragonScript 1.35
|
Definition of a synthesizer. More...
Public Member Functions | |
| void | addController (SDController controller) |
| Add controller. | |
| void | addLink (SDLink link) |
| Add link. | |
| void | addSource (SDSource source) |
| Add source. | |
| void | buildSynthesizer (Synthesizer synthesizer) |
| Build synthesizer. | |
| void | debug (Console console) |
| int | getBytesPerSample () |
| Bytes per sample. | |
| int | getChannelCount () |
| Channel count. | |
| SDController | getControllerAt (int position) |
| Controller at position. | |
| int | getControllerCount () |
| Number of controllers. | |
| SDLink | getLinkAt (int position) |
| Link at position. | |
| int | getLinkCount () |
| Number of links. | |
| String | getPathDirectory () |
| Path to directory the synthesizer file is located in. | |
| String | getPathFile () |
| Path the synthesizer has been loaded from. | |
| int | getSampleCount () |
| Number of samples to create. | |
| int | getSampleRate () |
| Sample rate. | |
| SDSource | getSourceAt (int position) |
| Source at position. | |
| int | getSourceCount () |
| Number of sources. | |
| SynthesizerDefinition | new (String pathFile) |
| Create synthesizer definition. | |
| void | setBytesPerSample (int bytesPerSample) |
| Set bytes per sample. | |
| void | setChannelCount (int channelCount) |
| Set channel count. | |
| void | setSampleCount (int sampleCount) |
| Set number of samples to create. | |
| void | setSampleRate (int sampleRate) |
| Set sample rate. | |
Definition of a synthesizer.
Once defined a synthesizer can be updated using the stored definition. Avoids storing real synthesizers as often multiple synthesizer definitions have to be loaded at the beginning of a gaming session.
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.addController | ( | SDController | controller | ) |
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.addLink | ( | SDLink | link | ) |
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.addSource | ( | SDSource | source | ) |
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.buildSynthesizer | ( | Synthesizer | synthesizer | ) |
Build synthesizer.
Referenced by debug().
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.debug | ( | Console | console | ) |
References addController(), addLink(), addSource(), buildSynthesizer(), debug(), getControllerAt(), getControllerCount(), getLinkAt(), getLinkCount(), getSourceAt(), and getSourceCount().
Referenced by debug().
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getBytesPerSample | ( | ) |
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getChannelCount | ( | ) |
Channel count.
Referenced by getBytesPerSample().
| SDController Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getControllerAt | ( | int | position | ) |
Controller at position.
Referenced by debug().
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getControllerCount | ( | ) |
| SDLink Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getLinkAt | ( | int | position | ) |
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getLinkCount | ( | ) |
Number of links.
Referenced by debug().
| String Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getPathDirectory | ( | ) |
Path to directory the synthesizer file is located in.
Referenced by setSampleRate().
| String Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getPathFile | ( | ) |
Path the synthesizer has been loaded from.
Referenced by setChannelCount().
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getSampleCount | ( | ) |
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getSampleRate | ( | ) |
Sample rate.
Referenced by getControllerCount().
| SDSource Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getSourceAt | ( | int | position | ) |
| int Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.getSourceCount | ( | ) |
Number of sources.
Referenced by debug().
| SynthesizerDefinition Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.new | ( | String | pathFile | ) |
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.setBytesPerSample | ( | int | bytesPerSample | ) |
Set bytes per sample.
Referenced by addLink().
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.setChannelCount | ( | int | channelCount | ) |
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.setSampleCount | ( | int | sampleCount | ) |
Set number of samples to create.
Referenced by addSource().
| void Dragengine.Audio.SynthesizerDefinition.SynthesizerDefinition.setSampleRate | ( | int | sampleRate | ) |