madskjeldgaard / portedplugins

A collection of plugins for the SuperCollider sound environment, all of which are ported / remixed from elsewhere
GNU General Public License v3.0
180 stars 13 forks source link

VarShapeOsc sync flag seems to be backward #38

Open jamshark70 opened 9 months ago

jamshark70 commented 9 months ago

Describe the bug Sync flag seems reversed from documentation.

To Reproduce

a = {
    var sig = VarShapeOsc.ar(LFDNoise3.kr(2).exprange(100, 500), 0.5, 0.5, 0);
    (sig * 0.05).dup
}.play;

Expected behavior With sync disabled (0), we should hear the frequency modulation.

Instead we hear a constant frequency matching the default sync frequency.

madskjeldgaard commented 9 months ago

Thanks! I am taking a break from maintaining these plugins but let me know if you want to do a PR :)

jamshark70 commented 9 months ago

OK, I can try a PR. Would you recommend to change the documentation, or the behavior? Backward compatibility seems like it could only be quite odd: an input named sync where 0 = enable, 1 = disable. This will confuse.

jamshark70 commented 9 months ago

BTW my ability to work on the C++ side would be somewhat hampered by:

git clone https://github.com/madskjeldgaard/portedplugins
// OK

cd portedplugins
// OK

git submodule update --init --recursive
// nothing happens
madskjeldgaard commented 9 months ago

BTW my ability to work on the C++ side would be somewhat hampered by:

git clone https://github.com/madskjeldgaard/portedplugins
// OK

cd portedplugins
// OK

git submodule update --init --recursive
// nothing happens

Thanks for looking into this, James. There aren't any submodules in the project anymore, I should update the info, sorry about that