Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 05-22-2019, 08:41 AM   #1
rezOnance
Human being with feelings
 
Join Date: Nov 2013
Posts: 26
Default $namecount counting incorrectly (FIXED)

Hi,

I am building gun sounds in layers. So I have tracks named: Mechanism, Noise, Punch - and I have 5 regions for each gunshot. My render name is: Gun_Fire_$track_$namecount which gives me the following files:

Gun_Fire_Mechanism_01
Gun_Fire_Mechanism_02
Gun_Fire_Mechanism_03
Gun_Fire_Mechanism_04
Gun_Fire_Mechanism_05
Gun_Fire_Noise_01
Gun_Fire_Noise_02
Gun_Fire_Noise_03
Gun_Fire_Noise_04
Gun_Fire_Noise_05
Gun_Fire_Punch_01
Gun_Fire_Punch_02
Gun_Fire_Punch_03
Gun_Fire_Punch_04
Gun_Fire_Punch_05

This works flawlessly.

I want to design a separate LastBullet sound on a new track/region(06) and render it using the same method (Gun_Fire_$track_$namecount) and I'm hoping to have it named it as: Gun_Fire_LastBullet_01

But instead I'm getting: Gun_Fire_LastBullet_06.

This is the only version of that sound, and $namecount implies that it'd be '01' but it's using the region name instead?

Is this working as intended?

Cheers,

Rez

Last edited by rezOnance; 05-22-2019 at 08:52 AM.
rezOnance is offline   Reply With Quote
Old 05-26-2019, 05:34 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

It is working as documented:
Quote:
$namecount 1 for the first item or region of the same name, 2 for the second...
In this case region 6 is the 6th region of the same name... If region 6 isn't used for the other tracks, you could rename it to something with a unique name.

It looks like we should add a new wildcard which is "nth item rendered on this track". edit: adding this, $timelineorder_track

Last edited by Justin; 05-26-2019 at 08:59 AM.
Justin is offline   Reply With Quote
Old 05-26-2019, 09:18 AM   #3
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

I think that's a good idea with a new wildcard. Slightly more intuitive.

Would you also be able to tweak the $filenumber wildcard?

Currently, the $filenumber wildcard is always displayed in 3 digits - 001, 002, 003, which isn't used very commonly as most people aren't rendering more than 100 tracks of stems (as opposed to regions or items). Would you be able to make the default 2 digits and then use $filenumber[N] to change the digits? For example:

- If N=01 then the render uses two digits.
- If N=001 then the render uses three digits.
Klangfarben is offline   Reply With Quote
Old 05-26-2019, 11:27 AM   #4
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Quote:
Originally Posted by Klangfarben View Post
I think that's a good idea with a new wildcard. Slightly more intuitive.

Would you also be able to tweak the $filenumber wildcard?

Currently, the $filenumber wildcard is always displayed in 3 digits - 001, 002, 003, which isn't used very commonly as most people aren't rendering more than 100 tracks of stems (as opposed to regions or items). Would you be able to make the default 2 digits and then use $filenumber[N] to change the digits? For example:

- If N=01 then the render uses two digits.
- If N=001 then the render uses three digits.
Yep, was thinking the same thing (will leave the default as 3 digits to preserve existing behavior for $filenumber without a [N] suffix).
Justin is offline   Reply With Quote
Old 05-26-2019, 11:40 AM   #5
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Quote:
Originally Posted by Justin View Post
Yep, was thinking the same thing (will leave the default as 3 digits to preserve existing behavior for $filenumber without a [N] suffix).
Thank you so much, Justin!
Klangfarben is offline   Reply With Quote
Old 05-28-2019, 01:47 AM   #6
rezOnance
Human being with feelings
 
Join Date: Nov 2013
Posts: 26
Default

Quote:
Originally Posted by Justin View Post
It looks like we should add a new wildcard which is "nth item rendered on this track". edit: adding this, $timelineorder_track
This should work perfectly for me, thanks
rezOnance 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 11:03 AM.


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