Skip to content

Instantly share code, notes, and snippets.

@sletz
Created November 1, 2025 08:41
Show Gist options
  • Select an option

  • Save sletz/4d9efeddae07478e246cae1aedc4bb1c to your computer and use it in GitHub Desktop.

Select an option

Save sletz/4d9efeddae07478e246cae1aedc4bb1c to your computer and use it in GitHub Desktop.
magellan-pro:Downloads letz$ interp-tracer -trace 4 -control TEST.dsp
Filename: TEST.dsp
Libfaust version : 2.82.0 (LLVM 21.1.4)
Compiled with additional options :
Using interpreter backend
getName TEST
------------------------
init 44100
------------------------
instanceInit 44100
------------------------
classInit 44100
------------------------
instanceConstants 44100
------------------------
instanceResetUserInterface
------------------------
instanceClear
------------------------------
Check control min/max for 8 controls
------------------------------
Control: /TEST/rhythm
Min: 0
------------------------
compute 16
-------- Interpreter 'REAL div by zero' trace start --------
opcode 38 kDivReal int 0 real 0 offset1 -1 offset2 -1
Stack [Int: 0] [REAL: 125.997360]
opcode 0 kRealValue int 0 real 10000 offset1 -1 offset2 -1
Stack [Int: 0] [REAL: 1.000000]
opcode 2 kLoadReal int 0 real 0 offset1 93 offset2 0 name fSlow7
Stack [Int: 0] [REAL: 0.000000]
opcode 6 kStoreReal int 0 real 0 offset1 93 offset2 0 name fSlow7
Stack [Int: 0] [REAL: 1.000000]
opcode 2 kLoadReal int 0 real 0 offset1 7 offset2 0 name fHslider4
Stack [Int: 0] [REAL: 1.000000]
opcode 6 kStoreReal int 0 real 0 offset1 92 offset2 0 name fSlow6
Stack [Int: 0] [REAL: 1.000000]
opcode 2 kLoadReal int 0 real 0 offset1 6 offset2 0 name fHslider3
Stack [Int: 0] [REAL: 0.007935]
opcode 6 kStoreReal int 0 real 0 offset1 91 offset2 0 name fSlow5
Stack [Int: 0] [REAL: 1.000000]
-------- Interpreter 'REAL div by zero' trace end ----------
-------- Interpreter 'Inf' trace start --------
opcode 38 kDivReal int 0 real 0 offset1 -1 offset2 -1
opcode 38 kDivReal int 0 real 0 offset1 -1 offset2 -1
Stack [Int: 0] [REAL: 125.997360]
opcode 0 kRealValue int 0 real 10000 offset1 -1 offset2 -1
Stack [Int: 0] [REAL: 1.000000]
opcode 2 kLoadReal int 0 real 0 offset1 93 offset2 0 name fSlow7
Stack [Int: 0] [REAL: 0.000000]
opcode 6 kStoreReal int 0 real 0 offset1 93 offset2 0 name fSlow7
Stack [Int: 0] [REAL: 1.000000]
opcode 2 kLoadReal int 0 real 0 offset1 7 offset2 0 name fHslider4
Stack [Int: 0] [REAL: 1.000000]
opcode 6 kStoreReal int 0 real 0 offset1 92 offset2 0 name fSlow6
Stack [Int: 0] [REAL: 1.000000]
opcode 2 kLoadReal int 0 real 0 offset1 6 offset2 0 name fHslider3
Stack [Int: 0] [REAL: 0.007935]
opcode 6 kStoreReal int 0 real 0 offset1 91 offset2 0 name fSlow5
-------- Interpreter 'Inf' trace end --------
Interpreter exit
--------- Control state ---------
Control : /TEST/diviation = 0.500000
Control : /TEST/loss = 0.030000
Control : /TEST/rhythm = 0.000000
Control : /TEST/tone = 700.000000
Control : /TEST/variation = 0.500000
Control : /TEST/volume-fast = 1.000000
Control : /TEST/volume-medium = 1.000000
Control : /TEST/volume-slow = 1.000000
-------------------------------
Interpreter statistics
FP_SUBNORMAL: 0
FP_INFINITE: 1
FP_NAN: 0
INTEGER_OVERFLOW: 0
DIV_BY_ZERO_REAL: 1
DIV_BY_ZERO_INT: 0
CAST_INT_OVERFLOW: 0
NEGATIVE_BITSHIFT: 0
-------------------------------
magellan-pro:Downloads letz$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment