Méthode | Description | |
---|---|---|
PanMixProcessingBuffer ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void |
Pans and adds the mono data of the processing buffer to the provided buffer.
|
|
PanMixSample ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void |
Pans and adds the mono data of the sample to the provided buffer.
|
|
SetGains ( float gains ) : void |
Sets all channels' gains simultaneously. The array of gains provided should have as many elements as there are channels.
|
|
SetStereoPan ( float pan ) : void |
Convenience method for stereo panning Standard panning with gain split between channels
|
|
SetStereoPan ( float pan, float gain ) : void |
overload which adds gain control.
|
public abstract PanMixProcessingBuffer ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void | ||
sample | IGATBufferedSample | |
length | int | |
audioBuffer | float | |
gain | float | |
Résultat | void |
public abstract PanMixSample ( IGATBufferedSample sample, int length, float audioBuffer, float gain = 1f ) : void | ||
sample | IGATBufferedSample | |
length | int | |
audioBuffer | float | |
gain | float | |
Résultat | void |
public abstract SetGains ( float gains ) : void | ||
gains | float | |
Résultat | void |
public SetStereoPan ( float pan ) : void | ||
pan | float | /// Pan value between 0f and 1f. /// |
Résultat | void |
public SetStereoPan ( float pan, float gain ) : void | ||
pan | float | |
gain | float | |
Résultat | void |