grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.58k stars 322 forks source link

pitchShift does not seem to work on macOS with -double #740

Closed jcelerier closed 2 years ago

jcelerier commented 2 years ago

Hi, The code: (pitchShift.dsp):

import("stdfaust.lib");

pitchshifter = vgroup("Pitch Shifter", ef.transpose(
                    hslider("window (samples)", 1000, 50, 10000, 1),
                    hslider("xfade (samples)", 10, 1, 10000, 1),
                    hslider("shift (semitones) ", 0, -12, +12, 0.1)
                  )
);

process = pitchshifter;

I'll do more experimentations and report

sletz commented 2 years ago

Which target?

jcelerier commented 2 years ago

On an intel mac, I pass "" as a triple

jcelerier commented 2 years ago

ah, I think I got it - there was a situation on my side which could lead to a NaN ending in the input which wracked any process relying on some amount of feedback. sorry for the noise !