diff --git a/ceammc/ext/src/noise/CMakeLists.txt b/ceammc/ext/src/noise/CMakeLists.txt index a2e881a942..6b642a1983 100644 --- a/ceammc/ext/src/noise/CMakeLists.txt +++ b/ceammc/ext/src/noise/CMakeLists.txt @@ -4,7 +4,7 @@ macro(ceammc_noise_external name) list(APPEND NOISE_SOURCES "noise_${name}.c") endmacro() -macro(ceammc_faust_noise_obj name) +macro(ceammc_faust_noise_obj_ui name) list(APPEND NOISE_SOURCES "noise_${name}.cpp") ceammc_faust_gen_obj(noise ${name} JSON) endmacro() @@ -30,11 +30,11 @@ ceammc_noise_external(stein) ceammc_noise_external(torus) ceammc_noise_external(verhulst) -ceammc_faust_noise_obj(crackle) -ceammc_faust_noise_obj(lfreq) -ceammc_faust_noise_obj(lfreq0) -ceammc_faust_noise_obj(pink) -ceammc_faust_noise_obj(white) +ceammc_faust_noise_obj_ui(crackle) +ceammc_faust_noise_obj_ui(lfreq) +ceammc_faust_noise_obj_ui(lfreq0) +ceammc_faust_noise_obj_ui(pink) +ceammc_faust_noise_obj_ui(white) list(APPEND NOISE_SOURCES chaos_standard.cpp chaos_gbman.cpp) diff --git a/ceammc/ext/src/noise/noise_pink.h b/ceammc/ext/src/noise/noise_pink.h index 36515019b8..560cef43fa 100644 --- a/ceammc/ext/src/noise/noise_pink.h +++ b/ceammc/ext/src/noise/noise_pink.h @@ -534,6 +534,7 @@ class noise_pink : public noise_pink_dsp { m->declare("name", "noise_pink"); m->declare("noises.lib/name", "Faust Noise Generator Library"); m->declare("noises.lib/version", "0.0"); + m->declare("ui", "disable"); } virtual int getNumInputs() { diff --git a/ceammc/ext/src/noise/noise_white.h b/ceammc/ext/src/noise/noise_white.h index 782e85e4db..898509dd4d 100644 --- a/ceammc/ext/src/noise/noise_white.h +++ b/ceammc/ext/src/noise/noise_white.h @@ -520,6 +520,7 @@ class noise_white : public noise_white_dsp { m->declare("name", "noise_white"); m->declare("noises.lib/name", "Faust Noise Generator Library"); m->declare("noises.lib/version", "0.0"); + m->declare("ui", "disable"); } virtual int getNumInputs() { diff --git a/ceammc/faust/noise_pink.dsp b/ceammc/faust/noise_pink.dsp index 50aa83c533..9a4b74db00 100644 --- a/ceammc/faust/noise_pink.dsp +++ b/ceammc/faust/noise_pink.dsp @@ -1,3 +1,5 @@ +declare ui "disable"; + no = library("noises.lib"); process = no.pink_noise; diff --git a/ceammc/faust/noise_pink.dsp.json b/ceammc/faust/noise_pink.dsp.json index 1e75a12019..2593c5bf33 100644 --- a/ceammc/faust/noise_pink.dsp.json +++ b/ceammc/faust/noise_pink.dsp.json @@ -24,7 +24,8 @@ { "maths.lib/version": "2.3" }, { "name": "noise_pink" }, { "noises.lib/name": "Faust Noise Generator Library" }, - { "noises.lib/version": "0.0" } + { "noises.lib/version": "0.0" }, + { "ui": "disable" } ], "ui": [ { diff --git a/ceammc/faust/noise_white.dsp b/ceammc/faust/noise_white.dsp index 711788a870..82c554dcf7 100644 --- a/ceammc/faust/noise_white.dsp +++ b/ceammc/faust/noise_white.dsp @@ -1,3 +1,5 @@ +declare ui "disable"; + no = library("noises.lib"); process = no.noise; diff --git a/ceammc/faust/noise_white.dsp.json b/ceammc/faust/noise_white.dsp.json index d8775e20df..81e60d2239 100644 --- a/ceammc/faust/noise_white.dsp.json +++ b/ceammc/faust/noise_white.dsp.json @@ -11,7 +11,8 @@ { "filename": "noise_white.dsp" }, { "name": "noise_white" }, { "noises.lib/name": "Faust Noise Generator Library" }, - { "noises.lib/version": "0.0" } + { "noises.lib/version": "0.0" }, + { "ui": "disable" } ], "ui": [ {