|
LMMS
|
#include <modules_tools.h>
Public Member Functions | |
| multispread_audio_module () | |
| ~multispread_audio_module () | |
| void | activate () |
| LADSPA-esque activate function, except it is called after ports are connected, not before. | |
| void | deactivate () |
| LADSPA-esque deactivate function. | |
| void | params_changed () |
| Called when params are changed (before processing). | |
| uint32_t | process (uint32_t offset, uint32_t numsamples, uint32_t inputs_mask, uint32_t outputs_mask) |
| The audio processing loop; assumes numsamples <= MAX_SAMPLE_RUN, for larger buffers, call process_slice. | |
| void | set_sample_rate (uint32_t sr) |
| Set sample rate for the plugin. | |
| bool | get_graph (int index, int subindex, int phase, float *data, int points, cairo_iface *context, int *mode) const |
| bool | get_layers (int index, int generation, unsigned int &layers) const |
| bool | get_gridline (int index, int subindex, int phase, float &pos, bool &vertical, std::string &legend, cairo_iface *context) const |
| bool | get_phase_graph (int index, float **_buffer, int *_length, int *_mode, bool *_use_fade, float *_fade, int *_accuracy, bool *_display) const |
| float | freq_gain (int index, double freq) const |
| Public Member Functions inherited from calf_plugins::audio_module< multispread_metadata > | |
| audio_module () | |
| void | note_on (int channel, int note, int velocity) |
| Handle MIDI Note On. | |
| void | note_off (int channel, int note, int velocity) |
| Handle MIDI Note Off. | |
| void | program_change (int channel, int program) |
| Handle MIDI Program Change. | |
| void | control_change (int channel, int controller, int value) |
| Handle MIDI Control Change. | |
| void | pitch_bend (int channel, int value) |
| void | channel_pressure (int channel, int value) |
| void | execute (int cmd_no) |
| Execute menu command with given number. | |
| virtual char * | configure (const char *key, const char *value) |
| DSSI configure call. | |
| void | send_configures (send_configure_iface *sci) |
| Send all understood configure vars (none by default). | |
| int | send_status_updates (send_updates_iface *sui, int last_serial) |
| Send all supported status vars (none by default). | |
| void | params_reset () |
| Reset parameter values for epp:trigger type parameters (ones activated by oneshot push button instead of check box). | |
| void | post_instantiate (uint32_t) |
| Called after instantiating (after all the feature pointers are set - including interfaces like progress_report_iface). | |
| uint32_t | message_run (const void *valid_ports, void *output_ports) |
| virtual void | get_port_arrays (float **&ins_ptrs, float **&outs_ptrs, float **¶ms_ptrs) |
| Return the array of input port pointers. | |
| virtual const plugin_metadata_iface * | get_metadata_iface () const |
| Return metadata object. | |
| virtual void | set_progress_report_iface (progress_report_iface *iface) |
| Set the progress report interface to communicate progress to. | |
| void | zero_by_mask (uint32_t mask, uint32_t offset, uint32_t nsamples) |
| utility function: zero port values if mask is 0 | |
| uint32_t | process_slice (uint32_t offset, uint32_t end) |
| utility function: call process, and if it returned zeros in output masks, zero out the relevant output port buffers | |
| virtual const line_graph_iface * | get_line_graph_iface () const |
| virtual const phase_graph_iface * | get_phase_graph_iface () const |
| Public Member Functions inherited from calf_plugins::plugin_metadata< multispread_metadata > | |
| const char * | get_name () const |
| const char * | get_id () const |
| const char * | get_label () const |
| int | get_input_count () const |
| int | get_output_count () const |
| int | get_inputs_optional () const |
| int | get_outputs_optional () const |
| int | get_param_count () const |
| bool | get_midi () const |
| bool | requires_midi () const |
| bool | requires_instance_access () const |
| bool | is_rt_capable () const |
| int | get_param_port_offset () const |
| char * | get_gui_xml (const char *prefix) const |
| Return custom XML. | |
| plugin_command_info * | get_commands () const |
| const parameter_properties * | get_param_props (int param_no) const |
| const char ** | get_port_names () const |
| bool | is_cv (int param_no) const |
| is a given parameter a control voltage? | |
| bool | is_noisy (int param_no) const |
| is the given parameter non-interpolated? | |
| const ladspa_plugin_info & | get_plugin_info () const |
| bool | get_simulate_stereo_input () const |
| bool | sends_live_updates () const |
| Public Member Functions inherited from calf_plugins::plugin_metadata_iface | |
| virtual void | get_configure_vars (std::vector< std::string > &names) const |
| obtain array of names of configure variables (or NULL is none needed) | |
| virtual const table_metadata_iface * | get_table_metadata_iface (const char *key) const |
| virtual | ~plugin_metadata_iface () |
| Do-nothing destructor to silence compiler warning. | |
| Public Member Functions inherited from calf_plugins::audio_module_iface | |
| virtual | ~audio_module_iface () |
| Public Member Functions inherited from calf_plugins::frequency_response_line_graph | |
| virtual std::string | get_crosshair_label (int x, int y, int sx, int sy, float q, int dB, int name, int note, int cents) const |
| Public Member Functions inherited from calf_plugins::line_graph_iface | |
| virtual bool | get_moving (int index, int subindex, int &direction, float *data, int x, int y, int &offset, uint32_t &color) const |
| virtual bool | get_dot (int index, int subindex, int phase, float &x, float &y, int &size, cairo_iface *context) const |
| virtual | ~line_graph_iface () |
| Standard destructor to make compiler happy. | |
| Public Member Functions inherited from calf_plugins::phase_graph_iface | |
| virtual | ~phase_graph_iface () |
Public Attributes | |
| uint32_t | srate |
| bool | is_active |
| bool | redraw_graph |
| float | amount0 |
| float | amount1 |
| float | amount2 |
| float | amount3 |
| float | filters |
| float | intensity |
| float | fcoeff |
| Public Attributes inherited from calf_plugins::audio_module< multispread_metadata > | |
| float * | ins [(multispread_metadata::in_count !=0) ? multispread_metadata::in_count :1] |
| float * | outs [(multispread_metadata::out_count !=0) ? multispread_metadata::out_count :1] |
| float * | params [multispread_metadata::param_count] |
| bool | questionable_data_reported_in |
| bool | questionable_data_reported_out |
| progress_report_iface * | progress_report |
| Public Attributes inherited from calf_plugins::frequency_response_line_graph | |
| bool | redraw_graph |
Protected Attributes | |
| int | phase_buffer_size |
| float * | phase_buffer |
| int | ppos |
| int | plength |
| float | envelope |
| float | attack_coef |
| float | release_coef |
Static Protected Attributes | |
| static const int | max_phase_buffer_size = 8192 |
Private Attributes | |
| dsp::bypass | bypass |
| vumeters | meters |
| dsp::biquad_d1 | L [4 *16] |
| dsp::biquad_d1 | R [4 *16] |
| multispread_audio_module::multispread_audio_module | ( | ) |
| multispread_audio_module::~multispread_audio_module | ( | ) |
|
virtual |
LADSPA-esque activate function, except it is called after ports are connected, not before.
Reimplemented from calf_plugins::audio_module< multispread_metadata >.
|
virtual |
LADSPA-esque deactivate function.
Reimplemented from calf_plugins::audio_module< multispread_metadata >.
|
virtual |
Reimplemented from calf_plugins::frequency_response_line_graph.
|
virtual |
Obtain subindex'th graph of parameter 'index'
| index | parameter/graph number (usually tied to particular plugin control port) |
| subindex | graph number (there may be multiple overlaid graphs for one parameter, eg. for monosynth 2x12dB filters) |
| phase | 0 if in cache phase or 1 if in realtime phase |
| data | buffer for normalized output values |
| points | number of points to fill |
| context | cairo context to adjust (for multicolour graphs etc.) |
| true | graph data was returned; subindex+1 graph may or may not be available |
| false | graph data was not returned; subindex+1 graph does not exist either |
Reimplemented from calf_plugins::frequency_response_line_graph.
|
virtual |
Obtain subindex'th dot of parameter 'index'
| index | parameter/dot number (usually tied to particular plugin control port) |
| subindex | dot number (there may be multiple dots graphs for one parameter) |
| phase | 0 if in cache phase or 1 if in realtime phase |
Reimplemented from calf_plugins::frequency_response_line_graph.
|
virtual |
Return which layers need to be redrawn in the next GTK drawing cycle
| index | Parameter/graph identifier (usually tied to particular plugin control port) |
| generation | The overall amount of drawing cycles since the last full refresh of all surfaces |
| layers | Bitmask defining the layers to be redrawn (see layers_flags above) |
| true | there's at least one layer to be redrawn; false nothing to draw in this cycle |
Reimplemented from calf_plugins::frequency_response_line_graph.
|
virtual |
Reimplemented from calf_plugins::phase_graph_iface.
|
virtual |
Called when params are changed (before processing).
Reimplemented from calf_plugins::audio_module< multispread_metadata >.
|
virtual |
The audio processing loop; assumes numsamples <= MAX_SAMPLE_RUN, for larger buffers, call process_slice.
Implements calf_plugins::audio_module_iface.
Set sample rate for the plugin.
Reimplemented from calf_plugins::audio_module< multispread_metadata >.
| float calf_plugins::multispread_audio_module::amount0 |
| float calf_plugins::multispread_audio_module::amount1 |
| float calf_plugins::multispread_audio_module::amount2 |
| float calf_plugins::multispread_audio_module::amount3 |
|
protected |
|
private |
|
protected |
| float calf_plugins::multispread_audio_module::fcoeff |
| float calf_plugins::multispread_audio_module::filters |
| float calf_plugins::multispread_audio_module::intensity |
| bool calf_plugins::multispread_audio_module::is_active |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
mutable |
|
protected |
| uint32_t calf_plugins::multispread_audio_module::srate |