|
LMMS
|
#include <modules_filter.h>
Public Types | |
| typedef audio_module< BaseClass > | AM |
| typedef std::complex< double > | cfloat |
| Public Types inherited from calf_plugins::audio_module< BaseClass > | |
| typedef BaseClass | metadata_type |
Public Member Functions | |
| equalizerNband_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). | |
| bool | get_gridline (int index, int subindex, int phase, float &pos, bool &vertical, std::string &legend, cairo_iface *context) const |
| 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 |
| float | freq_gain (int index, double freq) const |
| std::string | get_crosshair_label (int x, int y, int sx, int sy, float q, int dB, int name, int note, int cents) const |
| void | set_sample_rate (uint32_t sr) |
| Set sample rate for the plugin. | |
| 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. | |
| Public Member Functions inherited from calf_plugins::audio_module< BaseClass > | |
| 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::audio_module_iface | |
| virtual | ~audio_module_iface () |
| 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 Attributes | |
| uint32_t | srate |
| bool | is_active |
| volatile int | last_generation |
| volatile int | last_calculated_generation |
| float * | ins [(BaseClass::in_count !=0) ? BaseClass::in_count :1] |
| float * | outs [(BaseClass::out_count !=0) ? BaseClass::out_count :1] |
| float * | params [BaseClass::param_count] |
| Public Attributes inherited from calf_plugins::audio_module< BaseClass > | |
| float * | ins [(BaseClass::in_count !=0) ? BaseClass::in_count :1] |
| float * | outs [(BaseClass::out_count !=0) ? BaseClass::out_count :1] |
| float * | params [BaseClass::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 |
Private Types | |
| enum | { graph_param_count = BaseClass::last_graph_param - BaseClass::first_graph_param + 1 , params_per_band = AM::param_p2_active - AM::param_p1_active } |
Private Member Functions | |
| void | process_hplp (float &left, float &right) |
Private Attributes | |
| analyzer | _analyzer |
| float | hp_mode_old |
| float | hp_freq_old |
| float | hp_q_old |
| float | lp_mode_old |
| float | lp_freq_old |
| float | lp_q_old |
| float | ls_level_old |
| float | ls_freq_old |
| float | ls_q_old |
| float | hs_level_old |
| float | hs_freq_old |
| float | hs_q_old |
| int | indiv_old |
| bool | analyzer_old |
| float | p_level_old [PeakBands] |
| float | p_freq_old [PeakBands] |
| float | p_q_old [PeakBands] |
| float | old_params_for_graph [graph_param_count] |
| vumeters | meters |
| CalfEqMode | hp_mode |
| CalfEqMode | lp_mode |
| dsp::biquad_d2 | hp [3][2] |
| dsp::biquad_d2 | lp [3][2] |
| dsp::biquad_d2 | lsL |
| dsp::biquad_d2 | lsR |
| dsp::biquad_d2 | hsL |
| dsp::biquad_d2 | hsR |
| dsp::biquad_d2 | pL [PeakBands] |
| dsp::biquad_d2 | pR [PeakBands] |
| dsp::bypass | bypass |
| int | keep_gliding |
| int | last_peak |
| typedef audio_module<BaseClass> calf_plugins::equalizerNband_audio_module< BaseClass, has_lphp >::AM |
| typedef std::complex<double> calf_plugins::equalizerNband_audio_module< BaseClass, has_lphp >::cfloat |
|
private |
| equalizerNband_audio_module::equalizerNband_audio_module | ( | ) |
|
virtual |
LADSPA-esque activate function, except it is called after ports are connected, not before.
Reimplemented from calf_plugins::audio_module< BaseClass >.
|
virtual |
LADSPA-esque deactivate function.
Reimplemented from calf_plugins::audio_module< BaseClass >.
|
virtual |
Reimplemented from calf_plugins::frequency_response_line_graph.
|
inlinevirtual |
Return a label for the crosshairs they are enabled
| x | Position of the mouse pointer in x direction |
| y | Position of the mouse pointer in y direction |
| sx | Horizontal size of the widget in pixels |
| sy | Vertical size of the widget in pixels |
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 |
Called when params are changed (before processing).
Reimplemented from calf_plugins::audio_module< BaseClass >.
|
virtual |
The audio processing loop; assumes numsamples <= MAX_SAMPLE_RUN, for larger buffers, call process_slice.
Implements calf_plugins::audio_module_iface.
|
inlineprivate |
|
inlinevirtual |
Set sample rate for the plugin.
Reimplemented from calf_plugins::audio_module< BaseClass >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| float* calf_plugins::audio_module< BaseClass >::ins[(BaseClass::in_count !=0) ? BaseClass::in_count :1] |
| bool calf_plugins::equalizerNband_audio_module< BaseClass, has_lphp >::is_active |
|
private |
| volatile int calf_plugins::equalizerNband_audio_module< BaseClass, has_lphp >::last_calculated_generation |
|
mutable |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
| float* calf_plugins::audio_module< BaseClass >::outs[(BaseClass::out_count !=0) ? BaseClass::out_count :1] |
|
private |
|
private |
|
private |
| float* calf_plugins::audio_module< BaseClass >::params[BaseClass::param_count] |
|
private |
|
private |
| uint32_t calf_plugins::equalizerNband_audio_module< BaseClass, has_lphp >::srate |