mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 04:54:27 -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:
@ -19,7 +19,7 @@ BEGIN_PATCH
|
||||
SU_PAN MONO,PANNING(64)
|
||||
SU_OUT STEREO,GAIN(128)
|
||||
SU_OSCILLAT MONO,TRANSPOSE(70),DETUNE(64),PHASE(64),COLOR(128),SHAPE(64),GAIN(128),FLAGS(SINE+LFO)
|
||||
SU_SEND MONO,AMOUNT(32),LOCALPORT(3,0) + SEND_POP
|
||||
SU_SEND MONO,AMOUNT(32),UNIT(3),PORT(0),FLAGS(SEND_POP)
|
||||
END_INSTRUMENT
|
||||
END_PATCH
|
||||
|
||||
|
Reference in New Issue
Block a user