forked from tim-janik/anklang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* param-events: DEVICES: blepsynth/blepsynth.cc: port to new Parameter API * Start using install_params() * Rename pid_key_[abcdefg]_, add key prefix * Declare all parameter IDs in an enum * Use ase_gettext() multi arg formatting * Construct AudioProcessor with ProcessorSetup& * Add "toggle" hint for piano key properties * Handle PARAM_VALUE events via apply_event() * Start using midi_event_input() * Port remaining OSC1 and OSC2 parameter references * Adjust and check parameter state *after* processing MIDI events * Adjust parameter ID types DEVICES: freeverb/freeverb.cc: support new param events * Use install_params(ParameterMap) * Construct AudioProcessor with ProcessorSetup& * Use adjust_all_params() and apply_input_events() * Fix MODE hints and param position DEVICES: colorednoise.cc: use adjust_all_params() and apply_input_events() * Port to install_params(ParameterMap) * Construct AudioProcessor with ProcessorSetup& DEVICES: Makefile.mk: include colorednoise.cc in the build ASE: midilib.cc: use midi_event_input() and midi_event_output() ASE: clapplugin.cc: use midi_event_input() ASE: engine: allow atomic frame_counter and block_size access ASE: engine.cc: use midi_event_output() ASE: midievent: rename + rewrite MidiEventReader to read many queues * Base MidiEventReader on QueueMultiplexer<> to turn it into a multiplexing event queue reader * Rename MidiEventReader (former MidiEventRange) ASE: clapplugin.cc: use call_delete<>() ASE: cxxaux.hh: add call_delete<> to quickly create delete callbacks ASE: rename MidiEventOutput (former MidiEventStream) ASE: nativedevice.cc: use AudioProcessor.access_properties() ASE: midilib: construct AudioProcessor with ProcessorSetup& ASE: api.hh, server.cc: add Server.engine_stats() ASE: engine: add AudioEngine.engine_stats() ASE: clapplugin.cc: construct AudioProcessor with ProcessorSetup& ASE: clapplugin: remove unused flags fiels from params ASE: combo: construct AudioProcessor with ProcessorSetup& ASE: processor: implement parameter change events * Introduce AudioParams, t0events, install_params(), apply_event() * Implement AudioParams::dirty() * Implement AudioProcessor.access_properties() * Store aseid_ in each AudioProcessor * Add property weak pointers to AudioParams * Support install_params() with an ordinary map<> * Initialize parameter cache with intial value * Disable Property inflight handling code * Rename MidiEventOutput (former MidiEventStream) * Implement multiplexing MIDI event handling * Atomically modify and swap t0events to pass between threads * Leave new/delete of t0events to the main-thread * Add modify_t0events<>() helper to care about atomic swapping * Rename and rewrite get_event_input() and get_event_output() * Introduce RenderContext for rendering specific variables * midi_event_input(): setup multiplexing event queue reader * midi_event_output(): provide writable MIDI event vector * Implement send_param() * Only set dirty and changed for params with property object * Enqueue PARAMCHANGE notification if params changed * Simplify event processing * Provide apply_input_events() to assign PARAM_CHANGE events * Use uint32_t as parameter id type for processors * Provide adjust_all_params() to call adjust_param() for all params ASE: midievent: support MidiMessage::PARAM_VALUE ASE: midievent: add PARAM_VALUE and make_param_value() ASE: parameter: add ParameterMap and support groups * Make `ident` the first Param() field, adjust callers * Add ParameterMap helper type * Support Param.MinMaxStep as double min,max pair * Catch simple cases of duplicate IDs, ident, label * Assign group to new ParameterMap Params ASE: queuemux: support iterators and assign via std::array<const Queue*> ASE: queuemux: add QueueMultiplexer.assign() and support iterator template arg Signed-off-by: Tim Janik <[email protected]>
- Loading branch information
Showing
31 changed files
with
885 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.