mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 05:24:48 -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,7 +17,7 @@ BEGIN_PATCH
|
||||
SU_MULP MONO
|
||||
SU_PUSH MONO
|
||||
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,5) + SEND_POP
|
||||
SU_SEND MONO,AMOUNT(68),UNIT(1),PORT(5),FLAGS(SEND_POP)
|
||||
SU_OUT STEREO,GAIN(128)
|
||||
END_INSTRUMENT
|
||||
END_PATCH
|
||||
|
Reference in New Issue
Block a user