|
LMMS
|
#include <Master.h>
Static Public Member Functions | |
| static void | saveAutomation (XMLwrapper &xml, const rtosc::AutomationMgr &midi) |
| static void | loadAutomation (XMLwrapper &xml, rtosc::AutomationMgr &midi) |
Public Attributes | |
| char | last_xmz [XMZ_PATH_MAX] |
| int | shutup |
| class Part * | part [NUM_MIDI_PARTS] |
| unsigned char | Pvolume |
| unsigned char | Pkeyshift |
| unsigned char | Psysefxvol [NUM_SYS_EFX][NUM_MIDI_PARTS] |
| unsigned char | Psysefxsend [NUM_SYS_EFX][NUM_SYS_EFX] |
| class EffectMgr * | sysefx [NUM_SYS_EFX] |
| class EffectMgr * | insefx [NUM_INS_EFX] |
| Recorder | HDDRecorder |
| short int | Pinsparts [NUM_INS_EFX] |
| float | vuoutpeakpart [NUM_MIDI_PARTS] |
| unsigned char | fakepeakpart [NUM_MIDI_PARTS] |
| AbsTime | time |
| Controller | ctl |
| bool | swaplr |
| Microtonal | microtonal |
| Bank | bank |
| class FFTwrapper * | fft |
| float | volume |
| vuData | vu |
| bool | activeNotes [128] |
| WatchManager | watcher |
| rtosc::AutomationMgr | automate |
| bool | frozenState |
| Allocator * | memory |
| rtosc::ThreadLink * | bToU |
| rtosc::ThreadLink * | uToB |
| bool | pendingMemory |
| const SYNTH_T & | synth |
| const int & | gzip_compression |
| value from config | |
| uint32_t | last_beat = 0 |
| uint32_t | last_ack = 0 |
Static Public Attributes | |
| static const rtosc::Ports & | ports = master_ports |
Private Member Functions | |
| char * | getXMLData () |
| int | loadOSCFromStr (const char *filename) |
Private Attributes | |
| float | sysefxvol [NUM_SYS_EFX][NUM_MIDI_PARTS] |
| float | sysefxsend [NUM_SYS_EFX][NUM_SYS_EFX] |
| int | keyshift |
| float * | bufl |
| float * | bufr |
| off_t | off |
| size_t | smps |
| void(* | mastercb )(void *, Master *) |
| void * | mastercb_ptr |
It sends Midi Messages to Parts, receives samples from parts, process them with system/insertion effects and mix them
| Master::~Master | ( | ) |
Destructor
| void Master::add2XML | ( | XMLwrapper & | xml | ) |
This adds the parameters to the XML data
Regenerate PADsynth and other non-RT parameters It is NOT SAFE to call this from a RT context
| bool Master::AudioOut | ( | float * | outl, |
| float * | outr ) |
Audio Output
| void Master::defaults | ( | ) |
| int Master::getalldata | ( | char ** | data | ) |
get all data to a newly allocated array (used for plugin)
| void Master::GetAudioOutSamples | ( | size_t | nsamples, |
| unsigned | samplerate, | ||
| float * | outl, | ||
| float * | outr ) |
Audio Output (for callback mode). This allows the program to be controled by an external program
| void Master::getfromXML | ( | XMLwrapper & | xml | ) |
|
private |
|
static |
loads all settings from an OSC file (as specified by RT OSC)
loads all settings from a XML file
| void Master::noteOff | ( | char | chan, |
| char | note ) |
| void Master::noteOn | ( | char | chan, |
| char | note, | ||
| char | velocity ) |
| void Master::polyphonicAftertouch | ( | char | chan, |
| char | note, | ||
| char | velocity ) |
put all data from the *data array to zynaddsubfx parameters (used for plugin)
| bool Master::runOSC | ( | float * | outl, |
| float * | outr, | ||
| bool | offline = false ) |
|
static |
Saves all settings to a XML file
| void Master::setPkeyshift | ( | char | Pkeyshift_ | ) |
| void Master::setPvolume | ( | char | Pvolume_ | ) |
| void Master::ShutUp | ( | ) |
| void Master::vuresetpeaks | ( | ) |
| bool zyncarla::Master::activeNotes[128] |
| rtosc::AutomationMgr zyncarla::Master::automate |
| Bank zyncarla::Master::bank |
| rtosc::ThreadLink* zyncarla::Master::bToU |
|
private |
|
private |
| Controller zyncarla::Master::ctl |
| unsigned char zyncarla::Master::fakepeakpart[NUM_MIDI_PARTS] |
| class FFTwrapper* zyncarla::Master::fft |
| bool zyncarla::Master::frozenState |
| Recorder zyncarla::Master::HDDRecorder |
| class EffectMgr* zyncarla::Master::insefx[NUM_INS_EFX] |
|
private |
| uint32_t zyncarla::Master::last_ack = 0 |
| uint32_t zyncarla::Master::last_beat = 0 |
| char zyncarla::Master::last_xmz[XMZ_PATH_MAX] |
|
private |
| Allocator* zyncarla::Master::memory |
| Microtonal zyncarla::Master::microtonal |
|
private |
| class Part* zyncarla::Master::part[NUM_MIDI_PARTS] |
parts
| bool zyncarla::Master::pendingMemory |
| short int zyncarla::Master::Pinsparts[NUM_INS_EFX] |
| unsigned char zyncarla::Master::Pkeyshift |
|
static |
| unsigned char zyncarla::Master::Psysefxsend[NUM_SYS_EFX][NUM_SYS_EFX] |
| unsigned char zyncarla::Master::Psysefxvol[NUM_SYS_EFX][NUM_MIDI_PARTS] |
| unsigned char zyncarla::Master::Pvolume |
| int zyncarla::Master::shutup |
|
private |
| bool zyncarla::Master::swaplr |
| class EffectMgr* zyncarla::Master::sysefx[NUM_SYS_EFX] |
|
private |
|
private |
| AbsTime zyncarla::Master::time |
| rtosc::ThreadLink* zyncarla::Master::uToB |
| float zyncarla::Master::volume |
| vuData zyncarla::Master::vu |
| float zyncarla::Master::vuoutpeakpart[NUM_MIDI_PARTS] |
| WatchManager zyncarla::Master::watcher |