LMMS
Loading...
Searching...
No Matches
Watsyn.h File Reference
#include "AudioResampler.h"
#include "Instrument.h"
#include "InstrumentView.h"
#include "Graph.h"
#include "AutomatableModel.h"
#include "TempoSyncKnob.h"
#include <samplerate.h>

Go to the source code of this file.

Classes

class  lmms::WatsynObject
class  lmms::WatsynInstrument
class  lmms::gui::WatsynView

Namespaces

namespace  lmms
namespace  lmms::gui

Macros

#define makeknob(name, x, y, hint, unit, oname)
#define maketsknob(name, x, y, hint, unit, oname)
#define A1ROW   26
#define A2ROW   49
#define B1ROW   72
#define B2ROW   95

Variables

const int lmms::GRAPHLEN = 220
const int lmms::WAVERATIO = 32
const int lmms::WAVELEN = GRAPHLEN * WAVERATIO
const int lmms::PMOD_AMT = WAVELEN / 2
const int lmms::MOD_RM = 2
const int lmms::A1_OSC = 0
const int lmms::A2_OSC = 1
const int lmms::B1_OSC = 2
const int lmms::B2_OSC = 3
const int lmms::NUM_OSCS = 4

Macro Definition Documentation

◆ A1ROW

#define A1ROW   26

◆ A2ROW

#define A2ROW   49

◆ B1ROW

#define B1ROW   72

◆ B2ROW

#define B2ROW   95

◆ makeknob

#define makeknob ( name,
x,
y,
hint,
unit,
oname )
Value:
name = new Knob( KnobType::Styled, this ); \
name ->move( x, y ); \
name ->setHintText( hint, unit ); \
name ->setObjectName( oname ); \
name ->setFixedSize( 19, 19 );
int y
Definition inflate.c:1588
unsigned x[BMAX+1]
Definition inflate.c:1586
static PuglViewHint hint
Definition pugl.h:1707
static const char * name
Definition pugl.h:1582
png_const_structrp png_const_inforp int * unit
Definition png.h:2161

◆ maketsknob

#define maketsknob ( name,
x,
y,
hint,
unit,
oname )
Value:
name = new TempoSyncKnob( KnobType::Styled, this ); \
name ->move( x, y ); \
name ->setHintText( hint, unit ); \
name ->setObjectName( oname ); \
name ->setFixedSize( 19, 19 );