Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 01-06-2025, 11:42 PM   #1
the brok
Human being with feelings
 
the brok's Avatar
 
Join Date: Oct 2006
Location: at home, mostly
Posts: 719
Default Scripting Professionals - drag&drop-render midi items to audio to the media explorer?

Hi all you scripting-professionals,

here's a challenge for you coding pros'(i myself am way too dumb for scripting/coding - i know my limits)


is it possible to create a script/action to allow for the following:

- drag&drop-rendering selected midi items to audio to an open location in the media explorer? Utilizing a pre-saved render preset (without saved path) via modifier key(s), creating a sub folder with the item name (which is always the same for every item each render process)?

- drag&drop-rendering audio items to audio to an open location in the media explorer? Utilizing a pre-saved render preset (without saved path) via modifier key(s), creating a sub folder with the item name (which is always the same for every item each render process)?

This is (almost) possible in Studio One. But since v7 Studio One got extremely laggy here, almost unable to work with - while reaper seems to run smooth and snappy no matter what.

Here's the background:
I am a sound designer - i do presets for synthesizers/samplers, etc. for my living. So often i also have to create multi samples, that i create with the use of software instruments (I don't use hardware anymore). So i would shrink down the whole process of creating multi samples as much as i can.
So so far in Studio One i made a template project which contains 2 tracks. One track containing 61 items with each note from c1 to c6. And one track containing 21 items with each note every 3rd halftone. These midi items were named after the note names (i.e. c3, c4, and so on). Each item is around 12 seconds long, so that i have time to loop these samples correctly.
Now, in Studio One all i had to do was, to drag&drop these midi items onto an audio track, and it instantly rendered these items individually to audio onto that track, keeping the item names. From there all i had to do was, to drag these audio items to the browser into a preferred location.
From there on all i had to do is to loop these audio files in an audio editor, then meta-normalizing them (loudest of the multi samples to -0.1dbfs, all others in relation), and finally adding the multi sample name to the existing names with a batch rename tool. So f.e. when the rendered multi sample was named c1, c2, c3 etc - i had to ad the name , f.e. "soft pad" to the audio files, in order for them to finally be named "soft pad c1", "soft pad c2", etc.

Now in Reaper i would love to do it almost the same - except i wouldn't want to be forced to render these selected midi items to a new track first - but simply be able to render these midi items via drag&drop directly to a location in the media explorer, utilizing a predefined render preset - and each multi sample, containing either these 61 or 21 midi items will be rendered to audio into a subdirectory (automatically named after the item - because these midi items always have the name of the multi sample - f.e. "soft pad") in that location. So that i'd ideally end up with each multi sample with its 61 or 21 audio files being saved in one location within the respective subdirectories named after the respective multi sample.

Would such a script or action be doable?

Please chime in and let me know - and thanks for taking the time to read.
__________________
regards,
nico herz
BIGTONEsounddesign
the brok is offline   Reply With Quote
Old 01-07-2025, 01:10 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 10,489
Default

Quote:
Now in Reaper i would love to do it almost the same - except i wouldn't want to be forced to render these selected midi items to a new track first

I'm pretty sure you can do your post processing (normalizing, metadata etc) in reaper without rendering to track first, with the Normalize... features in render window, or ar least with pre-render scripts, or even an action which take care of the render and post processing etc but without needed the drag to media explorer.



Hooking media explorer click and drag seems not optimum (there is no reascript hook for checking click and drag.in media exporer). Click and drag is avalaible in GFX and ReaImGui though, so if the ability to click and drag is deeply needed, then a media explorer (can be just folders) based on these UI framework could be used.


I see you are calling Scripting Professionals, is this a paid job ?



Cheers !
X-Raym is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.