-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DSP in impultest_tests should not depend of installed libraries, expa…
…nd par_fir_32.dsp.
- Loading branch information
Showing
1 changed file
with
206 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* | ||
import("stdfaust.lib"); | ||
N = 32; // FIR filter length set very large for test | ||
|
@@ -6,3 +7,208 @@ coeffs(j) = par(i,N,1.0/float(i*j+1)); | |
filter(j) = fi.fir(coeffs(j)); | ||
filterbank = par(j,M,filter(j+1)); | ||
process = filterbank; | ||
*/ | ||
|
||
declare version "2.76.0"; | ||
declare compile_options "-single -scal -e par_fir_32.dsp -o par_fir_32_exp.dsp"; | ||
declare library_path0 "/usr/local/share/faust/stdfaust.lib"; | ||
declare library_path1 "/usr/local/share/faust/filters.lib"; | ||
declare filename "par_fir_32.dsp"; | ||
declare filters_lib_fir_author "Julius O. Smith III"; | ||
declare filters_lib_fir_copyright "Copyright (C) 2003-2019 by Julius O. Smith III <[email protected]>"; | ||
declare filters_lib_fir_license "MIT-style STK-4.3 license"; | ||
declare filters_lib_lowpass0_highpass1 "Copyright (C) 2003-2019 by Julius O. Smith III <[email protected]>"; | ||
declare filters_lib_name "Faust Filters Library"; | ||
declare filters_lib_version "1.5.0"; | ||
declare name "par_fir_32"; | ||
ID_0 = _, 1.0f; | ||
ID_1 = (ID_0 : *); | ||
ID_2 = _, 1; | ||
ID_3 = ID_2 : @; | ||
ID_4 = _, 0.5f; | ||
ID_5 = ID_4 : *; | ||
ID_6 = (ID_3 : ID_5); | ||
ID_7 = _, 2; | ||
ID_8 = ID_7 : @; | ||
ID_9 = _, 0.33333334f; | ||
ID_10 = ID_9 : *; | ||
ID_11 = (ID_8 : ID_10); | ||
ID_12 = _, 3; | ||
ID_13 = ID_12 : @; | ||
ID_14 = _, 0.25f; | ||
ID_15 = ID_14 : *; | ||
ID_16 = (ID_13 : ID_15); | ||
ID_17 = _, 4; | ||
ID_18 = ID_17 : @; | ||
ID_19 = _, 0.2f; | ||
ID_20 = ID_19 : *; | ||
ID_21 = (ID_18 : ID_20); | ||
ID_22 = _, 5; | ||
ID_23 = ID_22 : @; | ||
ID_24 = _, 0.16666667f; | ||
ID_25 = ID_24 : *; | ||
ID_26 = (ID_23 : ID_25); | ||
ID_27 = _, 6; | ||
ID_28 = ID_27 : @; | ||
ID_29 = _, 0.14285715f; | ||
ID_30 = ID_29 : *; | ||
ID_31 = (ID_28 : ID_30); | ||
ID_32 = _, 7; | ||
ID_33 = ID_32 : @; | ||
ID_34 = _, 0.125f; | ||
ID_35 = ID_34 : *; | ||
ID_36 = (ID_33 : ID_35); | ||
ID_37 = _, 8; | ||
ID_38 = ID_37 : @; | ||
ID_39 = _, 0.11111111f; | ||
ID_40 = ID_39 : *; | ||
ID_41 = (ID_38 : ID_40); | ||
ID_42 = _, 9; | ||
ID_43 = ID_42 : @; | ||
ID_44 = _, 0.1f; | ||
ID_45 = ID_44 : *; | ||
ID_46 = (ID_43 : ID_45); | ||
ID_47 = _, 10; | ||
ID_48 = ID_47 : @; | ||
ID_49 = _, 0.09090909f; | ||
ID_50 = ID_49 : *; | ||
ID_51 = (ID_48 : ID_50); | ||
ID_52 = _, 11; | ||
ID_53 = ID_52 : @; | ||
ID_54 = _, 0.083333336f; | ||
ID_55 = ID_54 : *; | ||
ID_56 = (ID_53 : ID_55); | ||
ID_57 = _, 12; | ||
ID_58 = ID_57 : @; | ||
ID_59 = _, 0.07692308f; | ||
ID_60 = ID_59 : *; | ||
ID_61 = (ID_58 : ID_60); | ||
ID_62 = _, 13; | ||
ID_63 = ID_62 : @; | ||
ID_64 = _, 0.071428575f; | ||
ID_65 = ID_64 : *; | ||
ID_66 = (ID_63 : ID_65); | ||
ID_67 = _, 14; | ||
ID_68 = ID_67 : @; | ||
ID_69 = _, 0.06666667f; | ||
ID_70 = ID_69 : *; | ||
ID_71 = (ID_68 : ID_70); | ||
ID_72 = _, 15; | ||
ID_73 = ID_72 : @; | ||
ID_74 = _, 0.0625f; | ||
ID_75 = ID_74 : *; | ||
ID_76 = (ID_73 : ID_75); | ||
ID_77 = _, 16; | ||
ID_78 = ID_77 : @; | ||
ID_79 = _, 0.05882353f; | ||
ID_80 = ID_79 : *; | ||
ID_81 = (ID_78 : ID_80); | ||
ID_82 = _, 17; | ||
ID_83 = ID_82 : @; | ||
ID_84 = _, 0.055555556f; | ||
ID_85 = ID_84 : *; | ||
ID_86 = (ID_83 : ID_85); | ||
ID_87 = _, 18; | ||
ID_88 = ID_87 : @; | ||
ID_89 = _, 0.05263158f; | ||
ID_90 = ID_89 : *; | ||
ID_91 = (ID_88 : ID_90); | ||
ID_92 = _, 19; | ||
ID_93 = ID_92 : @; | ||
ID_94 = _, 0.05f; | ||
ID_95 = ID_94 : *; | ||
ID_96 = (ID_93 : ID_95); | ||
ID_97 = _, 20; | ||
ID_98 = ID_97 : @; | ||
ID_99 = _, 0.04761905f; | ||
ID_100 = ID_99 : *; | ||
ID_101 = (ID_98 : ID_100); | ||
ID_102 = _, 21; | ||
ID_103 = ID_102 : @; | ||
ID_104 = _, 0.045454547f; | ||
ID_105 = ID_104 : *; | ||
ID_106 = (ID_103 : ID_105); | ||
ID_107 = _, 22; | ||
ID_108 = ID_107 : @; | ||
ID_109 = _, 0.04347826f; | ||
ID_110 = ID_109 : *; | ||
ID_111 = (ID_108 : ID_110); | ||
ID_112 = _, 23; | ||
ID_113 = ID_112 : @; | ||
ID_114 = _, 0.041666668f; | ||
ID_115 = ID_114 : *; | ||
ID_116 = (ID_113 : ID_115); | ||
ID_117 = _, 24; | ||
ID_118 = ID_117 : @; | ||
ID_119 = _, 0.04f; | ||
ID_120 = ID_119 : *; | ||
ID_121 = (ID_118 : ID_120); | ||
ID_122 = _, 25; | ||
ID_123 = ID_122 : @; | ||
ID_124 = _, 0.03846154f; | ||
ID_125 = ID_124 : *; | ||
ID_126 = (ID_123 : ID_125); | ||
ID_127 = _, 26; | ||
ID_128 = ID_127 : @; | ||
ID_129 = _, 0.037037037f; | ||
ID_130 = ID_129 : *; | ||
ID_131 = (ID_128 : ID_130); | ||
ID_132 = _, 27; | ||
ID_133 = ID_132 : @; | ||
ID_134 = _, 0.035714287f; | ||
ID_135 = ID_134 : *; | ||
ID_136 = (ID_133 : ID_135); | ||
ID_137 = _, 28; | ||
ID_138 = ID_137 : @; | ||
ID_139 = _, 0.03448276f; | ||
ID_140 = ID_139 : *; | ||
ID_141 = (ID_138 : ID_140); | ||
ID_142 = _, 29; | ||
ID_143 = ID_142 : @; | ||
ID_144 = _, 0.033333335f; | ||
ID_145 = ID_144 : *; | ||
ID_146 = (ID_143 : ID_145); | ||
ID_147 = _, 30; | ||
ID_148 = ID_147 : @; | ||
ID_149 = _, 0.032258064f; | ||
ID_150 = ID_149 : *; | ||
ID_151 = (ID_148 : ID_150); | ||
ID_152 = _, 31; | ||
ID_153 = ID_152 : @; | ||
ID_154 = _, 0.03125f; | ||
ID_155 = ID_154 : *; | ||
ID_156 = (ID_153 : ID_155); | ||
ID_157 = ID_151, ID_156; | ||
ID_158 = ID_146, ID_157; | ||
ID_159 = ID_141, ID_158; | ||
ID_160 = ID_136, ID_159; | ||
ID_161 = ID_131, ID_160; | ||
ID_162 = ID_126, ID_161; | ||
ID_163 = ID_121, ID_162; | ||
ID_164 = ID_116, ID_163; | ||
ID_165 = ID_111, ID_164; | ||
ID_166 = ID_106, ID_165; | ||
ID_167 = ID_101, ID_166; | ||
ID_168 = ID_96, ID_167; | ||
ID_169 = ID_91, ID_168; | ||
ID_170 = ID_86, ID_169; | ||
ID_171 = ID_81, ID_170; | ||
ID_172 = ID_76, ID_171; | ||
ID_173 = ID_71, ID_172; | ||
ID_174 = ID_66, ID_173; | ||
ID_175 = ID_61, ID_174; | ||
ID_176 = ID_56, ID_175; | ||
ID_177 = ID_51, ID_176; | ||
ID_178 = ID_46, ID_177; | ||
ID_179 = ID_41, ID_178; | ||
ID_180 = ID_36, ID_179; | ||
ID_181 = ID_31, ID_180; | ||
ID_182 = ID_26, ID_181; | ||
ID_183 = ID_21, ID_182; | ||
ID_184 = ID_16, ID_183; | ||
ID_185 = ID_11, ID_184; | ||
ID_186 = ID_6, ID_185; | ||
ID_187 = ID_1, ID_186; | ||
ID_188 = ID_187 :> _; | ||
ID_189 = _ <: ID_188; | ||
process = ID_189; |