Old 11-15-2019, 03:13 PM   #1
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default Render wildcard numbering problem...

I'm trying to get my mind around the wildcards available for render. But I don't get it...

I have sampled my old ESQ-1, and have now in a Reaper project 800 samples stored as a matrix with 25 regions, one for each note C2 to C4, and named such. I have 8 tracks for velocities 16, 32, ..., 127. For each note I have four different samples (to make a round robin), so in each region there are four items on each track.

Now I want to render all these items so that I get all items in the same region to have the same prefix number, followed by the region name, the track name, and a serial number 001 to 004. These would all be unique file names.

When I render with:
Code:
$regionnumber-$region-$track-$namecount
I expected to get:
Code:
01-C2-16-01.wav
01-C2-16-02.wav
01-C2-16-03.wav
01-C2-16-04.wav
01-C2-32-01.wav
...
02-C#2-16-01.wav
...
But what I get instead is mysterious to me:
Code:
01-C2-16-01.wav
02-C2-16-02.wav
03-C2-16-03.wav
04-C2-16-04.wav
01-C2-32-05.wav
02-C2-32-06.wav
...
05-C#2-16-01.wav
...
For one thing, it seems that $regionnumber is not the same as region ID, which was what I expected. And $regionnumber goes to 100, how can that be when I have only 25 regions?

I cannot for the life of me understand how to achieve what I want. And I have tried *all* variants I can think of. I have also checked similar postings
https://forum.cockos.com/showthread.php?t=133499
https://forum.cockos.com/showthread.php?t=85546
https://forum.cockos.com/showthread.php?t=165125
but I still don't get it.

Does anyone know how to achieve what I want?
Is it even possible?
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 11-15-2019, 03:25 PM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

$regionnumber is incremented each time a region -- any region -- is rendered. $namecount is incremented every time a media item with the same name is seen.

I think you can get close to the result you want if you rename the first region 01-C2, the second 02-C#2, etc, and then render with $region-$track. That will automatically add -001 to the first item in one region/track matrix cell, -002 to the second, etc.
schwa is offline   Reply With Quote
Old 11-15-2019, 03:49 PM   #3
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Ah! So simple. Thanks.

But far from obvious, I would say. I do not understand where the -001, -002 etc suffixes come from. I do not have "Silently increment..." turned on. And the example filename in the render dialog does not show any suffix.

But doing it this way got me what I wanted. Thanks.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   Reply With Quote
Old 11-15-2019, 06:06 PM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

Do you know you can click the "N files" button to see the entire list of rendered files?
schwa is offline   Reply With Quote
Old 11-16-2019, 05:01 AM   #5
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by schwa View Post
Do you know you can click the "N files" button to see the entire list of rendered files?
I didn't know. Thanks for the tip. And the help.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is online now   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 12:56 PM.


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