One Synth Challenge #192: Six Sines by BaconPaul (johnkhf Wins!)

VST, AU, AAX, CLAP, etc. Plugin Virtual Instruments Discussion
Post Reply New Topic
RELATED
PRODUCTS
Six Sines

Post

Yeah, I'll switch back over to Git. I'll see that I somehow find what hung up this morning. When I do, you'll see it in the "Issues". I've posted some replies there today, too.

Post

baconpaul for president!

btw. what is happening, hard to follow...

Post

] Peter:H [ wrote: Thu Feb 20, 2025 1:21 pm ... That's why I'd never do commodity "basic" DS on my own.
So, you're saying you didn't read or comprehend Paul's answer. Perhaps you should stop contributing to OSC altogether and find some other forum to troll. I, for one, am pretty tired of your condescending behavior.

Post

Hanz Meyzer wrote: Thu Feb 20, 2025 3:34 pm baconpaul for president!

btw. what is happening, hard to follow...
I coded a thing with a bug, fixed the bug, apologized, and shared the bug in what I thought was a good humored way. Another user made a irritating mostly incorrect comment and I called them on it. Wackiness ensued.

Meanwhile it inspired me to go away and write the code which would be needed to make the incorrect comment correct, which fixes a problem I have somewhere else. So I spent some of the morning doing that. When it's ready I'll post it here!

Post

Maybe he just doesn't know who you are and what you already coded for the world... Indeed a weird attitude, but maybe just based on a total misunderstanding?

Post

i dunno appeal to authority always seems pretty weak-sauce to me (the 'dont you know who that person is' or 'ive been coding for xyz years'). In this case the matter was entirely technical about avoiding memory allocation. And of course, I had written buggy code! Let's not forget that. Chuckle.

Now that i actually have an allocator working for std::list, I also see why in this case it will be a bit more painful and inefficient than just wrangling the over pointers, but i'll also generalize the pointer overlay on fixed array technique into our base libraries to clean up the code. (And add tests while I’m going which is a critique I would really have laid on my first implementation….)

Post

baconpaul wrote: Thu Feb 20, 2025 4:38 pm
Six Sines cannot save patches to the folder it wants, even though all permissions are on the path. On the same disk, he saves patches to another folder. I assume this is a problem with Cyrillic characters, which is quite common. The user's name is Russian. Also, if I right-click on the knob, I see this:
You do not have the required permissions to view the files attached to this post.

Post

Ahh thanks I’m assuming this is windows right?

Indeed windows utf16 paths require careful handling. I thought I had it right but I’ll make a user like ‘🥓🎸’ this weekend and try

The other items are menus coming your daw. Which daw do you use? I may have missed a utf8 handle somewhere in that code

Thanks and sorry about that

Post

Ha I see the kvr forum did about as well with that utf username as six sines did.

Post

baconpaul wrote: Fri Feb 21, 2025 12:53 am Ahh thanks I’m assuming this is windows right?

Indeed windows utf16 paths require careful handling. I thought I had it right but I’ll make a user like ‘🥓🎸’ this weekend and try

The other items are menus coming your daw. Which daw do you use? I may have missed a utf8 handle somewhere in that code

Thanks and sorry about that
Yes, sorry for not mentioning: Windows 10, the latest version of Reaper.

Post

Hi baconpaul, just a quick request, would it be possible to add sync to the envelopes? The reason I ask is because I have been playing around with patch that is kind of a little PM/FM drum machine with a different operator doing different sounds and using the envelope's delay to stagger the start time of each, like a one-note drum machine if you will.

I can calculate the beats/seconds easily enough but sync to host clock for whole, 1/2, 1/4 and so on would be handy. Does anyone do this?

Post

OK at least the username path thing should be fixed next nightly. I also added what may be a fix for the menus but it's hard since I don't have a test case for those. But I made a emoji-laden user on my windows box and was able to save after my fix and not before.

One day, I'll do a back of the envelope calculation on how much of the world's GDP has been diverted to the fact that the windows filesystem is UTF16 instead of UTF8 in its core representation. Turns out I had it handled correctly everywhere *except* the save file callback. Sigh. Thanks for the report and sorry for the inconvenience. At least I now have a test account on windows for future projects!

Post

H-man wrote: Fri Feb 21, 2025 3:34 am Hi baconpaul, just a quick request, would it be possible to add sync to the envelopes? The reason I ask is because I have been playing around with patch that is kind of a little PM/FM drum machine with a different operator doing different sounds and using the envelope's delay to stagger the start time of each, like a one-note drum machine if you will.

I can calculate the beats/seconds easily enough but sync to host clock for whole, 1/2, 1/4 and so on would be handy. Does anyone do this?
Yeah surge has this and it is super useful

With short circuit and six sines (and future surge version) we are using a different envelope throw range which goes all the way to zero and up to 25 seconds with a different curve. That makes for super snappy envelopes, but it means I still haven't gotten around to coding tempo sync in that alternate coordinate system.

Its tracked https://github.com/baconpaul/six-sines/issues/26 if you are interested, but I don't have it in the 1.1 milestone and definitely wont have it for the OSC 8 days left.

Post

baconpaul wrote: Fri Feb 21, 2025 4:11 am
H-man wrote: Fri Feb 21, 2025 3:34 am Hi baconpaul, just a quick request, would it be possible to add sync to the envelopes? The reason I ask is because I have been playing around with patch that is kind of a little PM/FM drum machine with a different operator doing different sounds and using the envelope's delay to stagger the start time of each, like a one-note drum machine if you will.

I can calculate the beats/seconds easily enough but sync to host clock for whole, 1/2, 1/4 and so on would be handy. Does anyone do this?
Yeah surge has this and it is super useful

With short circuit and six sines (and future surge version) we are using a different envelope throw range which goes all the way to zero and up to 25 seconds with a different curve. That makes for super snappy envelopes, but it means I still haven't gotten around to coding tempo sync in that alternate coordinate system.

Its tracked https://github.com/baconpaul/six-sines/issues/26 if you are interested, but I don't have it in the 1.1 milestone and definitely wont have it for the OSC 8 days left.
No worries :tu:

Post

baconpaul wrote: Fri Feb 21, 2025 4:09 am OK at least the username path thing should be fixed next nightly. I also added what may be a fix for the menus but it's hard since I don't have a test case for those. But I made a emoji-laden user on my windows box and was able to save after my fix and not before.

One day, I'll do a back of the envelope calculation on how much of the world's GDP has been diverted to the fact that the windows filesystem is UTF16 instead of UTF8 in its core representation. Turns out I had it handled correctly everywhere *except* the save file callback. Sigh. Thanks for the report and sorry for the inconvenience. At least I now have a test account on windows for future projects!
Thanks, everything is working as it should now! :tu:

.. heh, I got a strange bug several times, when a knob (different each time), being set in some non-standard position, refused to return to the standard position after a while, as if sticking in the current one. I can't say more yet, because it is rare and random and I haven't figured out the pattern. Perhaps this happens after double-clicking on the knob to reset, and it disappears when switching presets. If I catch it again, I'll try to study it better.

Post Reply

Return to “Instruments”