blob: 3d59c3b3cc619639b4a7d971c54cc5b246c54947 (
plain)
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
|
#include <iostream>
#include "parser.h"
#include "programs.h"
#include "util.h"
#include "../synth/fixed.h"
using namespace std;
int main(int argc, char** argv)
{
Parser parser;
program_t p;
parser.parse("../../velotest.prog");
p=parser.get_result();
cout << "n_osc="<<p.n_osc<<endl;
for (int i=0;i<p.n_osc;i++)
{
for (int j=0;j<p.n_osc;j++)
{
cout << " "<<i<<" gets modulated by "<<j<<": strength="<<p.osc[i].fm_strength[j]<<", const="<<p.osc[i].fm_strength_const[j]<<endl;
}
}
return 0;
}
|