mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-22 15:04:36 -04:00
Clean up whitespace.
This commit is contained in:
@ -2,7 +2,7 @@ SECT_TEXT(suarithm)
|
|||||||
|
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
; op_pop function: a -> (empty)
|
; op_pop function: a -> (empty)
|
||||||
; stereo: a b -> (empty)
|
; stereo: a b -> (empty)
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
%if POP_ID > -1
|
%if POP_ID > -1
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ su_op_pop_mono:
|
|||||||
|
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
; op_add function: a b -> a+b b
|
; op_add function: a b -> a+b b
|
||||||
; stereo: a b c d -> a+c b+d c d
|
; stereo: a b c d -> a+c b+d c d
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
%if ADD_ID > -1
|
%if ADD_ID > -1
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
SECT_TEXT(sudistrt)
|
SECT_TEXT(sudistrt)
|
||||||
|
|
||||||
EXPORT MANGLE_FUNC(su_op_distort,0)
|
EXPORT MANGLE_FUNC(su_op_distort,0)
|
||||||
%ifdef INCLUDE_STEREO_DISTORT
|
%ifdef INCLUDE_STEREO_DISTORT
|
||||||
call su_effects_stereohelper
|
call su_effects_stereohelper
|
||||||
%define INCLUDE_EFFECTS_STEREOHELPER
|
%define INCLUDE_EFFECTS_STEREOHELPER
|
||||||
%endif
|
%endif
|
||||||
@ -49,7 +49,7 @@ su_waveshaper:
|
|||||||
SECT_TEXT(suhold)
|
SECT_TEXT(suhold)
|
||||||
|
|
||||||
EXPORT MANGLE_FUNC(su_op_hold,0)
|
EXPORT MANGLE_FUNC(su_op_hold,0)
|
||||||
%ifdef INCLUDE_STEREO_HOLD
|
%ifdef INCLUDE_STEREO_HOLD
|
||||||
call su_effects_stereohelper
|
call su_effects_stereohelper
|
||||||
%define INCLUDE_EFFECTS_STEREOHELPER
|
%define INCLUDE_EFFECTS_STEREOHELPER
|
||||||
%endif
|
%endif
|
||||||
@ -82,7 +82,7 @@ su_op_hold_holding:
|
|||||||
SECT_TEXT(sucrush)
|
SECT_TEXT(sucrush)
|
||||||
|
|
||||||
EXPORT MANGLE_FUNC(su_op_crush,0)
|
EXPORT MANGLE_FUNC(su_op_crush,0)
|
||||||
%ifdef INCLUDE_STEREO_CRUSH
|
%ifdef INCLUDE_STEREO_CRUSH
|
||||||
call su_effects_stereohelper
|
call su_effects_stereohelper
|
||||||
%define INCLUDE_EFFECTS_STEREOHELPER
|
%define INCLUDE_EFFECTS_STEREOHELPER
|
||||||
%endif
|
%endif
|
||||||
@ -124,7 +124,7 @@ SECT_TEXT(suingain)
|
|||||||
EXPORT MANGLE_FUNC(su_op_invgain,0)
|
EXPORT MANGLE_FUNC(su_op_invgain,0)
|
||||||
fld dword [INP+su_invgain_ports.invgain] ; g l (r)
|
fld dword [INP+su_invgain_ports.invgain] ; g l (r)
|
||||||
jnc su_op_invgain_mono
|
jnc su_op_invgain_mono
|
||||||
fdiv st2, st0 ; g l r/g
|
fdiv st2, st0 ; g l r/g
|
||||||
su_op_invgain_mono:
|
su_op_invgain_mono:
|
||||||
fdivp st1, st0 ; l/g (r/)
|
fdivp st1, st0 ; l/g (r/)
|
||||||
ret
|
ret
|
||||||
|
@ -355,7 +355,7 @@ SECT_DATA(suconst)
|
|||||||
; LOADVAL opcode
|
; LOADVAL opcode
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
; Input: edx : pointer to unit ports
|
; Input: edx : pointer to unit ports
|
||||||
;
|
;
|
||||||
; Mono version: push 2*v-1 on stack, where v is the input to port "value"
|
; Mono version: push 2*v-1 on stack, where v is the input to port "value"
|
||||||
; Stereo version: push 2*v-1 twice on stack
|
; Stereo version: push 2*v-1 twice on stack
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
|
@ -72,7 +72,7 @@ endstruc
|
|||||||
%define GATE 0x04
|
%define GATE 0x04
|
||||||
%define UNISON2 0x01
|
%define UNISON2 0x01
|
||||||
%define UNISON3 0x02 ; Warning, UNISON3 and UNISON4 do not work with gate at the moment, as they use the same state variable
|
%define UNISON3 0x02 ; Warning, UNISON3 and UNISON4 do not work with gate at the moment, as they use the same state variable
|
||||||
%define UNISON4 0x03
|
%define UNISON4 0x03
|
||||||
|
|
||||||
%macro SU_OSCILLAT 8
|
%macro SU_OSCILLAT 8
|
||||||
db %2
|
db %2
|
||||||
@ -104,7 +104,7 @@ endstruc
|
|||||||
%endif
|
%endif
|
||||||
%if (%8) & UNISON4 > 0
|
%if (%8) & UNISON4 > 0
|
||||||
%define INCLUDE_UNISONS
|
%define INCLUDE_UNISONS
|
||||||
%endif
|
%endif
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
struc su_osc_ports
|
struc su_osc_ports
|
||||||
@ -237,7 +237,7 @@ endstruc
|
|||||||
%endif
|
%endif
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%macro SU_RECEIVE 1
|
%macro SU_RECEIVE 1
|
||||||
USE_RECEIVE
|
USE_RECEIVE
|
||||||
%xdefine CMDS CMDS RECEIVE_ID+%1,
|
%xdefine CMDS CMDS RECEIVE_ID+%1,
|
||||||
%if %1 == STEREO
|
%if %1 == STEREO
|
||||||
|
@ -231,7 +231,7 @@
|
|||||||
%else
|
%else
|
||||||
%if %0 != PATTERN_SIZE
|
%if %0 != PATTERN_SIZE
|
||||||
%error 'All patterns should have the same length!'
|
%error 'All patterns should have the same length!'
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
@ -297,7 +297,7 @@ struc su_voice
|
|||||||
.note resd 1
|
.note resd 1
|
||||||
.release resd 1
|
.release resd 1
|
||||||
.reserved resb (su_unit.size - 8) ; this is done to so the whole voice is 2^n long, see polyphonic player
|
.reserved resb (su_unit.size - 8) ; this is done to so the whole voice is 2^n long, see polyphonic player
|
||||||
.workspace resb MAX_UNITS * su_unit.size
|
.workspace resb MAX_UNITS * su_unit.size
|
||||||
.size
|
.size
|
||||||
endstruc
|
endstruc
|
||||||
; //----------------------------------------------------------------------------------------
|
; //----------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user