portedplugins icon indicating copy to clipboard operation
portedplugins copied to clipboard

VarShapeOsc sync flag seems to be backward

Open jamshark70 opened this issue 1 year ago • 4 comments

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.

jamshark70 avatar Nov 21 '23 06:11 jamshark70

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

madskjeldgaard avatar Nov 21 '23 18:11 madskjeldgaard

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 avatar Nov 22 '23 09:11 jamshark70

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

jamshark70 avatar Nov 22 '23 09:11 jamshark70

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

madskjeldgaard avatar Nov 28 '23 12:11 madskjeldgaard