Package wellen
Class InstrumentDSPLibrary.BELL
java.lang.Object
wellen.Instrument
wellen.InstrumentDSP
wellen.InstrumentDSPLibrary.BELL
- All Implemented Interfaces:
DSPNodeOutputSignal
- Enclosing class:
- InstrumentDSPLibrary
-
Field Summary
Fields inherited from class wellen.InstrumentDSP
always_interpolate_frequency_amplitude_changes, DEFAULT_FREQUENCY, DEFAULT_WAVETABLE_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
void
note_off()
void
note_on
(int note, int velocity) void
set_amplification
(float pAmplify) void
set_amplitude_falloff
(float pAmplitudeFalloff) void
set_attack
(float attack) void
set_detune
(float pDetune) detune of second oscillator in relation to main oscillatorvoid
set_sustain
(float sustain) void
set_sustain_falloff
(float pReleaseFalloff) Methods inherited from class wellen.InstrumentDSP
get_amplitude, get_amplitude_LFO_amplitude, get_amplitude_LFO_frequency, get_channels, get_detune, get_detune_amplitude, get_detune_oscillator_type, get_detune_VCO, get_filter_frequency, get_filter_resonance, get_frequency, get_frequency_LFO_amplitude, get_frequency_LFO_frequency, get_LPF_envelope_cutoff, get_LPF_envelope_cutoff_max, get_LPF_envelope_cutoff_min, get_LPF_envelope_resonance, get_LPF_envelope_resonance_max, get_LPF_envelope_resonance_min, get_oscillator_type, get_VCO, pitch_bend, set_amplitude, set_amplitude, set_amplitude_LFO_amplitude, set_amplitude_LFO_frequency, set_channels, set_decay, set_detune_amplitude, set_detune_oscillator_type, set_filter_frequency, set_filter_resonance, set_frequency, set_frequency, set_frequency_LFO_amplitude, set_frequency_LFO_frequency, set_LPF_envelope_cutoff_max, set_LPF_envelope_cutoff_min, set_LPF_envelope_resonance_max, set_LPF_envelope_resonance_min, set_oscillator_type, set_release
Methods inherited from class wellen.Instrument
enable_additional_oscillator, enable_ADSR, enable_amplitude_LFO, enable_detune, enable_frequency_LFO, enable_LPF, enable_LPF_envelope_cutoff, enable_LPF_envelope_resonance, get_decay, get_pan, get_release, get_sustain, ID, is_playing, set_adsr, set_pan
-
Constructor Details
-
BELL
public BELL(int pID)
-
-
Method Details
-
set_amplitude_falloff
public void set_amplitude_falloff(float pAmplitudeFalloff) -
set_amplification
public void set_amplification(float pAmplify) -
set_sustain_falloff
public void set_sustain_falloff(float pReleaseFalloff) -
set_sustain
public void set_sustain(float sustain) - Overrides:
set_sustain
in classInstrumentDSP
- Parameters:
sustain
- level parameter defining the level hold while note is still played.
-
note_on
public void note_on(int note, int velocity) - Overrides:
note_on
in classInstrumentDSP
-
note_off
public void note_off()- Overrides:
note_off
in classInstrumentDSP
-
output_signal
- Specified by:
output_signal
in interfaceDSPNodeOutputSignal
- Overrides:
output_signal
in classInstrumentDSP
- Returns:
- output signal
-
set_detune
public void set_detune(float pDetune) Description copied from class:InstrumentDSP
detune of second oscillator in relation to main oscillator- Overrides:
set_detune
in classInstrumentDSP
- Parameters:
pDetune
- in percent. a value of 1.0 will tune the second oscillator to the exact frequency as the main oscillator. a value of 0.5 will tune the second oscillator to half the frequency of the main oscillator, etcetera.
-
get_attack
public float get_attack()- Overrides:
get_attack
in classInstrument
-
set_attack
public void set_attack(float attack) - Overrides:
set_attack
in classInstrumentDSP
- Parameters:
attack
- time parameter defining the time it takes for the set_amp to reach maximum level.
-