MXXX: Custom ADSR shape getting chopped off

Official support for: meldaproduction.com
Post Reply New Topic
RELATED
PRODUCTS

Post

The code is not an entire patch. It's just a copy of a modulator with a custom release shape (attack is 0).

Took me an hour to figure out why the result was always squared off on waveform display. Looks like the issue is that in the custom shape window, if the shape involves double curvature, properly rounding the point requires pulling the side handles out, but any portion of the waveform that crosses over the handles (which happens automatically whenever it is centered) get cut off in both the preview and, more importantly, the resulting envelope.

To see this, look at the preview window. Unfortunately, that chop happens in the output as well. Now go to the release tab, and move the top point to the side until the curve is below the handles line, and take another look at the preview. Again, preview accurately reflects what it outputs.

Am I missing something here? Is there a way to stop it from chopping the tops off all my shapes?

Code: Select all

$eNp1UctuwjAQvPMVlu+QBySAFIJoSSUOPESiqlc3LBDVzkaJg+Dvu3apQpF6scae3ZnxbjS-KskuUDcFljPuDVzOoMzxUJSnGW-1sT-h87gXrRfLdM-MkYGqML2VOVU7E84WWov8a8ap8bVtNKr0LCogkrOVUnAohIY9SBAN2KIODwLf5+xBb3s88jhKygtIrOBHmCWb990+SZPMdDsU5Ze-C8XRDotSs9xavklxal4IjuiS3UyQJbafEphHzf+UUqpUIerzh2eZpz52tWHdwPXCse+PXPr1zTyFo6kXTMNwOAnDTv1PhKsRJMp5Tt2LshoUSrTjYms8kOUGayUkZxchW7oGNI1UQ8VWGhRF65uZEhx2MOjg2ELy2lZQC037bIzxow25OnaTce8bDVKWgg==
BTW: I figured out what it was stopping me from being able to upload code all the other times I tried. When I copy to the clipboard, there is an odd character I've never seen at the end. In this case, it was after the "==". If I leave it in, it appears to break the formatting for kvr to the point where everything after it including the code closing tag disappears. I looked at the code from others, and don't see this character, so I tried just deleting it, and it seems to now allow pasting on kvr and still work when pasted. Anyone know what to do about this character? I can't post it here for all the reasons mentioned. Should I be copying some other way than the copy button?

Post

Your patch does not load here (in v12.04). What version are you using?
DarkStar, ... Interesting, if true
Inspired by ...

Post

Remember I explained that we can't share copy/paste settings until you have updated.
Jason @ Melda Production

Post

Code is from version 12.0.4. Downloaded and installed yesterday.

It's missing a character at the end for reasons explained in OP.

Post

OK, I see it now - I did not realise that it was 'just' an Envelope / ADSR and had to be pasted there.

Not enough nodes? Try this (very rough):

Code: Select all

$eNqVkkuPgjAUhff+iqZ7oVARTBDjjEziwkeETGbbwauSaSmBYvTfz4XRoO5mQ065957v9BHOLkqSM1R1rospdSxGCRSZ3ufFcUobcxgGdBYNwtV8kexI+0lBlTq5Fhl22wElc2NE9jOlOPje1Ear5CRKwCIlS6VgnwsDO5Agauiaem15rkvJg9-mcKBRGBdnkLqEP2MSrz+3uziJ03baxij3+s0oCrc6LwzJOuSHFMf6DeUIF+m1DbLQzbcE4uBw38osx-Ee2zFZorQ2py+nM3qZJZcuMHfGbOTxgAW482v7Kxhz7rtswpnLnwhDZjH--wjf8ScT5vqe5-o3BOOjILhDesbTVi+tI5bs19MZhGkFSkvdXQtZ6T0y17pSQlJyFrLBpYennhgoydKAwmzD9u5Q8l56vfQ7iaxNCZUw+G7qFvyIQardvZho8AvAK7BO
NB: it does not have the == at the end?

Image

"Cloae enough for Jazz!"
DarkStar, ... Interesting, if true
Inspired by ...

Post

Will check it out, thx.

It's odd. It has the == at the end, but then there's this one other character that looks (from memory) something like a lego viewed from the top. Took me quite a few attempts to realize that character was breaking the kvr formatting. Next time I'll experiment a bit and see if it's specific to a particular method of copying.

Post

It's almost a comedy of errors at this point, but...

Speaking of "==" at the end, I don't see that in the code you posted, it does nothing when pasted into the plug overall. When pasted into a modulator, the screen jumps as if it's being pasted, but the custom shape and other parameters are just defaults.

With this many issues, I'm going to need to do some troubleshooting... maybe cut and paste back and forth between Logic and a text editor to see if there's a snag somewhere. I don't have any problem just cutting and pasting within Logic.

Just to make sure I'm not losing my mind: The code as posted does paste fine on your end, correct? (not somehow truncated or otherwise tainted in the process of posting)

Post

Yep, I've downloaded it and use the clipboard Paste button next to the [Custom Shape] to paste it.

Here's the modified Release curve:
Image >>> https://i.imgur.com/CoXWzxv.png
DarkStar, ... Interesting, if true
Inspired by ...

Post

Ahhh... thx.

I tried both the overall plug, and the modulator, but not the ADSR specifically.

For future reference to avoid any confusion, is there a standard assumption here as to where code applies when posted? Is it generally assumed to be the overall plug, or the subsystem being described, or does it just vary?


As to the shape. Yeah, I can shift things around to avoid having the handle in the center, but it always ends up being somewhat asymetric as a result. Experimenting now with other smoothing methods, etc.

Other tests have confirmed that the handles cut off any shapes on the low end too. Essentially, any shape that surpasses it's handles at any point in either direction can't be used. It's a good thing I finally measured this. It explains why some things I tried a few days ago just didn't work as designed. Now I can see exactly why.

If it didn't occur to me that the custom shape window is not accurate, and that to see what's actually happening, I need to leave it and look at the preview window... I can only assume the same is true of at least some other users... most of whom probably have not bothered to actually measure the output to confirm that it's not working as they intended.

I can work around it now that I'm aware of the issue. Just wondering if it's intended to work that way, and if so, if there is a workaround that maintains proper symmetry.
Last edited by Annabanna on Thu Jul 26, 2018 4:26 pm, edited 1 time in total.

Post

In the past, we have mostly used the convention of Copying and Pasting the [A- H] slots on the right-hand side on the main GUI. But, it is probably best to be explicit each time. ;)

With a bit more work that Release shape that I did could be made symmetrical, couldn't it. But I'm pretty sure that I could not hear the difference.
DarkStar, ... Interesting, if true
Inspired by ...

Post

Actually haven't tried the A-H thing.

So does that mean each time you use the main plug paste button (under the A/B) button, it's only over-writing whatever A-H button you're on? OK. I guess I can stop launching a new instance to check any code. Is there a shortcut to then reset that A-H preset if I'm pasting it into an instance that has something in it I actually want to save on another tab? I've been copying and pasting blank modulators and MP's to clear them, though I'm sure a shortcut exists.

I also don't recall coming across any description if there is a way to reorder MP's. I've just been doing it manually vs copy/paste, though not sure if that's the best way or not. It's a ton of info, though, so I wouldn't be shocked if I just don't recall a few details. I think at some point, I may just go back and re-read, re-watch everything now that I have some context.

As to the shape, sure. The tools are flexible. Now that I'm aware of the issue, I can work around it.


Any other "gotcha" moments or common snags people encounter I might not have come across yet that I should just keep an eye out for?

Post

Correct - A-H are 8 different "slots" = you can load different presets into each for quick comparisons, or nudge the settings in each, copy and paste between them (e.g to save a "last good set of settings") etc. Click on the [A-H] area or the buttons below (or any other control) and press F1 to see the contextual Help info.

To reset a slot, I just load a default preset (in the title bar).

Re-ordering MPs: click the MP menu button:
Image

Gotchas: Well, from the sound of it, you are well on the way down the MeldaProduction rabbit-hole and will soon be completely "MBorged" :eek:
DarkStar, ... Interesting, if true
Inspired by ...

Post

Sonofa... I know I clicked on the options button (or whatever it's called), and just didn't see that somehow.

Apparently, it's time to take a break.

Post Reply

Return to “MeldaProduction”