Hi Stéphane,

Thanks for looking in to it.
Does the -sch compile use huge amounts of RAM for you too?
I only have 4Gb, so probably swapping is my main problem..
Which Faust version are you using?
If version 2, did you check whether it produces sound when you input 
sound?

Sorry for bombarding you with questions like that!

The simplest dsp to reproduce it with is:

import ("lib/common.lib");
import ("lib/FullGUI.lib");
import ("lib/FOFvocoder.lib");
process = fofOscs , fofOscs;

If I use just one fofOscs, it doesn't need swap, and all is fine.
If I use my old FOF function all is fine too:
git checkout a7bf8f3d22f6e38f23d9fcb40b1b6cbc5457cc03


Thanks,
Bart.



On Sun, May 22, 2016 at 12:44:22PM +0200, Stéphane Letz wrote:
>Answering part of your questions:
>
>- compiled onn MacBook Pro 4 cores 2,2 GHz : faust2jaqt scal and vec compile 
>quite fast, sch takes 24 mins. DSP CPU used with JACK 1024 frames:
>
>- scal ==> 98%
>
>- vec  ==> 79%
>
>- sch ==> 30% and is works OK compiled with faust2. I guess you are on Linux, 
>so is the problem with -sch mode reproductible with simpler .dsp ?
>
>Thanks.
>
>Stéphane
>
>> Le 20 mai 2016 à 23:35, Bart Brouns <b...@magnetophon.nl> a écrit :
>>
>> Hi,
>>
>> I'm porting Forme d'Onde Formantique (FOF) to faust. [1] [2]
>>
>> It's based on [3], but can be used with dynamic parameters.
>> [3] creates a single enveloped sine, and feeds it into a delay with full
>> feedback, so it never changes.
>>
>> My version has everything synced to a master lf_rawsaw, so it
>> continuously creates new enveloped sines.
>>
>> It has multiple parallel sine-envelope pairs, so the envelopes can
>> overlap without being cut off, and you get an octaviation coefficient
>> parameter almost 'for free' [4].
>>
>> A demo song: [5].
>>
>> The synth making most of the above sounds has a few problems:
>> - It takes too much CPU when compiled with -scal, -vec or -omp.
>> - When compiling with -sch, cc1plus eats about 13Gb of RAM/swap, and
>>  takes 7 hours. (faust 0.9.73 or faust 1 git)
>> - Faust 2 with -sch produces a silent program.
>>
>> Granted, those are 256 sine-envelope pairs, so it's a miracle it runs at
>> all!
>>
>> Steps to reproduce:
>>
>> git clone https://github.com/magnetophon/VoiceOfFaust
>> cd VoiceOfFaust
>> git checkout a44c5784e55f48ef44b76bac2e628e7a941e2474
>> time /home/bart/.nix-profile/bin/faust2jack -t 99999 -time -osc -sch
>> FOFvocoder.dsp
>> ./FOFvocoder & sleep 2 && jack_connect system:capture_1 FOFvocoder:in_0
>> & jack_connect FOFvocoder:out_0 system:playback_1 & jack_connect
>> FOFvocoder:out_1 system:playback_2
>>
>> To use it as intended, you also have to run:
>> pd PureData/OscSendVoc.pd
>>
>>
>> Cheers,
>> Bart.
>>
>>
>> [1]
>> https://github.com/magnetophon/VoiceOfFaust/blob/NewFOF/lib/Foflet.dsp
>> [2]
>> http://anasynth.ircam.fr/home/english/media/singing-synthesis-chant-program
>> [3] https://ccrma.stanford.edu/~mjolsen/220a/fp/Foflet.dsp
>> [4] http://www.csounds.com/tootsother/fof/FOF.html
>> [5] http://magnetophon.nl/sounds/magnetophon/oldCombo-12.wav
>>
>> ------------------------------------------------------------------------------
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> _______________________________________________
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
>------------------------------------------------------------------------------
>Mobile security can be enabling, not merely restricting. Employees who
>bring their own devices (BYOD) to work are irked by the imposition of MDM
>restrictions. Mobile Device Manager Plus allows you to control only the
>apps on BYO-devices by containerizing them, leaving personal data untouched!
>https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>_______________________________________________
>Faudiostream-users mailing list
>Faudiostream-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/faudiostream-users

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to