On 11/26, Stéphane Letz wrote:
>
> This is a updated version of FAUSTPY, see 
> https://faustdoc.grame.fr/manual/architectures/#faustpy,
> possibly working ?

Ah, this one...

I tried it once just out of curiosity several years ago, and I had
to apply the patch below to make it work.

I have no idea if it can help today. faustpy wasn't updated since
2015, but faust does change...

Oleg.

--- a/FAUSTPy/python_ui.py
+++ b/FAUSTPy/python_ui.py
@@ -282,7 +282,7 @@ class PythonUI(object):
         if label:
             # special case the first box, which is always "0x00" (the ASCII
             # Null character), so that it has a consistent name
-            if label.decode() == '0x00':
+            if True : #label.decode() == '0x00':
                 sane_label = "ui"
             else:
                 sane_label = "b_"+str_to_identifier(label)
--- a/FAUSTPy/wrapper.py
+++ b/FAUSTPy/wrapper.py
@@ -225,6 +225,7 @@ void computemydsp(mydsp* dsp, int count, FAUSTFLOAT** 
inputs, FAUSTFLOAT** outpu
         C = ffi.verify(
             Template("""
 #define FAUSTFLOAT ${FAUSTFLOAT}
+#define metaInterface mInterface
 
 // helper function definitions
 FAUSTFLOAT min(FAUSTFLOAT x, FAUSTFLOAT y) { return x < y ? x : y;};
--- a/dattorro_notch_cut_regalia.dsp
+++ b/dattorro_notch_cut_regalia.dsp
@@ -4,8 +4,8 @@ declare author      "Marc Joliet";
 declare license     "MIT";
 declare copyright   "(c)Marc Joliet 2013";
 
-import("filter.lib");
-import("math.lib");
+import("filters.lib");
+import("maths.lib");
 
 // user inputs
 fc = hslider("Center Freq. [unit:Hz]", 5e3, 30, 20e3, 1);



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to