Notifications
Clear all

RX2 to UNIFY tutorial  

  RSS

thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
June 30, 2020 6:27 pm  

Out of curiosity and for testing, I've created a process and a tutorial for importing a RX2-file as slices and midi file in order to use with MIDIBox and Guru Sampler.

The process includes;
- create new library and set up the file structure in UNIFY
- create slices and midi from Recycle
- Generate sfz file using a template in a spreadsheet program.
- Create new patches from the imported files with MIDIBox and Guru Sampler.

The process is described in this YouTube video (
my absolute first YouTube video ever;-)): https://youtu.be/y_KJhB2M1h0 . (Link to new corrected video!)
Link to download the spreadsheet template is in the video description.

Hope this is useful to anyone else.

BR
Thomas

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


Quote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
June 30, 2020 9:54 pm  

Thanks @thsve 

This is useful in helping me piece the process together. The only difference for me is that I don't have Recycle but will use Reason to split the RX2 files. The spreadsheet should also help to make the sfz file more quickly. 


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 9 months ago
Posts: 990
July 1, 2020 6:29 pm  

The only thing I would change is that the folders under each library folder should be called "MIDI Files" and "Samples" (capitalized exactly that way). It's OK to use the un-capitalized name "samples" for the folder containing the WAVs (one level below "Samples").


ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 1, 2020 6:48 pm  

@thsve I have just got this working using Reason, so thanks again for your video and spreadsheet. The conversion of the .rx2 files to .wav in Reason was easy but I couldn't get it to output the MIDI file. Anyway, I finally worked out that if you double click on the wav folder header it opens in Dr OcotoRex and from there you can "copy loop to track" to make the MIDI file. I had to rename the wav output files but used Magic File Renamer which makes it much easier to batch rename. Your spreadsheet worked fine 👍 

@getdunne I used the folder names that you already used in the standard libraries just to be on the safe side.  


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 1, 2020 6:56 pm  

@getdunne

Ok, thank you for the input. I will change that.

I’m working on further automating the process mostly because I think it’s fun and that I obviously are too nerdy 🤗, and the fact that I have quite a few RX2-files that would be great to have in UNIFY.

Keep up the good work with UNIFY both you and John!

 

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 9 months ago
Posts: 990
July 1, 2020 7:03 pm  

@thsve

Thank you for the kind words, and THANK YOU for sharing this and putting the video on YouTube. This will help a lot of existing Unify users, and may attract some new ones.

Would you be able to edit the Description text of your video (I think you can do that after posting it. If not, maybe just add a comment.) to explain about the folder names?


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 1, 2020 8:14 pm  

@getdunne

You are welcome!

I have put up a new version of the video containing the corrections. Actually there was a small "bug" in the spreadsheet also so a new version is uploaded there also.

New video: https://youtu.be/y_KJhB2M1h0

What is the problem if naming as I did, I didn't experience any obvious problems?

The process is really pure basics, but maybe it will evolve further.  

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 9 months ago
Posts: 990
July 1, 2020 9:32 pm  

@thsve

MIDIBox looks for a folder called "MIDI Files". Guru Sampler looks for one called "Samples". Your MIDI file links will probably work even if you use a different folder name. Calling your library's samples folder "samples" instead of "Samples" will work on a Windows PC (where case is not significant in the file system) but not on a Mac (where it is).


Robert.P liked
ReplyQuote
Robert.P
(@robert-p)
Eminent Member
Joined: 4 months ago
Posts: 38
July 1, 2020 10:30 pm  

@getdunne

The attached picture shows my folders structure. I keep my patches in sub-folders, the only problem is that my presets images (Media folder) are shown only for presets placed in the main folder. Is the sub-folders support possible?


ReplyQuote
getdunne
(@getdunne)
Member Admin
Joined: 9 months ago
Posts: 990
July 1, 2020 11:55 pm  

@robert-p

Unify has little support for sub-folders under the Patches folder at the moment, BUT if you put a 96x96 PNG or JPG image (just one) into each of your sub-folders, that image will be displayed for all the patches in that folder.

Out of curiosity, why do you organize your folders this way, when Unify won't show this folder structure?


ReplyQuote
Robert.P
(@robert-p)
Eminent Member
Joined: 4 months ago
Posts: 38
July 2, 2020 12:05 am  

@getdunne

Thanks for the tip with the image! Its easier for me to work with sub-folders while I'm experimenting with my own patches as I haven't developed any naming scheme yet:)


getdunne liked
ReplyQuote
Robert.P
(@robert-p)
Eminent Member
Joined: 4 months ago
Posts: 38
July 2, 2020 3:15 am  

In my case keeping my patches in separate sub-folders has paid off: I placed the images as @getdunne suggested and now each category has its own picture - I couldn't achieve it if all my patches were in the same folder:) Great feature, thanks!


ReplyQuote
Robert.P
(@robert-p)
Eminent Member
Joined: 4 months ago
Posts: 38
July 2, 2020 3:24 pm  

I attached the screenshot of multiple instances of Unify running on my PC to show you how I utilised a "Patch in Sub-folder Image Support" feature (and to make you all jealous because the Unify looks even more sexy now;)


ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 4, 2020 12:08 pm  

@thsve I have been using your spreadsheet a lot and it works well. The only issue I had was that the output from Reason named the files in a different way to how your spreadsheet was expecting them from Recycle. Initially I renamed the files using Magic File Renamer which worked but was a hassle.

So I have now modified your spreadsheet to accept the file naming as it comes out of Reason and it has sped up the process a lot. I will probably make a batch file to do the whole process after the Reason editing which should speed things up further. Thanks again for the spreadsheet which certainly saved me a fair bit of time. 

If anyone else who uses Reason wants a copy of the modified spreadsheet are you OK for me to post it here? I only made a minor modification to your version on the output sheet to make the file naming work for Reason output.

Alternatively, I list the changes I made below...

- column Q to starts from 0 instead of 1

- the formula I used in column R is ="["&TEXT(Q2,"0")&"]" 


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 4, 2020 12:29 pm  

@zinct

I’m glad that my effort was to any use. I'm just about to further simplify the process. I am removing the spreadsheet and replaces it with a script (Powershell). The process becomes much simpler and faster. Hopefully I'm done later today. Will publish the script and a document with instructions when I'm done, there will be no video this time.

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 4, 2020 12:32 pm  

@thsve thanks, that sounds even better. I will wait for your powershell version! 


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 4, 2020 8:42 pm  

The new version will not be ready today.

I haven't decided if I want a "flatter" or "deeper" library directory structure in UNIFY. The "deeper" one is done. Probably do both variants.

Watching Skippy's livestream right now 😀.

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 4, 2020 9:13 pm  

I'm also watching 😎

Look forward to it when it's ready. 


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 5, 2020 12:35 pm  

Here is my modified process for importing splitted Recycle files into UNIFY. This process replaces the earlier one that was based on a spreadsheet. This is based on Powershell script and should be more streamlined than the one before. The included zip file containes;

- "Manual" in PDF format (RX2 To UNIFY_1.pdf)
- Two different script files:
-- RX2_To_UNIFY_Deep_1.ps1
-- RX2_To_UNIFY_Flat_1.ps1

They do the same job, but creates different file structures. Test both and choose the one that suites your situation best. Both works in UNIFY.

I would appreciate feedback and suggestions.

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


Robert.P liked
ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 5, 2020 3:28 pm  

Thanks @thsve 

I tested RX2_To_Unify_Flat and it worked fine provided I renamed the output WAV files from Reason.

Reason names the exported WAV files without leading zeroes....   filename [0], filename [1], filename [2] etc etc up to filename [9] and then filename [10], filename [11] etc.

Without renaming these your script makes 2 sfz files (one for 0 to 9 and another for 10 onwards etc) and the lokey/hikey designations are wrong. I used Magic File Renamer (I have made a preset for this now) to rename them to be filename [00], [01] etc and your script then worked as expected and I successfully created a Unify patch with the sfz created by your script.

Thanks for your efforts.

All I need now is something to batch convert from .rx2 to .wav + MID. I haven't found anything on Windows that will do this.

 


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 5, 2020 4:22 pm  

@zinct

Ok. The script is based of the way Recycle number the slices (ending with 001 to nnn(number of slices) so it is understandable that it doesn’t work correctly. Glad that you could fix it. I would also like to find a way to batch conversion. Maybe I can use Powershell script to automatically open, export and exit Recycle for all files in a folder or something. I am new to scripting so everything takes longer than neccessry, but thanks to Mr. Google I get there😇.

I have actually further developed the script to automaticly copy the structure to the UNIFY library, but since I don’t want to be responsible for trashing others UNIFY library due to my bad programming I will not publish it🤗.

I have som more ideas that I will continue with. This is unfortunately too fun.


 

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 5, 2020 4:47 pm  

Sorry, missed that you mentioned that the lovel/hivel designations are wrong.

In what way, when I run it it looks OK. It looks as in @getdunnes example in the UNIFY manual.

When I run the script I get:

<group> lokey=36 hikey=36 pitch_keycenter=36
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 001.wav
<group> lokey=37 hikey=37 pitch_keycenter=37
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 002.wav
<group> lokey=38 hikey=38 pitch_keycenter=38
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 003.wav
<group> lokey=39 hikey=39 pitch_keycenter=39
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 004.wav
<group> lokey=40 hikey=40 pitch_keycenter=40
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 005.wav
<group> lokey=41 hikey=41 pitch_keycenter=41
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 006.wav
<group> lokey=42 hikey=42 pitch_keycenter=42
<region> lovel = 0 hivel = 127 sample=Samples/Drum_Fill_02 007.wav

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 5, 2020 6:29 pm  
Posted by: @thsve

@zinct

Ok. The script is based of the way Recycle number the slices (ending with 001 to nnn(number of slices) so it is understandable that it doesn’t work correctly. Glad that you could fix it. I would also like to find a way to batch conversion. Maybe I can use Powershell script to automatically open, export and exit Recycle for all files in a folder or something. I am new to scripting so everything takes longer than neccessry, but thanks to Mr. Google I get there😇.

I have actually further developed the script to automaticly copy the structure to the UNIFY library, but since I don’t want to be responsible for trashing others UNIFY library due to my bad programming I will not publish it🤗.

I have som more ideas that I will continue with. This is unfortunately too fun.


 

You have done a great job so far and looks like you are having fun doing it 😎 I used to dabble with old DOS shell scripts but Powershell looks like a whole new ball game. Would be interested to hear how you get on with automating the REX --> Wav conversion part.

By the way, the output was only wrong when I fed it something it wasn't expecting i.e. the filenames provided by Reason without renaming them. As I said, it then produced two SFZ files with the wrong lokey/hikey designations. It's not something that you need to fix, I just need to rename the files or modify your script to cope with wonky filenames 😀 .


ReplyQuote
thsve
(@thsve)
Eminent Member
Joined: 6 months ago
Posts: 24
July 7, 2020 3:55 pm  

@zinct

I have made some progress with automating conversion of RX-files. It is not pretty, but it does the job simpler and faster than manually 😀 .

I found a free program, AutoHotKey, that allows you to script a lot of things e.g. keystrokes and commands. I've created a "simple" script that loops a directory with RX2-files that I choose and for each rx2-file it:
- opens Recycle.exe
- opens the recent file
- sends a number of keystrokes to Recycle to export the file to  the RecycleFiles directory.
- closes Recycle.exe
- moves to next file
- ......

It is just start the script by a "hotkey" and just watch Recycle work by it self as if you have done it manually😎.

Win 10/Cubase Pro 10.5/Wavelab 8/Spectrasonics all/NI 12/Izotope MPS2Serum/Cthulhu/MusicLab guitar vsts/etc


ReplyQuote
Jeremy Hall
(@zinct)
Member
Joined: 1 month ago
Posts: 38
July 7, 2020 7:06 pm  

@thsve that seems like a good workaround. I will try it on Reason. Thanks


ReplyQuote
Share: