Re: [Faudiostream-users] adaption to sample rate

2016-12-17 Thread Albert Graef
On Sat, Dec 17, 2016 at 1:16 PM, Lervik Olav wrote: > Well faust2faustvst does not seem to work if you want to have a VST > instrument…. It sure does. Use the -nvoices command line option or 'declare nvoices' in the Faust source. And read the documenation at:

Re: [Faudiostream-users] adaption to sample rate

2016-12-17 Thread Stéphane Letz
1) This code is correct, but you can also write like this (using the SR symbol defined in math.lib): phasor(f) = f/ma.SR : (+,1.0:fmod) ~ _ ; 2) Then architecture file you are using with this code will have to correctly gives the actual sample rate at runtime. This works correctly in

Re: [Faudiostream-users] adaption to sample rate

2016-12-17 Thread Lervik Olav
Thank you for the response. Still kind of feel like a newbie in faust. Well faust2faustvst does not seem to work if you want to have a VST instrument…. How would I easily implement the SR symbol in the code? I started with the very simple Organ Example from the faust website. // Simple Organ

Re: [Faudiostream-users] adaption to sample rate

2016-12-17 Thread Stéphane Letz
Assuming you are using the SR symbol (defined in math.lib library) in your code, and assuming the host actual sample rate is correctly given to the allocated DSP at runtime, it should work. For VST are you using faust2faustvast script? Stéphane > Le 17 déc. 2016 à 10:08, Lervik Olav