mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-19 13:34:34 -04:00
Implement IN, OUTAUX and AUX opcodes, to conveniently input from or output to global ports.
This commit is contained in:
29
tests/test_outaux_stereo.asm
Normal file
29
tests/test_outaux_stereo.asm
Normal file
@ -0,0 +1,29 @@
|
||||
%define BPM 100
|
||||
%define SINGLE_FILE
|
||||
%define USE_SECTIONS
|
||||
|
||||
%include "../src/sointu.inc"
|
||||
|
||||
SU_BEGIN_PATTERNS
|
||||
PATTERN 64, HLD, HLD, HLD, HLD, HLD, HLD, HLD, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
SU_END_PATTERNS
|
||||
|
||||
SU_BEGIN_TRACKS
|
||||
TRACK VOICES(1),0
|
||||
SU_END_TRACKS
|
||||
|
||||
SU_BEGIN_PATCH
|
||||
SU_BEGIN_INSTRUMENT VOICES(1) ; Instrument0
|
||||
SU_LOADVAL MONO,VALUE(0)
|
||||
SU_LOADVAL MONO,VALUE(128)
|
||||
SU_OUTAUX STEREO,OUTGAIN(16),AUXGAIN(48)
|
||||
SU_IN MONO,CHANNEL(1)
|
||||
SU_IN MONO,CHANNEL(0)
|
||||
SU_IN MONO,CHANNEL(3)
|
||||
SU_IN MONO,CHANNEL(2)
|
||||
SU_ADDP STEREO
|
||||
SU_OUT STEREO,GAIN(128)
|
||||
SU_END_INSTRUMENT
|
||||
SU_END_PATCH
|
||||
|
||||
%include "../src/sointu.asm"
|
Reference in New Issue
Block a user