mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
Change LOCALPORT and GLOBALPORT macros so that SU_SEND commands are easier to parse.
The new format is to give either 5 or 6 parameters to SU_SEND, corresponding to local and global send, respectively. For example, a global send: SU_SEND MONO,AMOUNT(128),VOICE(2),UNIT(0),PORT(1),FLAGS(SEND_POP) The SU_SEND macro does the address packing into word.
This commit is contained in:
@ -17,8 +17,8 @@ BEGIN_PATCH
|
||||
SU_ENVELOPE MONO, ATTAC(64),DECAY(64),SUSTAIN(64),RELEASE(80),GAIN(128)
|
||||
SU_DISTORT MONO, DRIVE(96)
|
||||
SU_OSCILLAT MONO,TRANSPOSE(70),DETUNE(64),PHASE(64),COLOR(128),SHAPE(64),GAIN(128),FLAGS(SINE+LFO)
|
||||
SU_SEND MONO,AMOUNT(68),LOCALPORT(1,0)
|
||||
SU_SEND MONO,AMOUNT(68),LOCALPORT(3,0) + SEND_POP
|
||||
SU_SEND MONO,AMOUNT(68),UNIT(1),PORT(0),FLAGS(NONE)
|
||||
SU_SEND MONO,AMOUNT(68),UNIT(3),PORT(0),FLAGS(SEND_POP)
|
||||
SU_OUT STEREO,GAIN(128)
|
||||
END_INSTRUMENT
|
||||
END_PATCH
|
||||
|
Reference in New Issue
Block a user