File: dbmeter.box

package info (click to toggle)
faust 2.79.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 397,496 kB
  • sloc: cpp: 278,433; ansic: 116,164; javascript: 18,529; vhdl: 14,052; sh: 13,884; java: 5,900; objc: 3,852; python: 3,222; makefile: 2,655; cs: 1,672; lisp: 1,146; ruby: 954; yacc: 586; xml: 471; lex: 247; awk: 110; tcl: 26
file content (39 lines) | stat: -rw-r--r-- 1,675 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
declare version "2.77.2";
declare compile_options "-single -scal ../../build/bin/faust -I dsp -e dsp/dbmeter.dsp -o reference/dbmeter.box";
declare library_path0 "/Users/letz/Developpements/faust/tests/impulse-tests/dsp/music.lib";
declare library_path1 "/Users/letz/Developpements/faust/tests/impulse-tests/dsp/math.lib";
declare author "Grame";
declare copyright "(c)GRAME 2006";
declare filename "dbmeter.dsp";
declare license "BSD";
declare math_lib_author "GRAME";
declare math_lib_copyright "GRAME";
declare math_lib_deprecated "This library is deprecated and is not maintained anymore. It will be removed in August 2017.";
declare math_lib_license "LGPL with exception";
declare math_lib_name "Math Library";
declare math_lib_version "1.0";
declare music_lib_author "GRAME";
declare music_lib_copyright "GRAME";
declare music_lib_license "LGPL with exception";
declare music_lib_name "Music Library";
declare music_lib_version "1.0";
declare name "dbmeter";
declare version "1.0";
ID_0 = \(x1).(x1,(x1 : abs : (10,-3.5f : pow),_ : max : \(x2).(20,(x2 : log10) : *) : 10,_ : min : max~(_,(8e+01f,(1.92e+05f,(1.0f,fconstant(int fSamplingFreq, <math.h>) : max) : min) : /) : -) : vbargraph("[unit:dB]", -7e+01f, 1e+01f)) : attach) : \(x3).(0,x3 : attach);
ID_1 = vgroup("0", ID_0);
ID_2 = vgroup("1", ID_0);
ID_3 = vgroup("2", ID_0);
ID_4 = vgroup("3", ID_0);
ID_5 = vgroup("4", ID_0);
ID_6 = vgroup("5", ID_0);
ID_7 = vgroup("6", ID_0);
ID_8 = vgroup("7", ID_0);
ID_9 = ID_7, ID_8;
ID_10 = ID_6, ID_9;
ID_11 = ID_5, ID_10;
ID_12 = ID_4, ID_11;
ID_13 = ID_3, ID_12;
ID_14 = ID_2, ID_13;
ID_15 = ID_1, ID_14;
ID_16 = hgroup("8 channels dB meter", ID_15);
process = ID_16;