preenfm Forum

PreenFM => preenfm2 and preenfm3 => Topic started by: vurt on January 21, 2021, 12:48:48 PM

Title: Turn patches into a bank on PC?
Post by: vurt on January 21, 2021, 12:48:48 PM
So i've made 200+ new patches recently using the fantastic editor, they're saved on my PC.. Isn't there some way i can make these into a bank(s), or do i have to upload each individual patch?

I have 500 patches saved in total now (300 are uploaded manually, one by one) but i want to rearrange all of it, which will be very tiresome if i have to upload each of the 500 patches from the editor and do the saving on the preenfm2.

Just a simple script where you put all patch files you want as a bank in a folder and execute a .bat file to merge it to a bank would be immensely helpful :)
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on January 21, 2021, 08:52:06 PM
So i've made 200+ new patches recently using the fantastic editor, they're saved on my PC.. Isn't there some way i can make these into a bank(s), or do i have to upload each individual patch?

I have 500 patches saved in total now (300 are uploaded manually, one by one) but i want to rearrange all of it, which will be very tiresome if i have to upload each of the 500 patches from the editor and do the saving on the preenfm2.

Just a simple script where you put all patch files you want as a bank in a folder and execute a .bat file to merge it to a bank would be immensely helpful :)

Aouch...
Editor files and pfm bank are totally different. First one is a ziped xml text file, and the second one is a dump memory of the ARM memory.
Pfm can read bank but knows nothing about editor file, and vice-versa.

Let me think about a solution....  ???

Title: Re: Turn patches into a bank on PC?
Post by: vurt on January 21, 2021, 09:13:06 PM

Aouch...
Editor files and pfm bank are totally different. First one is a ziped xml text file, and the second one is a dump memory of the ARM memory.
Pfm can read bank but knows nothing about editor file, and vice-versa.

Let me think about a solution....  ???

Thanks, hope you can come up with something! Because I can hardly be alone in wanting to either upload a complete bank or sometimes wanting to rearrange your entire bank(s) so it all has to be uploaded again.
It can really turn into a mess after a while where the banks have no consistency (can be cool too, but makes it hard to find specific sounds)..
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on January 21, 2021, 09:51:43 PM

There were several requests about bank management.
I also need one :)
Can be fun to do.

I think that could be done from the editor menu :

1. Create folder presets from preenfm bank
2. Create preenfm bank from folder presets

(2) requires a step to reorder the preset.

Title: Re: Turn patches into a bank on PC?
Post by: vurt on January 21, 2021, 11:03:59 PM
That would be amazing :) Having so much fun with this synth but the bank management is an issue for sure.
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on January 24, 2021, 10:18:58 PM
Just for the update.
I'm working on that.

Hope to have something within a week.
Title: Re: Turn patches into a bank on PC?
Post by: vurt on January 25, 2021, 12:14:24 AM
Oh cool, you've made my day (well night actually) :)
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on January 30, 2021, 10:04:19 PM

Hi vurt,
Can you give a try at the editor v 3.1.0 ?
https://github.com/Ixox/preenfm2Controller/releases

Please backup your bank and preset before using it.
I made a fair amount of tests but i woudln't like a bad bug to corrupt your bank ;)
Title: Re: Turn patches into a bank on PC?
Post by: vurt on January 30, 2021, 10:05:49 PM

Hi vurt,
Can you give a try at the editor v 3.1.0 ?
https://github.com/Ixox/preenfm2Controller/releases

Please backup your bank and preset before using it.
I made a fair amount of tests but i woudln't like a bad bug to corrupt your bank ;)

Yay! I will test it :) Thanks a lot!
Title: Re: Turn patches into a bank on PC?
Post by: vurt on January 30, 2021, 11:05:42 PM
Seems to work great! Really great interface with both renaming and drag and drop, love it, more than i could ever ask for :)

The only issue for us with eurorack version is that these new editors don't yet have CV in the destinations. But i checked, and its possible to create a bank and it won't mess up these settings for the patches, i also tried renaming and thus resaving the patch and it won't remove or mess up these destinations either, so that's good! I can switch to the older editor with the CV destinations when i create patches.

Man, the editor is really state of the art now, i mean i use Elektron's editors for Analog Four and Digitone and to me this editor is easier to use just more no-nonsense overall, really great work.
 
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on January 31, 2021, 10:20:39 AM
Thanks for the feedback  and nice words :)

You're right, the modif i made for pfm2/pfm3 switch does not work well with the Eurorack version.
Will fix that.
Title: Re: Turn patches into a bank on PC?
Post by: vurt on January 31, 2021, 10:21:27 PM
Might have discovered a bug?

I've noticed that every time i make a bank i get 2 doubles. E.g now i have two patches called "Darkmess" even though i only have 1 file called that. If i remove the 1 filled called Darkmess, and try again; now i have no patch called that.

Before that i made a bank and i had two patches named "Death", so i removed the file called "Death" from the folder, tried again, same thing, no patch now exists with that name.

So it does not seem like i have named two patches the same thing.

I have used 128 files in the folder, no more, no less.

edit: yeah, if i remove "Darkmess", now i instead have two patches called "Dancechord", so it just took the next file in order and made it a double. 
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 01, 2021, 09:20:13 AM

OK looks like a bug.

Do you see the double in the "drag&drop / reorganize" window ? or only in the bank ?
What position is the double ? the last one ?

Can you zip the folder and share it somewhere ?
Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 01, 2021, 12:58:54 PM
I can email a .7z archive to you, give me the email adress :)
 
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 01, 2021, 05:50:22 PM

OK got your bank. Not listened to it yet ;)

Which one is doubled when you create a bank from the presets you sent me ?
Cannot see any double.

I Tried on PC.
Do you use a mac ? (will try on mac later).

Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 01, 2021, 05:58:25 PM

OK got your bank. Not listened to it yet ;)

Which one is doubled when you create a bank from the presets you sent me ?
Cannot see any double.

I Tried on PC.
Do you use a mac ? (will try on mac later).

How odd, i tried again and now there are no doubles. I've restarted my PC one time, maybe that has something to do with it. So it's all good it seems :) The last time the patch DataCrush was there x2.

The patches are meant to be played with my own wav's... i can send them too if you want them. not all uses my own waveforms but perhaps 50% of the patches. they are also monophonic and many actually needs a CV to CV3 and 4 to sound "right".. but some might sound cool without it too.

Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 07:29:51 AM
How odd, i tried again and now there are no doubles. I've restarted my PC one time, maybe that has something to do with it. So it's all good it seems :) The last time the patch DataCrush was there x2.

Ouch i hope it's not a random bug because of some file cache...  :-\

I published a release 3.1.1
https://github.com/Ixox/preenfm2Controller/releases
There's a readme in the zip that explains how to have all the matrix input for Eurorack.


Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 03, 2021, 10:09:40 AM
How odd, i tried again and now there are no doubles. I've restarted my PC one time, maybe that has something to do with it. So it's all good it seems :) The last time the patch DataCrush was there x2.

Ouch i hope it's not a random bug because of some file cache...  :-\

I published a release 3.1.1
https://github.com/Ixox/preenfm2Controller/releases
There's a readme in the zip that explains how to have all the matrix input for Eurorack.

I did it like the instructions, i now get the CV options. Unfortunately this changed the new editor to have two destinations in the mod matrix, i've not had that before (no, not even after version 2.11.4). So this broke all my patches when uploading or reading my patches, it will just say "NONE" in the matrix destinations (which i use a lot).

Stupid as i was i just deleted or overwrote my old folder in users/roaming-whatever.

Any idea of how i can solve that?

edit:

installed the old editor which just had one destination (v2.11.4) and it's CV xml file. Tested. It reads my files like it should.
Started the new editor, it will still show two destinations, loaded a file and like expected it's broken + it breaks the whole bank if i try to make a bank since it doesn't understand the destinations.
I also tried deleting its xml files, replacing them + renaming with the old 2.11.4 versions, but it will still show 2 destinations in the matrix.

Any way to make the new editor just have 1 destination like i had before? i guess this is in some XML file.. or if really bad, it was some bug which is now solved, that would suck because then i have 300 bugged patches and i will have to upload them one by one like before (since they do work in the old 2.11.4 editor).

Edit: also, not sure if its a bug, when loading a patch it defaults to my documents, every time. so each time you have to go into the folder you're working in. usually programs like this can remember where you where when you loaded the last time so it defaults back to that folder instead of the default location.
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 02:36:46 PM
Aouch lots of edit, i don't know any more what is you problem at the end  :)

Stupid as i was i just deleted or overwrote my old folder in users/roaming-whatever.
Any idea of how i can solve that?

If one of the XML file does not exists it's recreated with default value when the editor is lanched.
So it should be OK.

Destination problem  :o
Oh no.. I know what's wrong.
This editor is a real pain. Comaptibility with all previous version and preenfm2 and 3 make this super complicated.
And a lot of things to test.
Thanks a lot for all your tests !  8)
Please stick with your old version untill 3.1.2.


There are some code to remember last selection. Seems like it does not work :/
Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 03, 2021, 02:42:34 PM
Aouch lots of edit, i don't know any more what is you problem at the end  :)

Stupid as i was i just deleted or overwrote my old folder in users/roaming-whatever.
Any idea of how i can solve that?

If one of the XML file does not exists it's recreated with default value when the editor is lanched.
So it should be OK.

Destination problem  :o
Oh no.. I know what's wrong.
This editor is a real pain. Comaptibility with all previous version and preenfm2 and 3 make this super complicated.
And a lot of things to test.
Thanks a lot for all your tests !  8)
Please stick with your old version untill 3.1.2.


There are some code to remember last selection. Seems like it does not work :/

ok, no worries. hopefully there's some type of solution. i just don't understand why i can't get the new editor to have one destination like i had before. that would solve my problem and it would be compatible again. was it just bugged and now it's not?

I can't even begin to imagine how complicated coding is.. i suck at anything math or code lol.
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 03:18:13 PM
ok, no worries. hopefully there's some type of solution. i just don't understand why i can't get the new editor to have one destination like i had before. that would solve my problem and it would be compatible again. was it just bugged and now it's not?

The supervisor will always have 2 destinations as latest firmware have.
But it should work well with old patch that has been created with one destination.


Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 03, 2021, 03:22:20 PM
old patch?
i just want it to be like before i did this update, because then it worked i could create a bank and destinations were properly transferred, and i guess the reason for that is that i only had 1 destination in the new editor.
 
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 05:30:22 PM
old patch?
i just want it to be like before i did this update, because then it worked i could create a bank and destinations were properly transferred, and i guess the reason for that is that i only had 1 destination in the new editor.

Sorry i'm lost.
Can you just say what is not working now ? (What you do, what you see, what you expect to see)
And what is the latest version that was working ?
(I'm a bit tired ;) )
Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 03, 2021, 07:27:44 PM

Sorry i'm lost.
Can you just say what is not working now ? (What you do, what you see, what you expect to see)
And what is the latest version that was working ?
(I'm a bit tired ;) )

Sure!

In previous (v3.1.0) the Editor only had ONE destination in the matrix section, like it has always been for me when working with the older editor (2.11.4 with CV xml added).
 
Now, when i updated the xml files for CV, did the reset, installed the latest editor - there are TWO destinations (which is how it should be in the newer versions, right?).
Unforunately this is not compatible with my patches because the mod matrix now don't understand what's supposed to be in the destinations, everything there says NONE, instead of e.g Modulator Decay etc etc

I don't know why it worked before, why i had one destination instead of the two.. maybe a bug, a bug that made it work? i could use 3.1.0 to create banks just fine, now it's not possible, i will lose all the destinations in the matrix.

Hope it's more clear :)

If i had a bug, i guess you can't help because it was just a bug (that also happened to be beneficial to me, made these patches work).

 
Edit: ok, after messing with the xml files and switching versions, using both old a new, it does seem to work. i get two destinations but the first destination no longer says NONE it's the correct one. Haha, no idea what i did but at least this should work. So you can ignore all this. puh. finally i can make my banks :)
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 09:10:54 PM
Let me try to clarify the situation :)

The editor has 2 destinations since v 2.12.0.
There is a bug since this version v2.12.0 which is :
Editor v2.12.0 and newer don't load correctly patches created with editor v2.11.4 and before. All destination of those "old" presets will be set to "none".

I'll publish a v3.1.2 asap.

Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 03, 2021, 09:15:43 PM
Let me try to clarify the situation :)

The editor has 2 destinations since v 2.12.0.
There is a bug since this version v2.12.0 which is :
Editor v2.12.0 and newer don't load correctly patches created with editor v2.11.4 and before. All destination of those "old" presets will be set to "none".

I'll publish a v3.1.2 asap.

Ok, good  :D it actually does work now with the first destination correctly, but again, that took some fiddling with using both the latest version + v2.11.4, i must have mixed up the files in some way where it understood the destinations heh, no idea what i did.

Your support is truly 10/10 :)
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 09:18:07 PM
Your support is truly 10/10 :)

Thanks :)
I really want this editor to work correctly.

But i'm afraid you'll lose some destinations for your patches if you use the 3.* version with your old patches.

Anyway... have i have all the  v3.1.2 binaries to compile
Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 03, 2021, 09:27:28 PM
Your support is truly 10/10 :)

Thanks :)
I really want this editor to work correctly.

But i'm afraid you'll lose some destinations for your patches if you use the 3.* version with your old patches.

Anyway... have i have all the  v3.1.2 binaries to compile

Excellent, thanks a lot for all the work.
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 03, 2021, 10:21:56 PM

Editor 3.1.2 is available. Hopefully the good one :)
Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 05, 2021, 12:37:47 AM

Editor 3.1.2 is available. Hopefully the good one :)
There does seem to be some bugs. At least for me.

When using a folder to create a bank in the root of C:\ (like C:\patches) it says it created the bank in "C:\" but it doesn't. The .bnk is no where to be found. If i have the same folder on the desktop it works, it creates the .bnk on my desktop.

For some reason i don't get sound when loading a patch into the new editors, or when sending an already loaded patch to preen. I tried saving such a patch to see if i could get it working if e.g turning on/off the preen, but such patches are completely silent.
 
Here's a video: https://youtu.be/f2-ppVxQZMU



Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 05, 2021, 08:49:32 AM
WOW !! the preenfm is not alone in your RACK ! beautifull  8)

There does seem to be some bugs. At least for me.

OK let's see ;)

When using a folder to create a bank in the root of C:\ (like C:\patches) it says it created the bank in "C:\" but it doesn't. The .bnk is no where to be found. If i have the same folder on the desktop it works, it creates the .bnk on my desktop.

I assume the editor does not have acces to "c:\" so it cannot create a patch here. You don't have write access.
I admit a error message would have been nice ;)
Use one more folder level :
"c:\preenfm\patches"
And make sure you have write access to "c:\preenfm."


For some reason i don't get sound when loading a patch into the new editors, or when sending an already loaded patch to preen. I tried saving such a patch to see if i could get it working if e.g turning on/off the preen, but such patches are completely silent.

In your video, I see the voices set to 0 which explains the silence. (a video is always usefull :) )
A big error i made was was to use in the pfm3 the bank "voices" place to store something else.
And now that makes everything so complicated when i want to be compatible with both.
So this can be a bug.
Will take a look.


Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 05, 2021, 09:51:36 AM
ah so it defaults to zero voices, how stupid i didn't check hehe. all my patches are mono, so just one voice.. so i don't know what happens if i have more voices, maybe it takes one away and you didn't notice it because of it, if you have most patches with 4 voices or so..

and thanks, yeah it's getting crowded in there  ;D
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 06, 2021, 09:44:23 PM

I tried to reproduce the voice 0 bug. And i didn't success.

With editor version 3.1.2, the only way i have voice set to 0 i to export a bank with "preenfm 3" format and to read this bank with a preenfm2.

Other solution, is that you create this bank with 3.1.0 or 3.1.1 which were a big buggy  :-\

Or you did something special... if so i'd like to have the steps  ;)


Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 06, 2021, 11:24:19 PM

I tried to reproduce the voice 0 bug. And i didn't success.

With editor version 3.1.2, the only way i have voice set to 0 i to export a bank with "preenfm 3" format and to read this bank with a preenfm2.

Other solution, is that you create this bank with 3.1.0 or 3.1.1 which were a big buggy  :-\

Or you did something special... if so i'd like to have the steps  ;)

I've tried doing a patch from scratch with the latest editor, saving then loading it. Still get the 0 voices bug (it says one voice actually but you have to switch to more voices and then back to 1 to get the voices working again).

I also tried a complete reinstall, making sure i removed all the old folders.

Minor annoyance, doesn't matter to me really.
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 07, 2021, 11:04:06 AM
I've tried doing a patch from scratch with the latest editor, saving then loading it. Still get the 0 voices bug (it says one voice actually but you have to switch to more voices and then back to 1 to get the voices working again).

Thanks :)
I was looking for 0 voice in the editor... but OK the editor is fine but the information sent to the preenfm2 is wrong.
That's a MAJOR annoyance from my point of view  ;)
Will make one more new version with the last file/folder choosed kept in memory.

Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 07, 2021, 12:36:19 PM
I've tried doing a patch from scratch with the latest editor, saving then loading it. Still get the 0 voices bug (it says one voice actually but you have to switch to more voices and then back to 1 to get the voices working again).

Thanks :)
I was looking for 0 voice in the editor... but OK the editor is fine but the information sent to the preenfm2 is wrong.
That's a MAJOR annoyance from my point of view  ;)
Will make one more new version with the last file/folder choosed kept in memory.

Great to hear. I don't mind switching back/forth between editors but obviously it's better to have just one version that works for everything :)
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 07, 2021, 05:37:16 PM
Great to hear. I don't mind switching back/forth between editors but obviously it's better to have just one version that works for everything :)

Thanks for all your tests.
v3.1.3 is available.
Title: Re: Turn patches into a bank on PC?
Post by: vurt on February 07, 2021, 06:14:13 PM
Great to hear. I don't mind switching back/forth between editors but obviously it's better to have just one version that works for everything :)

Thanks for all your tests.
v3.1.3 is available.

No bugs that i've discovered. Remembers last folder, no problem with muted voices :)
Title: Re: Turn patches into a bank on PC?
Post by: Xavier on February 07, 2021, 08:51:09 PM
No bugs that i've discovered. Remembers last folder, no problem with muted voices :)

I'm so happy to read that !  :D