memlnaut-nisps/playground/faust/fm-matrix.wasm

90 lines
1.8 MiB
Text
Raw Normal View History

declare version "2.83.1";
declare compile_options "-single -scal -cn fm_matrix -lang wasm -e fm-matrix.dsp -o fm-matrix.wasm -json";
declare library_path0 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/stdfaust.lib";
declare library_path1 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/signals.lib";
declare library_path2 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/maths.lib";
declare library_path3 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/platform.lib";
declare library_path4 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/envelopes.lib";
declare library_path5 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/oscillators.lib";
declare library_path6 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/filters.lib";
declare library_path7 "/nix/store/fnjbalzgc6pjm8la292cczxqbr00qmav-faust-2.83.1/share/faust/basics.lib";
declare basics_lib_name "Faust Basic Element Library";
declare basics_lib_version "1.22.0";
declare envelopes_lib_adsr_author "Yann Orlarey and Andrey Bundin";
declare envelopes_lib_ar_author "Yann Orlarey, Stéphane Letz";
declare envelopes_lib_author "GRAME";
declare envelopes_lib_copyright "GRAME";
declare envelopes_lib_license "LGPL with exception";
declare envelopes_lib_name "Faust Envelope Library";
declare envelopes_lib_version "1.3.0";
declare filename "fm-matrix.dsp";
declare filters_lib_highpass_author "Julius O. Smith III";
declare filters_lib_highpass_copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare filters_lib_lowpass0_highpass1 "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare filters_lib_lowpass0_highpass1_author "Julius O. Smith III";
declare filters_lib_name "Faust Filters Library";
declare filters_lib_pole_author "Julius O. Smith III";
declare filters_lib_pole_copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare filters_lib_pole_license "MIT-style STK-4.3 license";
declare filters_lib_tf1_author "Julius O. Smith III";
declare filters_lib_tf1_copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare filters_lib_tf1_license "MIT-style STK-4.3 license";
declare filters_lib_tf1s_author "Julius O. Smith III";
declare filters_lib_tf1s_copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare filters_lib_tf1s_license "MIT-style STK-4.3 license";
declare filters_lib_version "1.7.1";
declare maths_lib_author "GRAME";
declare maths_lib_copyright "GRAME";
declare maths_lib_license "LGPL with exception";
declare maths_lib_name "Faust Math Library";
declare maths_lib_version "2.9.0";
declare name "fm-matrix";
declare oscillators_lib_lf_sawpos_author "Bart Brouns, revised by Stéphane Letz";
declare oscillators_lib_lf_sawpos_licence "STK-4.3";
declare oscillators_lib_name "Faust Oscillator Library";
declare oscillators_lib_saw2ptr_author "Julius O. Smith III";
declare oscillators_lib_saw2ptr_license "STK-4.3";
declare oscillators_lib_sawN_author "Julius O. Smith III";
declare oscillators_lib_sawN_license "STK-4.3";
declare oscillators_lib_version "1.6.0";
declare platform_lib_name "Generic Platform Library";
declare platform_lib_version "1.3.0";
declare signals_lib_name "Faust Signal Routing Library";
declare signals_lib_version "1.6.0";
ID_0 = _, _;
ID_1 = _, ID_0;
ID_2 = (_, ID_1);
ID_3 = \(x7).(\(x8).(\(x9).(\(x10).((((((((_,button("Master/gate[hidden:1]") : +)~(_,((button("Master/gate[hidden:1]") : mem),button("Master/gate[hidden:1]") : >=) : *),(1,(1,(hslider("Operators/Op 1/op1_attack", 0.01f, 0.001f, 5.0f, 0.001f),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : *) : max) : /) : *),(((1,((1,(hslider("Operators/Op 1/op1_attack", 0.01f, 0.001f, 5.0f, 0.001f),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : *) : max),((1,hslider("Operators/Op 1/op1_sustain", 0.7f, 0.0f, 1.0f, 0.001f) : -),(1,(hslider("Operators/Op 1/op1_decay", 0.3f, 0.001f, 1e+01f, 0.001f),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : *) : max) : /) : *) : +),((_,button("Master/gate[hidden:1]") : +)~(_,((button("Master/gate[hidden:1]") : mem),button("Master/gate[hidden:1]") : >=) : *),((1,hslider("Operators/Op 1/op1_sustain", 0.7f, 0.0f, 1.0f, 0.001f) : -),(1,(hslider("Operators/Op 1/op1_decay", 0.3f, 0.001f, 1e+01f, 0.001f),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : *) : max) : /) : *) : -),hslider("Operators/Op 1/op1_sustain", 0.7f, 0.0f, 1.0f, 0.001f) : max) : min : _,(1,((_,1 : + : _,(button("Master/gate[hidden:1]"),0 : ==) : *)~_,(1,(hslider("Operators/Op 1/op1_release", 0.5f, 0.01f, 1e+01f, 0.001f),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : *) : max) : /) : -) : * : 0,_ : max),(hslider("Operators/Op 1/op1_level", 0.8f, 0.0f, 1.0f, 0.001f) : \(x5).(\(x6).(((1.0f,(1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x5 : *),((1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -),x6 : *) : +)~_)) : *),(1.0f,(((((hslider("Global/lfo_depth", 0.0f, 0.0f, 1.0f, 0.001f) : \(x5).(\(x6).(((1.0f,(1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x5 : *),((1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -),x6 : *) : +)~_)),(hslider("Global/lfo_levels", 0.5f, 0.0f, 1.0f, 0.001f) : \(x5).(\(x6).(((1.0f,(1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x5 : *),((1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -),x6 : *) : +)~_)) : *),0.5f : *),(1.0f,((hslider("Global/lfo_waveform", 0.0f, 0.0f, 1.0f, 0.001f),0.333f : <),((hslider("Global/lfo_waveform", 0.0f, 0.0f, 1.0f, 0.001f),0.667f : <),(((1.0f,((hslider("Global/lfo_waveform", 0.0f, 0.0f, 1.0f, 0.001f),0.667f : -),3.0f : *) : -),((2,((_<:(_,1 : -<:_,_),_<:((_,0 : <),_,_ : select2),((_,0 : <),(_<:_,(_,(1,((1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min : float),(1.1920929e-07f,(hslider("Global/lfo_rate", 5.0f, 0.01f, 2e+01f, 0.001f) : abs) : max : float) : /) : -) : * : _,1 : +) : +),_ : select2))~(_,(1.0f,((1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min : float),(1.1920929e-07f,(hslider("Global/lfo_rate", 5.0f, 0.01f, 2e+01f, 0.001f) : abs) : max : float) : /) : /) : +) : !,_) : *),1 : -) : *),(((hslider("Global/lfo_waveform", 0.0f, 0.0f, 1.0f, 0.001f),0.667f : -),3.0f : *),((((2,(((1,(1 : mem) : -),0 : |),(_,((2e+01f,(hslider("Global/lfo_rate", 5.0f, 0.01f, 2e+01f, 0.001f),23.44895f : max : abs) : max),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : +),0 : select2 : \(x28).(x28,(x28 : floor) : -))~_ : *),1 : - : \(x13).(x13,x13 : *) : \(x29).((x29,(x29 : mem) : -),(2.0f,((1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min : float),(2e+01f,(hslider("Global/lfo_rate", 5.0f, 0.01f, 2e+01f, 0.001f),23.44895f : max : abs) : max) : /) : /) : /),2 : / : _,(1,1 : @) : *),((((2,(((1,(1 : mem) : -),0 : |),(_,((2e+01f,(hslider("Global/lfo_rate", 5.0f, 0.01f, 2e+01f, 0.001f),23.44895f : max : abs) : max),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : +),0 : select2 : \(x28).(x28,(x28 : floor) : -))~_ : *),1 : - : \(x13).(x13,x13 : *) : \(x29).((x29,(x29 : mem) : -),(2.0f,((1.92e+05f,(1.0f,fconstant(int fSamplingFreq
ID_4 = ID_3 : ID_2;
ID_5 = ID_4 :> _;
ID_6 = hslider("Master/level", 0.7f, 0.0f, 1.0f, 0.001f);
ID_7 = (ID_6 : \(x5).(\(x6).(((1.0f,(1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x5 : *),((1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -),x6 : *) : +)~_));
ID_8 = ID_7, 0.25f;
ID_9 = (ID_8 : *);
ID_10 = _, ID_9;
ID_11 = ID_10 : *;
ID_12 = \(x417).(x417,(0.001f,(1.0f,((hslider("Master/output_saturation", 0.0f, 0.0f, 1.0f, 0.001f) : \(x5).(\(x6).(((1.0f,(1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x5 : *),((1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -),x6 : *) : +)~_)),(x417 : abs) : *) : +) : max) : /) : \(x418).(x418 : _<:(_,((0,(1,(1,(((6.2831855f,hslider("Master/output_hp[unit:Hz]", 2e+01f, 2e+01f, 2e+02f, 0.1f) : *),0.5f : *),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : / : tan) : /) : *) : +),(1,(1,(((6.2831855f,hslider("Master/output_hp[unit:Hz]", 2e+01f, 2e+01f, 2e+02f, 0.1f) : *),0.5f : *),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : / : tan) : /) : +) : /) : *),(mem : _,((0,(1,(1,(((6.2831855f,hslider("Master/output_hp[unit:Hz]", 2e+01f, 2e+01f, 2e+02f, 0.1f) : *),0.5f : *),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : / : tan) : /) : *) : -),(1,(1,(((6.2831855f,hslider("Master/output_hp[unit:Hz]", 2e+01f, 2e+01f, 2e+02f, 0.1f) : *),0.5f : *),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : / : tan) : /) : +) : /) : *):>+~(_,(0,((1,(1,(((6.2831855f,hslider("Master/output_hp[unit:Hz]", 2e+01f, 2e+01f, 2e+02f, 0.1f) : *),0.5f : *),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : / : tan) : /) : -),(1,(1,(((6.2831855f,hslider("Master/output_hp[unit:Hz]", 2e+01f, 2e+01f, 2e+02f, 0.1f) : *),0.5f : *),(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : / : tan) : /) : +) : /) : -) : *));
ID_13 = ID_11 : ID_12;
ID_14 = ID_5 : ID_13;
ID_15 = hslider("Master/stereo_spread", 0.1f, 0.0f, 1.0f, 0.001f);
ID_16 = (ID_15 : \(x3).(\(x4).(((1.0f,(1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x3 : *),((1,(44.1f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -),x4 : *) : +)~_));
ID_17 = ID_16, 5.0f;
ID_18 = (ID_17 : *);
ID_19 = ID_18, 1.2e+03f;
ID_20 = (ID_19 : /);
ID_21 = 2.0f, ID_20;
ID_22 = (ID_21 : pow);
ID_23 = _, ID_22;
ID_24 = (ID_23 : *);
ID_25 = 0.0f, ID_18;
ID_26 = (ID_25 : -);
ID_27 = ID_26, 1.2e+03f;
ID_28 = (ID_27 : /);
ID_29 = 2.0f, ID_28;
ID_30 = (ID_29 : pow);
ID_31 = _, ID_30;
ID_32 = (ID_31 : *);
ID_33 = ID_24, ID_32;
ID_34 = ID_14 <: ID_33;
process = ID_34;