Finishing the multi stage modulation envelope

Special collaborative projects managed by SynthMaker users

Moderators: electrogear, exonerate

Re: Finishing the multi stage modulation envelope

Postby infuzion on Wed Apr 21, 2010 7:29 pm

infuzion wrote:Existing bugs:
- Points' Time & Measure display can overlap, making both unreadable
fixed Wireless Links "sus start" & "sus end" seem not to be needed?
- Finish:Gate's "Finish" Code has an unused "streamin section"
fixed "Value to 0" broken; not sending triggers properly, related new bug?
- something else I missed?

Suggestions:
in progress: Move Load/Save/Flip shape menu to right-click menu, replacing "Reset to Default", which will become a file to be loaded (will reduce parts & CPU ever slightly due to reduced Array Switches).
? Move Free/Snap button into right-click menu.
? Add icons to show status of Free Move, Snap, & if shape has been saved/altered.
help needed: Bi-Polar shape fill
? Point-Right-click menu display seconds & measure info
I'm working in the GUI part still.
Any news on audio issues being isolated?
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Finishing the multi stage modulation envelope

Postby exonerate on Wed Apr 21, 2010 8:39 pm

infuzion wrote:Any news on audio issues being isolated?


Not yet, is a weird one. I could get the notes to hang sometimes by only pressing one note when the CPU was busy ( I had my virus software doing a scan so CPU was going up to 100 percent).

I'd apreciate any efforts by others to isolate the cause, my time is very limited at the moment. O:) xP

Cheers ;)

Exo
The Developer Toolkit -- A collection of over 150 modules and counting. Available from the Registered Users forum.
User avatar
exonerate
smaniac
 
Posts: 1487
Joined: Sat Dec 30, 2006 1:57 pm
Location: England, West Yorkshire, Huddersfield

Re: Finishing the multi stage modulation envelope

Postby stw on Fri Apr 23, 2010 11:32 am

exonerate wrote:I'd apreciate any efforts by others to isolate the cause, my time is very limited at the moment. O:) xP

Cheers ;)

Exo


ok Exo, here're my testing results:
I can create hanging notes whren using a DS out. I just have to wipe over my keyboard a few times with 64 Voices enabled and i happens up to 100%.
First i couldn't get any hanging notes with using any kind of ASIO driver. No matter if soft- or hardware driver.
After playing around with buffer sizes this changed to the other way round. Now the easiest way to produce hanging notes is with big buffer sizes. I just have to set up a 2048 samples buffer and hit e.g. 8 notes simultaniously and some of them are stuck immediatly!
After returning to my usual settings 512 or 256 samples buffer i had some hanging notes too, however that comes.

I verified the new MSE to the stock ADSR and stock MSE and the new MSE is the only one which creates these errors.

So it seems as if this baby has a serious issue with finishing voices.
stw
smanatic
 
Posts: 639
Joined: Mon Jun 30, 2008 2:55 pm

Re: Finishing the multi stage modulation envelope

Postby aliasant on Fri Apr 23, 2010 12:31 pm

stw wrote:
exonerate wrote:I'd apreciate any efforts by others to isolate the cause, my time is very limited at the moment. O:) xP

Cheers ;)

Exo


ok Exo, here're my testing results:
I can create hanging notes whren using a DS out. I just have to wipe over my keyboard a few times with 64 Voices enabled and i happens up to 100%.
First i couldn't get any hanging notes with using any kind of ASIO driver. No matter if soft- or hardware driver.
After playing around with buffer sizes this changed to the other way round. Now the easiest way to produce hanging notes is with big buffer sizes. I just have to set up a 2048 samples buffer and hit e.g. 8 notes simultaniously and some of them are stuck immediatly!
After returning to my usual settings 512 or 256 samples buffer i had some hanging notes too, however that comes.

I verified the new MSE to the stock ADSR and stock MSE and the new MSE is the only one which creates these errors.

So it seems as if this baby has a serious issue with finishing voices.



Doesnt it sound like, if you manage to use more voices then the max within the buffer set on the audiocard, the "extra" voices looses their release or finish stage?
Something similar to that anyways.
That would explain why it gets harder the smaller your buffer is.
If you have max 8 voices you would have to top that within the buffer time.

Is there a hop involved here?
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2386
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Finishing the multi stage modulation envelope

Postby infuzion on Fri Apr 23, 2010 5:44 pm

aliasant wrote:
stw wrote:I can create hanging notes whren using a DS out. I just have to wipe over my keyboard a few times with 64 Voices enabled and i happens up to 100%. First i couldn't get any hanging notes with using any kind of ASIO driver. No matter if soft- or hardware driver.
I verified the new MSE to the stock ADSR and stock MSE and the new MSE is the only one which creates these errors.
So it seems as if this baby has a serious issue with finishing voices.
Doesnt it sound like, if you manage to use more voices then the max within the buffer set on the audiocard, the "extra" voices looses their release or finish stage?
Is there a hop involved here?
I'm thinking it is more of an buffer issue also, though something might be done to workaround this inside the MSME. I don't think the Finish:Gate system is finished yet anyway; Exo can you work on that please?

No hops are involved at all.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Multi Stage Modulation Envelope V1.9.8.0~infuzion_moveMenu.o

Postby infuzion on Sat Apr 24, 2010 8:25 am

Fixed:
> Shape copy was overridden by Shape Load, now copy/paste works like most apps
- "sus start" & "sus end" removed, receptors found (I think) & renamed
- "Value to 0" was broken

New/changed features for 1.9.8.0:
+ new points = double-click, since single-clicks are often accidental
+ Shape menu moved to general right-click menu
+ Copy/paste now included in Shape menu
+ Shape file extension standard: last=.vcs (Vectorish Controller Shape), next to last=LFO or envelope type, first name = "default" for standard shape of type. Still same text file format, so you can re-use old .txt as-is.
- removed "default" right-click; use Load default.*.vcs instead.
- moved Free/Locked Move right-click menu switch to button & renamed to make more clear. Likely will be moved to right-click point menu; need more interface room?

Known bugs:
!- Audio Code/Finish:Gate unfinished (exo?)
- Finish:Gate's "Finish" Code has an unused "streamin section"
- Points' Time & Measure display can overlap, making both unreadable
- Deleting a point sometimes changes previous curve &/or point to unwanted value; often with Sustain or Release points.
- Loading new shapes seem to cause 2 redraws, should be 1
- edit: Properties:MAX ENV POINTS is set to 64, but the load/save/copy/paste module is hard-wired to 64 points.
- something else I missed?

Suggestions:
? Move Free/Snap button into right-click point menu.
? Add display (likely text, maybe icons if someone wants to make) to show status of Free Move, Snap, & if shape has been saved/altered.
? help needed: Bi-Polar shape fill
? Point-Right-click menu &/or hover display seconds & measure info
? Move right-click time stuff into sub-menu
? Display value # of point & curve on left mouse button down
? Move zoom & scroll to main display to use RMB &/or MMB
? lock screen/points?
? shift/control+point-move for only X or Y movement
? new Multiple select points (likely with qualifier CTRL or such)
? new Select all points of sustain loop
? beat markers numbers
? set Load/Save .vcs to current folder or \shapes?
? extra module to save default .vcs if not existing

I can use some tester love here ;)
Last edited by infuzion on Sun Apr 25, 2010 9:51 pm, edited 2 times in total.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Finishing the multi stage modulation envelope

Postby exonerate on Sat Apr 24, 2010 6:25 pm

Thanks for the update Infuzion :)

I think the double click insert point is a good idea. :)

I like having the sync move as a button. Although I cannot understand why you have took that out of the right click menu but put the shape menu into it? I think the shape menu should be a button, I wouldn't expect the loading of shapes to be at the bottom of a right click menu. Also the sync move button is too big but needs to be to convey enough meaning, might be best then to just put that in the point menu, the name/description for it can be as long as you want then.

Like the .vcs file extension does look more professional than the plain .txt extension.

Regarding moving free/snap button to right click menu, I like it as it is, gives easy access and doesn't really get in the way with it being right in the top corner.

Bi-Polar shape fill is a good idea, stw was the one who originally did the fills. Not sure why he didn't do a fill for bi-polar but I'm assuming it would prove quite tricky.

I think adding MMB for scrolling and zooming would be a good idea although I think the scroll and zoom bar should stay and have both ways. Some people prefer the old skool approach of just moving a scroll bar, I do in many cases. And it's just more obvious no need to read a manual to figure it out.

Sorry I cannot comment on all your points there is just too many! :)

I've now fixed the note hanging, well it's not happening anymore for me but obviously needs testing by others.

I've added that to the first post. I've just took your latest version infuzion and put the audio code from the toolbox env into it. Then I worked all the extra/different bits into it.
Not sure why the hanging was happening to be honest I couldn't track down the cause. :S But works now. :D

Cheers ;)

Exo
The Developer Toolkit -- A collection of over 150 modules and counting. Available from the Registered Users forum.
User avatar
exonerate
smaniac
 
Posts: 1487
Joined: Sat Dec 30, 2006 1:57 pm
Location: England, West Yorkshire, Huddersfield

Re: Finishing the multi stage modulation envelope

Postby infuzion on Sat Apr 24, 2010 7:45 pm

Thanks for the reply & comments! I'm looking for more from others.
exonerate wrote:I like having the sync move as a button. Although I cannot understand why you have took that out of the right click menu but put the shape menu into it?...Also the sync move button is too big but needs to be to convey enough meaning, might be best then to just put that in the point menu, the name/description for it can be as long as you want then....Regarding moving free/snap button to right click menu, I like it as it is, gives easy access and doesn't really get in the way with it being right in the top corner.
My reasons are here:
1) Preferences that have a state (switchable mode) need to have a way to signal what state they are in before an action that depends on that state. Before we could not tell what state the Free/Locked Move was until I either right clicked or actually moved the point. Now we can see what will happen before moving the mouse.
2) I placed the the shape menu to a right-click because:
-a- to make room for the Sync & Snap move buttons; 2 short rows of controls is more than enough & I didn't want
to eat up too much scrollbar space at the time (my thinking yesterday, which is also changing)
-b- having 3 pop-up menus is too much; 2 is pushing it
-c- Load & Save are used only occasionally; no need to have more accessible
3) A slightly bigger button is better for faster editing, important when working rapidly to make a deadline or playing live. Having the buttons say simply Single/Sync & Free/Snap with either a Label saying "Point Move" to the left of it might be a better idea? Or a mouse-over description (though isn't Mouse Over problematic, or eats up more CPU?) instead?
4) I prefer icons over right-click menus (though having both sometimes is best if it is often-used & location of mouse is more contextual). I also prefer shorter menus with cascading sub-menus; faster to travel & to read. I hate SM's right click menu; way too long & too much info at once. I also plan to add more features, so more menu items = the need to cascade menus.
5) All buttons & sliders need to be in one area; faster to edit, read, etc. I didn't even see that Free/Snap switch until a few versions & months after it was added! Also there are issues with pass-though clicks there.

exonerate wrote:Bi-Polar shape fill is a good idea, stw was the one who originally did the fills. Not sure why he didn't do a fill for bi-polar but I'm assuming it would prove quite tricky.
I have an OSC module that does a middle-to-0 fill, I've credited it to oddson but I can't find the forum post.
stw, oddson, MyCo... anyone would like to step up here please?
I could cut & paste the coding in, but I'd like the experts to work on that. ;)

exonerate wrote:I think adding MMB for scrolling and zooming would be a good idea although I think the scroll and zoom bar should stay and have both ways. Some people prefer the old skool approach of just moving a scroll bar, I do in many cases. And it's just more obvious no need to read a manual to figure it out.
I do like the scroll & zoom bars; they are a fast way to work & I'm the one who rewrote the old 1-bar version to what the 2-bar version we see today. :D But we do need room for more buttons & status-icons/text on bottom, so either we have to move the functionality away or make the bars even more smaller. I'm thinking about making the Load/Save/Copy/Paste into square icons again, but I do not want to make 3 rows of controls. The entire VST will be nothing but the MSMEs then. Maybe make a smaller GUI for the scroll & zoom? I like how Ableton Live does for the their scroll & zoom, but the buttons & bars are a bit too small on high dot-pitch monitors when performing live/fast. Maybe use a stubby slider that you can double-click to set %?

exonerate wrote:I've now fixed the note hanging, well it's not happening anymore for me but obviously needs testing by others.... put the audio code from the toolbox env into it. Then I worked all the extra/different bits into it.
[/quote][/quote]Cool, I hope more test it. I'm still thinking the problem was in the Finish:Gate section.

Thanks to all for their hard work!
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Finishing the multi stage modulation envelope

Postby stw on Sat Apr 24, 2010 8:46 pm

exonerate wrote:
Bi-Polar shape fill is a good idea, stw was the one who originally did the fills. Not sure why he didn't do a fill for bi-polar but I'm assuming it would prove quite tricky.


Yes at least to tricky to be worth the effort that time. But i'll give it another try. I can't say when i find time for it but i'll go for it as soon as possible.

exonerate wrote:I've now fixed the note hanging, well it's not happening anymore for me but obviously needs testing by others.


Can't test it right now but what was causing this?
stw
smanatic
 
Posts: 639
Joined: Mon Jun 30, 2008 2:55 pm

Re: Finishing the multi stage modulation envelope

Postby exonerate on Sat Apr 24, 2010 9:23 pm

stw wrote:Can't test it right now but what was causing this?


I actually don't know. :blush: :D

This problem didn't happen in the toolbox MSE. So I just swapped the audio code over from that one, and added the changes back from the MSME.
The Developer Toolkit -- A collection of over 150 modules and counting. Available from the Registered Users forum.
User avatar
exonerate
smaniac
 
Posts: 1487
Joined: Sat Dec 30, 2006 1:57 pm
Location: England, West Yorkshire, Huddersfield

Re: Finishing the multi stage modulation envelope

Postby stw on Sat Apr 24, 2010 10:07 pm

ok after activating some of my synapses it actually wasn't that hard.... ;)
Here's the bi polar curve fill
Attachments
Multi Stage Modulation Envelope V1.9.8.2.osm
bi polar curve fill added
(93.41 KiB) Downloaded 114 times
stw
smanatic
 
Posts: 639
Joined: Mon Jun 30, 2008 2:55 pm

Re: Finishing the multi stage modulation envelope

Postby infuzion on Sat Apr 24, 2010 11:26 pm

stw wrote:ok after activating some of my synapses it actually wasn't that hard.... Here's the bi polar curve fill
Cool, ty, I knew you could do it! O:)
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Re: Finishing the multi stage modulation envelope

Postby DigitalWhiteByte on Sat Apr 24, 2010 11:48 pm

Great Stuff :D
User avatar
DigitalWhiteByte
smanatic
 
Posts: 693
Joined: Thu Mar 12, 2009 1:07 am
Location: Milano - Italy

Re: Finishing the multi stage modulation envelope

Postby AngularMomentum on Sun Apr 25, 2010 2:03 am

Is it a bug or a feature? The sustain is only looping the end point? When I set the start to full and the end to zero it drops silent, and when I set the start to zero and the end full, it swells up as it should, but doesn't repeat and keeps sustaining at full volume.
User avatar
AngularMomentum
deliverer
 
Posts: 1405
Joined: Wed Dec 14, 2005 9:24 pm
Location: Southern Netherlands

Re: Finishing the multi stage modulation envelope

Postby aliasant on Sun Apr 25, 2010 8:02 am

AngularMomentum wrote:Is it a bug or a feature? The sustain is only looping the end point? When I set the start to full and the end to zero it drops silent, and when I set the start to zero and the end full, it swells up as it should, but doesn't repeat and keeps sustaining at full volume.


Confimred.
Cant be a feature or?
Allthough I have always wanted all sustain points to move vertically in sync with a key pressed or similar.
eg. shift+click&drag.
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2386
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

PreviousNext

Return to Projects

Who is online

Users browsing this forum: No registered users and 0 guests