On 06/13, vince via Faudiostream-users wrote:
>
> if I try the test_examples.py, it just terminates the process without any
> errors and nothing happens.
I'd suggest you to contact the author ;)
the patch below seems to make
$ PYTHONPATH=. python3 FAUSTPy
work on my laptop, but the the project looks dead to me :/
Oleg.
---
diff --git a/FAUSTPy/python_ui.py b/FAUSTPy/python_ui.py
index 9547ca6..44c18b6 100644
--- 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)
diff --git a/FAUSTPy/wrapper.py b/FAUSTPy/wrapper.py
index 7890c48..649a785 100644
--- 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;};
diff --git a/dattorro_notch_cut_regalia.dsp b/dattorro_notch_cut_regalia.dsp
index 270a139..e4f56bc 100644
--- 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users