Hi,
A relatively simple noisegate results in distortion both -double and single as
VST3. AU is fine.
>> MacOS 12.15.7
Xcode 12.4
@Juan Carlos: does it mean only AAX works in -double?
Klaus
import("stdfaust.lib");
init_noisegate_threshold = -70;
process = _,_ : noisegate(2) : _,_;
// NOISE GATE
noisegate(N) =
gate_any(N,noisegate_thresh,noisegate_attack,noisegate_hold,noisegate_release)
with {
noisegate_thresh = vslider("[0]threshold",init_noisegate_threshold, -95, 0,
1);
noisegate_attack = 0.01;
noisegate_hold = 1;
noisegate_release = 2;
gate_any(N,thresh,att,hold,rel) = B <: B, (B :> ggm : vbargraph("[2]gate
level",0,1) <: B) : ro.interleave(N,2) : par(i,N,*)
with {
B = si.bus(N);
ggm = gate_gain_mono(thresh,att,hold,rel);
};
gate_gain_mono(thresh,att,hold,rel,x) = x : extendedrawgate :
an.amp_follower_ar(att,rel) with {
extendedrawgate(x) = max(float(rawgatesig(x)),holdsig(x));
rawgatesig(x) = inlevel(x) > ba.db2linear(thresh);
minrate = min(att,rel);
inlevel = an.amp_follower_ar(minrate,minrate);
holdcounter(x) = (max(holdreset(x) * holdsamps,_) ~-(1));
holdsig(x) = holdcounter(x) > 0;
holdreset(x) = rawgatesig(x) < rawgatesig(x)'; // reset hold when raw
gate falls
holdsamps = int(hold*ma.SR);
};
};
> On 27. May 2022, at 16:22, Juan Carlos Blancas <[email protected]> wrote:
>
> Hi Klaus,
>
> macOS 12.1, Xcode 13.3.1
>
> Seems to work fine for me: AAX, AU, VST3 and VST
>
> -double only AAX.
>
> Best regards,
> Juan Carlos
>
>> El 27 may 2022, a las 13:17, Klaus Scheuermann <[email protected]> escribió:
>>
>> Hi All, I am running into trouble again ;)
>> Your help is very much appreciated.
>>
>> Here is my dsp file (a modified version of master_me):
>> https://github.com/trummerschlunk/master_me/blob/master/soundsgood09.dsp
>>
>> For various reasons, I decided to go via JUCE (VST3, VST2 from faustIDE
>> crashing on MacOS and Win, no -double support on faustIDE). Here is my
>> workflow. I am on MacOS 12.15.7 for this project.
>> - make a juicer project with faust2juce -double soundsgood09.dsp
>> - copy folder containing jucer file to JUCE/Examples
>> - open jucer file, select VST3 and AU, save and open in Xcode
>> - build all in Xcode: one issue in FaustPluginProcessor.cpp:8988:39:
>> Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long')
>> to 'int'
>>
>> The AU version runs in Reaper - yay!
>> The VST3 version only outputs full level saw tone - autsch!
>>
>> Can someone confirm? And hopefully help please?
>> Thank you so much!
>>
>> Klaus
>>
>> _______________________________________________
>> Faudiostream-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users