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

#       THIS FILE IS PART OF THE JOKOSHER PROJECT AND LICENSED UNDER THE GPL. SEE
#       THE 'COPYING' FILE FOR DETAILS
#
#       EffectPresets.py
#       
#       This module implements support for effects presets. These presets are used
#       to store settings for single effects and multiple effects strung together
#       (called a 'chain').
#
#       The way this works is that we have a LADSPA_FACTORY_REGISTRY filled with
#       the system's LADSPA effects, LADSPA_NAME_MAP which amps LADSPA element
#       factory names (Such as ladspa-delay-5s) to the effect name (such as
#       Simple Delay) and self.effectpresetsregistry which contains a generated
#       dictionary of effects. This dictionary is search with list comprehensions
#       to get the relavent presets out.
#
#-------------------------------------------------------------------------------

 
Modules
       
Globals
glob
gobject
gst
gtk
math
os
pygst
string
xml.dom.minidom

 
Classes
       
EffectPresets

 
class EffectPresets
     Methods defined here:
FillEffectsPresetsRegistry(self)
Read in all presets into the main presets registry
FillLADSPARegistry(self)
Fill Globals.LADSPA_FACTORY_REGISTRY with effects on the system. This
is to ensure only presets with effects on the current system are listed.
LoadInstrumentEffectChain(self, presetname)
Load settings from the preset file for an effects chain
LoadInstrumentEffectList(self)
LoadSingleEffectList(self)
LoadSingleEffectSettings(self, effectelement, presetname)
Load effect settings from a preset file for a single effect
SaveEffectChain(self, label, effectlist, instrumenttype)
Write an effect chain to a preset file
SaveSingleEffect(self, label, effectdict, effectelement, effecttype)
Write a single effect preset to a preset file
__init__(self)