|
OpenWareLaboratory
|


Public Member Functions | |
| void | allNotesOff () |
| void | allNotesOn () |
| virtual void | channelPressure (MidiMessage msg) |
| void | controlChange (MidiMessage msg) |
| float | getPitchBendRange () |
| bool | getSustain () |
| float | getTuning () |
| SynthVoice * | getVoice (size_t index) |
| void | modulate (MidiMessage msg) |
| MonophonicProcessor () | |
| virtual void | noteOff (MidiMessage msg) |
| virtual void | noteOn (MidiMessage msg) |
| void | pitchbend (MidiMessage msg) |
| virtual void | polyKeyPressure (MidiMessage msg) |
| virtual void | process (MidiMessage msg) |
| void | rpn (uint16_t id, uint8_t msb, uint8_t lsb, MidiMessage msg) |
| void | setDynamicRange (float range) |
| Set the MIDI velocity dynamic range in dB, default 72dB. More... | |
| void | setModulationDepthRange (float range) |
| Set modulation depth range, from 0 to 1.0. More... | |
| void | setParameter (uint8_t parameter_id, float value) |
| void | setPitchBendRange (float range) |
| Set pitch bend range in semitones. More... | |
| void | setSustain (bool value) |
| void | setTuning (float frequency) |
| void | setVoice (size_t index, SynthVoice *obj) |
| void | sustain (MidiMessage msg) |
| virtual void | sustainOff () |
Static Protected Member Functions | |
| static float | frequencyToNote (float freq) |
| static float | noteToFrequency (float note) |
Protected Attributes | |
| bool | dosustain |
| uint8_t | lastNote = 0 |
| float | mod_range |
| uint8_t | notes [16] |
| float | pb_range |
| uint16_t | rpn_id |
| uint8_t | rpn_msb |
| uint8_t | tuning_semitones |
| SynthVoice * | voice [VOICES] |
Definition at line 9 of file MonophonicProcessor.h.
|
inline |
Definition at line 15 of file MonophonicProcessor.h.
|
inline |
Definition at line 44 of file MonophonicProcessor.h.
References MonophonicProcessor< SynthVoice >::lastNote, and VoiceAllocator< SynthVoice, 1 >::voice.
|
inline |
Definition at line 41 of file MonophonicProcessor.h.
References VoiceAllocator< SynthVoice, 1 >::voice.
|
inlinevirtualinherited |
Reimplemented in PolyphonicProcessor< SynthVoice, VOICES >, MidiPolyphonicExpressionProcessor< SynthVoice, VOICES >, and AbstractSynth.
Definition at line 20 of file MidiProcessor.h.
Referenced by MidiProcessor::process().
|
inlinevirtualinherited |
Reimplemented from MidiProcessor.
Definition at line 116 of file VoiceAllocator.h.
|
inlinestaticprotectedinherited |
Definition at line 17 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 21 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 78 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 46 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 66 of file VoiceAllocator.h.
|
inlinevirtual |
Reimplemented from MidiProcessor.
Definition at line 53 of file MonophonicProcessor.h.
References VoiceAllocator< SynthVoice, 1 >::voice.
|
inlinevirtual |
Reimplemented from MidiProcessor.
Definition at line 21 of file MonophonicProcessor.h.
References VoiceAllocator< SynthVoice, 1 >::dosustain, MidiMessage::getNote(), MonophonicProcessor< SynthVoice >::lastNote, MonophonicProcessor< SynthVoice >::notes, and VoiceAllocator< SynthVoice, 1 >::voice.
|
inlinevirtual |
Reimplemented from MidiProcessor.
Definition at line 16 of file MonophonicProcessor.h.
References MidiMessage::getNote(), MonophonicProcessor< SynthVoice >::lastNote, MonophonicProcessor< SynthVoice >::notes, and VoiceAllocator< SynthVoice, 1 >::voice.
|
inlinestaticprotectedinherited |
Definition at line 14 of file VoiceAllocator.h.
|
inlinevirtual |
Reimplemented from MidiProcessor.
Definition at line 56 of file MonophonicProcessor.h.
References VoiceAllocator< SynthVoice, 1 >::voice.
|
inlinevirtualinherited |
Reimplemented in PolyphonicProcessor< SynthVoice, VOICES >, MidiPolyphonicExpressionProcessor< SynthVoice, VOICES >, and AbstractSynth.
Definition at line 21 of file MidiProcessor.h.
Referenced by MidiProcessor::process().
|
inlinevirtualinherited |
Definition at line 22 of file MidiProcessor.h.
References MidiProcessor::channelPressure(), MidiProcessor::controlChange(), MidiMessage::isChannelPressure(), MidiMessage::isControlChange(), MidiMessage::isNoteOff(), MidiMessage::isNoteOn(), MidiMessage::isPitchBend(), MidiMessage::isPolyKeyPressure(), MidiProcessor::noteOff(), MidiProcessor::noteOn(), MidiProcessor::pitchbend(), and MidiProcessor::polyKeyPressure().
|
inlineinherited |
Definition at line 87 of file VoiceAllocator.h.
|
inlineinherited |
Set the MIDI velocity dynamic range in dB, default 72dB.
Definition at line 42 of file VoiceAllocator.h.
|
inlineinherited |
Set modulation depth range, from 0 to 1.0.
Definition at line 35 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 71 of file VoiceAllocator.h.
|
inlineinherited |
Set pitch bend range in semitones.
Does not update the frequency; effective from next pitch bend change
Definition at line 28 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 81 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 49 of file VoiceAllocator.h.
|
inlineinherited |
Definition at line 62 of file VoiceAllocator.h.
|
inlinevirtualinherited |
Reimplemented from MidiProcessor.
Definition at line 75 of file VoiceAllocator.h.
|
inlinevirtual |
Reimplemented from VoiceAllocator< SynthVoice, 1 >.
Definition at line 48 of file MonophonicProcessor.h.
References MonophonicProcessor< SynthVoice >::lastNote, and VoiceAllocator< SynthVoice, 1 >::voice.
|
protectedinherited |
Definition at line 10 of file VoiceAllocator.h.
|
protected |
Definition at line 13 of file MonophonicProcessor.h.
Referenced by MonophonicProcessor< SynthVoice >::allNotesOff(), MonophonicProcessor< SynthVoice >::noteOff(), MonophonicProcessor< SynthVoice >::noteOn(), and MonophonicProcessor< SynthVoice >::sustainOff().
|
protectedinherited |
Definition at line 9 of file VoiceAllocator.h.
|
protected |
Definition at line 12 of file MonophonicProcessor.h.
Referenced by MonophonicProcessor< SynthVoice >::noteOff(), and MonophonicProcessor< SynthVoice >::noteOn().
|
protectedinherited |
Definition at line 8 of file VoiceAllocator.h.
|
protectedinherited |
Definition at line 11 of file VoiceAllocator.h.
|
protectedinherited |
Definition at line 12 of file VoiceAllocator.h.
|
protectedinherited |
Definition at line 13 of file VoiceAllocator.h.
|
protectedinherited |
Definition at line 7 of file VoiceAllocator.h.