Maize sample batch import script - can anyone transform it into a program?

Official English support for: maizesoft.cn
User avatar
Scherer
KVRist
64 posts since 10 Dec, 2003 from Germany

Post Tue Sep 19, 2017 2:10 am

Recently I developed a PHP script which is able to batch import a bunch of sample folders into an existing Maize instrument. Now this tool is veeeery basic and suiting my needs only. Feel free to use it, but I won't give any support. Unless someone wants to transform it into a real app for Windows and/or OS X.

Download it here:
https://www.dropbox.com/s/4e3irtur2aftf ... r.zip?dl=0

Here's a brief explanation:
Unzip the script, place it into your webservers htdocs folder and open the script from your webserver. Basically you copy a .ms2 file into the Maize folder and sample folders (!) with WAV files into the samples folder. You may need to change the permissions for all files to 777, so the script is allowed to change sample names and overwrite the .ms2 file. It will try to set the necessary permissions itself, but on OS X and Linux systems this won't work.

The script does only accept WAV files. Every sample folder will be converted to one group in Maize and the groups' name will be the folder name. The WAVs are mapped onto the keyboard, so their root note should be part of the filename (like Bass A1.wav, Pad-C3.wav etc). The script then maps the samples onto their root notes and fills the spaces with setting note ranges. If no root note is given, the samples are mapped chromatically, starting from C1.
The samples are browsed for their length and loop points, this can take up a while, that isn't optimized yet. It could even result in server timeouts.

That's it. When starting the script, select your .ms2 file and the script will copy all samples/folders into that .ms2 instrument (with relative paths, so keep the folder structure later on), creating groups for all sample folders. You can switch between Maize and the script anytime, the GUI and instrument settings are not affected by the script.

Cheers,
Marco

PS: The groups also get sorted by category, so you could name your sample folders BS Bass, PD Pad sound, LD... AT... FX... and so on. AT and PD sounds get different envelopes (slow attack, long release). Furthermore AT and FX sounds are put to the end of the preset list, so that basses, leads, pads etc. are upfront.

PPS: The „Move single samples..." option is useful when you have one single sample folder with lots of samples that should result in individual folders/groups. The script then just creates a folder for every sample and moves the sample into it. Just some kind of simple batch processing.
Last edited by Scherer on Mon Jun 15, 2020 10:43 pm, edited 2 times in total.
electronic music and sounddesign - http://www.marcoscherer.de

User avatar
SampleScience
KVRAF
4082 posts since 31 Oct, 2004 from Mtl, Canada

Post Tue Sep 19, 2017 3:37 am

So it's you! Thank you for this amazing & much needed tool that will save me a lot of time!

Cheers! :tu:

zombo66
KVRer
29 posts since 11 Jul, 2017

Post Sat Sep 23, 2017 2:07 am

This is great cheers!!

User avatar
Platinum Sounds
KVRer
22 posts since 26 Apr, 2017 from Detroit

Post Tue Nov 21, 2017 3:39 am

Sounds interesting, Im looking at this now.
Certainly beyond my scope of training but if I manage to get anything that works I'll shoot you an update. :tu:

Edit: When I attempt to use this I get clicks in the instruments upon note release.
Cant quite figure out what is causing this.

zombo66
KVRer
29 posts since 11 Jul, 2017

Post Sun Feb 04, 2018 10:23 am

For anyone trying to map samples from folder best method I found was count the amount of samples in a folder and enter key range u desire for example key 60 would be middle key I have 8 samples in folder 60+8=68 so you enter 60-68 samples will get layed out in the single keys then move and right click to root...

Zoopy
KVRist
36 posts since 11 Apr, 2006

Post Mon Jun 15, 2020 8:28 pm

Can someone repost this?

User avatar
Scherer
KVRist
64 posts since 10 Dec, 2003 from Germany

Post Mon Jun 15, 2020 10:43 pm

Zoopy wrote:
Mon Jun 15, 2020 8:28 pm
Can someone repost this?
I updated the Dropbox link
https://www.dropbox.com/s/4e3irtur2aftf ... r.zip?dl=0
electronic music and sounddesign - http://www.marcoscherer.de

User avatar
kingozrecords
KVRist
353 posts since 7 Apr, 2019

Post Sun Sep 13, 2020 11:13 am

I program in php and can also figure out the dos commands. Maybe with something as rudimentary as flowstone it is possible. maybe ruby, hard to say now. I'll mention it and make a full program if possible.
View products by king OZ records
Youtube - about king OZ records: https://youtu.be/oJh0XKz5sBo
Youtube - about king OZ's attitude: https://youtu.be/0WPDzNyfXcY

User avatar
Scherer
KVRist
64 posts since 10 Dec, 2003 from Germany

Post Sun Sep 13, 2020 11:52 am

Cool! Keep me up to date, please :)
electronic music and sounddesign - http://www.marcoscherer.de

User avatar
kingozrecords
KVRist
353 posts since 7 Apr, 2019

Post Thu Sep 17, 2020 1:46 pm

Sure, I want to know more about maize inter-compatibility so it's a priority for Me, but I need to update My Freq 2 EQ for the weekend. I'll let you know what happened.
View products by king OZ records
Youtube - about king OZ records: https://youtu.be/oJh0XKz5sBo
Youtube - about king OZ's attitude: https://youtu.be/0WPDzNyfXcY

Return to “Maizesoft”