Skip to content

Commit

Permalink
Add DSP names.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Aug 26, 2023
1 parent 7f9ca80 commit ff4ec2d
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions tools/benchmark/ciaramella.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ static void test1()
createLibContext();
{
tvec signals = { lp_filter_builder() };
compile("test1", signals);
int argc = 2;
const char* argv[] = { "-cn", "lp_filter" };
compile("test1", signals, argc, argv);
}
destroyLibContext();
}
Expand All @@ -713,7 +715,9 @@ static void test3()
createLibContext();
{
tvec signals = { lp_filter3_builder() };
compile("test3", signals);
int argc = 2;
const char* argv[] = { "-cn", "lp_filter3" };
compile("test3", signals, argc, argv);
}
destroyLibContext();
}
Expand All @@ -737,7 +741,9 @@ static void test5()
createLibContext();
{
tvec signals = { lowshelffilter_builder() };
compile("test5", signals);
int argc = 2;
const char* argv[] = { "-cn", "lowshelffilter" };
compile("test5", signals, argc, argv);
}
destroyLibContext();
}
Expand All @@ -757,7 +763,9 @@ static void test7()
Signal cutoff = sigVSlider("cutoff", sigReal(CUTOFF), sigReal(0), sigReal(1), sigReal(0.01));

tvec signals = { lp_filter2(in1, cutoff) };
compile("test7", signals);
int argc = 2;
const char* argv[] = { "-cn", "lp_filter2" };
compile("test7", signals, argc, argv);
}
destroyLibContext();
}
Expand All @@ -774,7 +782,9 @@ static void test9()
createLibContext();
{
tvec signals = { diode_clipper_builder() };
compile("test9", signals);
int argc = 2;
const char* argv[] = { "-cn", "diode_clipper" };
compile("test9", signals, argc, argv);
}
destroyLibContext();
}
Expand Down

0 comments on commit ff4ec2d

Please sign in to comment.