gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
Main Page
+
Namespaces
Namespace List
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
_
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
x
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
s
t
u
v
w
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
depukfbExample.cc
Go to the documentation of this file.
1
/*
2
libaudiomask - hybrid simultaneous audio masking threshold evaluation library
3
Copyright (C) 2000-2018 Dr Matthew Raphael Flax
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#define FASTDEPUKFB
20
21
#ifdef FASTDEPUKFB
22
#include "
fastDepukfb.H
"
23
#else
24
#include "
depukfb.H
"
25
#endif
26
27
#include <fstream>
28
29
#define FS 8192
30
31
void
main
(
void
){
32
int
binCount=4096;
33
#ifdef FASTDEPUKFB
34
FastDepUKFB
depUKFB(
FS
, 20);
35
#else
36
DepUKFB
depUKFB(
FS
);
37
#endif
38
ofstream output(
"w"
);
39
for
(
int
i=0;i<depUKFB.
filterCount
();i++){
40
for
(
int
j=0;j<binCount;j++)
41
output<<depUKFB(i,j,binCount)<<
'\t'
;
42
output<<endl;
43
}
44
output.close();
45
}
fastDepukfb.H
FS
#define FS
Definition:
depukfbExample.cc:29
main
void main(void)
Definition:
depukfbExample.cc:31
FastDepUKFB
Definition:
fastDepukfb.H:24
DepUKFB::filterCount
int filterCount(void)
Returns the number of filters.
Definition:
depukfb.H:222
DepUKFB
Definition:
depukfb.H:49
depukfb.H
gtkIOStream: /tmp/gtkiostream/src/AudioMask/depukfbExample.cc Source File
Support this project by purchasing our hardware.
GTK+ IOStream
Beta