First presets wrong

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

First presets wrong

Postby yimianders on Wed Apr 11, 2012 11:51 am

Hi,

I have completed a VSTi MIDI controller for my hardware.
But I have a Problem with the selection of presets. I open the plugin mode or first-time standlone, then
I have to go through 6 or 7 presets so that sounds are all correct. That is, when i select the first 6 or 7, These sounds do not Have the Original When They Were saved settings.
But after going through 6 or 7 presets, Then it all sounds like it should. Likewise, if I use the MIDI sequencer PANIC, I have to go through these 6 or 7 presets for running again.


All my midi controller, is based on MIDI CC and not much mystery. All presets send MIDI CC.


This is the last thing I need to fix on my midi controller. Can anyone hecharme a hand? Has anyone ever had this happen?

Greetings and thanks
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby tektoog on Wed Apr 11, 2012 12:31 pm

hey,
Check this thread there, it might help...
Essential random order for chaotic repetitive sequences
User avatar
tektoog
essemilian
 
Posts: 440
Joined: Mon Apr 07, 2008 12:21 am
Location: Alps-France

Re: First presets wrong

Postby yimianders on Wed Apr 11, 2012 1:24 pm

Hi,

Thanks, But It is not just that.
I have using the "preset manager" well. I have all the presets CORRECTLY and I can perfectly access Them. But the presets are only after going-through to Properly a certain number of them (6 or 7 presets).

I've Thought About making a button in the plugin IGNITION. The first time you open the plugin, press this button. This button Automatically would go for 6 or 7 presets only.
But How the hell can I do this?

That is, something like a change lfo presets But to do only 6 or 7 course. I do not know if I explained well.

regards
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby tektoog on Wed Apr 11, 2012 1:39 pm

Well,
Have you tried the process described in this thread?
Also, it's hard to tell what's wrong like that without seeing your schematic...
Could you post your OSM, or part of it, so we can see what you're talking about...
It would help a lot...
Essential random order for chaotic repetitive sequences
User avatar
tektoog
essemilian
 
Posts: 440
Joined: Mon Apr 07, 2008 12:21 am
Location: Alps-France

Re: First presets wrong

Postby yimianders on Wed Apr 11, 2012 2:47 pm

Very thanks,

I left an example of my project. I have removed half of the controls, But basically all the same.


Sorry for my English. I try to Explain better. In This example the preset manager with 24 presets. All presets are good, are good. But I have to go through 6 or 7 presets will work first and Before They Be Heard in all my hardware perfectly.

That is, the first selection of a preset never sounds like it Should, But if it sounds good from the 8 selection.
I do not Understand the reason for this. I spend 6 or 7 presets and everything works fine, But The step does not work well Until you make this thing.

So I Had Thought About That would make a button automatic presets to pass Those 6 or 7 presets Automatically When Pressed. And do this before using the plugin.
But how could I do this?
Or my project this wrong? Then the thing change much.

Regards
Attachments
Examplecontroller.osm
Midi cc
(43.4 KiB) Downloaded 51 times
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby trogluddite on Wed Apr 11, 2012 3:29 pm

Hi there,
I had a quick look at your design, and also examined the preset save text file. Looks mostly correct, but a couple of things I can think of might be a problem.

1) You say this is for control of a hardware synth, and also that the complete one has many extra controls. When a preset changes, many parameters can change at the same time - so maybe too much data is sent too quickly, so the hardware does not receive the data correctly.

2) Integer changed. Good idea! to make less data to send. But also could be making a problem. When SM plugin is saved, all "integer changed" remember the value from working in the SM editor program. When plugin is then loaded in the VST host, some values will not send because they are equal to to the "SM editing" values.
Maybe to fix this, go inside all "Integer changed" and add "After Load" (connect same as "After Dup" - this will send "initialise" values when plugin is started, and reset all Integer changed at startup.

Also, here is something that may help you to analyse the problem - it is a small module to show a list of all MIDI data coming from the output (you can stretch the module to see more lines)...
MIDI Analyse.osm
(5.54 KiB) Downloaded 47 times
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: First presets wrong

Postby tektoog on Wed Apr 11, 2012 3:40 pm

I couldn't have said it better... ;)
Essential random order for chaotic repetitive sequences
User avatar
tektoog
essemilian
 
Posts: 440
Joined: Mon Apr 07, 2008 12:21 am
Location: Alps-France

Re: First presets wrong

Postby yimianders on Wed Apr 11, 2012 5:16 pm

Ohh, very very thanks.

I have the midi output Monitored
You're right, The controls are not all sat at first.

I have added the load after like this in the scheme to all controls. Now this a little better, but not the end solution. When the plugin is Now Opened, he send the controllers CORRECTLY. But This does not work in mode mode VSTi. The change presets do the same as before, I have to go-through Those 6 or 7 presets.


In other words, this works if the midi output is connected Automatically But does not work in VST mode.

I Should Have a function similar to "after load" but as "after select preset", right?

Here is what I added:



Regards
Attachments
int changed.osm
change
(403 Bytes) Downloaded 46 times
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby trogluddite on Wed Apr 11, 2012 6:40 pm

yimianders wrote:I Should Have a function similar to "after load" but as "after select preset", right?

Ah, yes - that is a very good idea!
The preset manager has a wireless link for just this purpose, so you only need to add one simple part to the "Integer Changed"...
After Preset Change.png
After Preset Change.png (35.94 KiB) Viewed 763 times

Wireless will only make a connection if the name and type are a perfect match, so you must make this carefully..
First add "Wireless Input" from Element toolbox. Change the name; it must be exactly "After Preset Change". Then R-click on the circle connector part, and choose Trigger type connector. The "Radio Signal" icon will turn green when the link is made correctly (Grey in my picture because no Preset Manager in that schematic).
If you look inside Preset Manager you can see the Transmitter for this signal - it will wait until all values are loaded before it sends out the trigger.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: First presets wrong

Postby yimianders on Wed Apr 11, 2012 6:47 pm

yeeeeaaaaH!!!!


Already solved,


Truly You have Given me ideas, and finally Many I have added one thing and it works perfectly.
Ohhh god!
Very very thanks to all

Regards
Attachments
int changed.osm
solved
(417 Bytes) Downloaded 45 times
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby yimianders on Wed Apr 11, 2012 6:51 pm

Hi trogluddite,

I have answered at once.
Thanks for your solution. At the moment I is working all right, but I'll remember your solution.

regards
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby trogluddite on Wed Apr 11, 2012 7:20 pm

Hi again.
Your "solution" is interesting, but not ideal - in fact, it is "breaking" the "Integer Changed" so that all values pass through (even when no change).

Hard to explain quickly, but it works something like this...

1) Value changes - blocker at input stops triggers going many places.
2) Trigger does get to the Trigger Switch.
3) Trigger switch sends a special "Backwards" trigger from boolean input - this forces the Not/Equals etc. to update value calculated from current input.
4) "Backwards" triggers will pass through Trigger Blocker - so if values are the same, the "true" from the Equals will be seen. If not the same, "true" value from Not will be seen.
5) X OR (NOT X) = Always True, so the Trigger Switch will never turn off.
6) Integer Changed now has no effect, all triggers will pass.

The idea of "Backwards Triggers" is very confusing - and not explained well in the user guide etc. You can find HERE a guide I wrote about this - Sorry, only in English, but many diagrams may help understanding.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: First presets wrong

Postby yimianders on Wed Apr 11, 2012 11:40 pm

Hi,

O.K, very good.

Then, Can I have problems with my solution?,
I should have read Before the forum, Because I have put my solution to the 100 controls in my project.
Now I have to change one to one again, >:(
What if I do not change? :S


I have yet much to learn,

thank you very much for the explanation.

regards
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Re: First presets wrong

Postby trogluddite on Thu Apr 12, 2012 1:10 pm

yimianders wrote:Because I have put my solution to the 100 controls in my project.
Now I have to change one to one again,

Ouch! :o
For the future - for identical modules (e.g. 100s of Integer Changed!) - you can select many identical modules (too late if already edited). R-click, choose "Synchronise All".
Synchronised modules will all change together when only one is edited.
Can also be done when copy and pasting - use CTRL-SHIFT-V for "Synchronise Paste" to make the pasted module already synchronised to the original one.

yimianders wrote:Then, Can I have problems with my solution?

Well, it should be reliable for always sending valid data (good) - but there may be many extra triggers that are not really needed, so will use more CPU. Also potential to "choke" the MIDI connection because of too much data, but that will depend how good your hardware is for receiving "fast" data.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3024
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: First presets wrong

Postby yimianders on Thu Apr 12, 2012 6:49 pm

Hi,

O.K, very thanks
I take my hat for your advice, very friendly.
I have been very slow to build the 100 controls, now I can go as a ferrari

regards
yimianders
essemer
 
Posts: 16
Joined: Fri Dec 09, 2011 11:11 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest