InstrumentEffectsDialog
index
/home/mike/src/jokosher/trunk/Jokosher/InstrumentEffectsDialog.py

#       THIS FILE IS PART OF THE JOKOSHER PROJECT AND LICENSED UNDER THE GPL. SEE
#       THE 'COPYING' FILE FOR DETAILS
#
#       InstrumentEffectsDialog.py
#       
#       This module us used to present the dialog for adding and managing instrument
#       effects. Note that this module deals with the main effects dialog *and* the
#       effect settings dialog.
#
#-------------------------------------------------------------------------------

 
Modules
       
EffectPresets
Globals
Project
gobject
gst
gtk
os
pygst

 
Classes
       
InstrumentEffectsDialog

 
class InstrumentEffectsDialog
     Methods defined here:
OnAddEffect(self, combo)
The effect element is created and added to the
self.instrument.effects list
OnCancel(self, button)
OnChainPresetChanged(self, combo)
A preset is selected from the chain preset combo. Load it.
OnEffectPresetChanged(self, combo)
A preset is selected from the single effect preset combo. Load it.
OnEffectSetting(self, button)
Show a dialog filled with settings sliders for a specific effect
OnEffectSettingCancel(self, button)
Close the window
OnEffectSettingOK(self, button)
Close the window
OnOK(self, button)
OnRemoveEffect(self, widget, effectnum)
OnSaveEffectChainPreset(self, widget)
Grab the chain send it to the presets code to be saved
OnSaveSingleEffectPreset(self, widget)
Grab the effect properties and send it to the presets code to be saved
OnSelectEffect(self, combo)
Callback for when an effect is selected from the effects list. This
method looks up the name from the combo box in LADSPA_NAME_MAP and
returns the factory name (e.g. ladspa-foo-effect). This is then set to
self.currentplugin.
OnSettingEntryChanged(self, widget)
OnTransport(self, button)
PopulateEffects(self)
Fill the effectsbox table with the effects, iterated from the
effects list
SetEffectSetting(self, slider, name, property)
Set the value of a gstreamer property from an effects slider
__init__(self, instrument)
This constructor enables a bunch of variables, reads in the glade
file for the main dialog, and populates the effects and presets
combo boxes