#1 2008-11-21 20:18

Sunshy
Member
Registered: 2008-11-21
Posts: 7

More efficient way of adding music note numbers to file names?

Hello, I'm creating a sampled instrument and thus renaming a lot of .wav files  which are named this way:

Filename 21 description.wav
Filename 22 description.wav
Filename 23 description.wav
Filename 24 description.wav
Filename 25 description.wav
Filename 26 description.wav
Filename 27 description.wav

I'd like to add a specific note name to accompany each number and have them end up named this way:

Filename A0 21 description.wav
Filename A#0 22 description.wav
Filename B0 23 description.wav
Filename C1 24 description.wav
Filename C#1 25 description.wav
Filename D1 26 description.wav
Filename D#1 27 description.wav

I'm prepared to program many "find replace" rules (88 of them) as follows: find: 21 and replace with: A0 21, find: 22 and replace with: A#0 22, etc. But is there a more efficient way of accomplishing this? Any insight would be appreciated!

Offline

#2 2008-11-22 02:53

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: More efficient way of adding music note numbers to file names?

Hi Sunshy and welcome.

One way is to use an Translit file

1.) create an new text file in Translits folder ,  with name f.ex. notes.txt
2.) fill this notes.txt-file with your substitutes:
21=A0 21
22=A#0 22

3.) Add rule "Translit"
4.) load notes.txt with the little 'AB'-button

Here is an picture for better explanation.

ReNamer_Translit.PNG

Last edited by Stefan (2008-11-22 02:55)


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2008-11-22 05:33

Sunshy
Member
Registered: 2008-11-21
Posts: 7

Re: More efficient way of adding music note numbers to file names?

Hi Stefan, thanks very much for the informative response. It worked great. Hopefully now I can just tweak this file in something like microsoft word (using find/replace) if I need to edit it a bit. I love renamer. I have fun renaming files!

Offline

#4 2008-11-22 09:35

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: More efficient way of adding music note numbers to file names?

You are welcome, great this works for you. smile



Sunshy wrote:

... Hopefully now I can just tweak this file in something like microsoft word (using find/replace) if I need to edit it a bit. ...

Sure you can, just take care to save it as plain text *.txt file.

But why WORD?, notepad is all you need.
BTW, there is a good MS-notepad replacement at http://www.flos-freeware.ch/notepad2.html with more nifty features if you care.


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

Board footer

Powered by FluxBB