EXS 24 Logic Sampler Users Group group photo

Yahoo Groups archive

EXS 24 Logic Sampler Users Group

Index last updated: 2026-04-28 23:25 UTC

Thread

Chromatic Mapping with numbered files

Chromatic Mapping with numbered files

2003-06-02 by Hans Hafner

Hi there,

Is anyone else a little bit put off with the following:

I have several audio files that are consecutively numbered and I wish 
to auto map those

Then the EXS just randomly throws those in any order it likes instead 
of starting at C1 with file xxxx 1

Is there any way around this except naming the files with the 
corresponding keynotes? That would be rather a pain since I have to 
do it by hand or does anyone know a good trick of doing this with 
File Buddy? The thing with File Buddy is, that if you name 
alphabetically it doesn't go back to A once it hit the G and that is 
kind of vital to the whole thing :-)

Thanks for the help

Cheers
Hans

Re: [EXS] Chromatic Mapping with numbered files

2003-06-02 by Hendrik Jan Veenstra

On a fine day, 02-06-2003, Hans Hafner wrote:

>I have several audio files that are consecutively numbered and I wish
>to auto map those
>
>Then the EXS just randomly throws those in any order it likes instead
>of starting at C1 with file xxxx 1
>
>Is there any way around this except naming the files with the
>corresponding keynotes? That would be rather a pain since I have to
>do it by hand or does anyone know a good trick of doing this with
>File Buddy? The thing with File Buddy is, that if you name
>alphabetically it doesn't go back to A once it hit the G and that is
>kind of vital to the whole thing :-)

File Buddy can't do this.  It would be relatively easy to write an 
Applescript that does this though.  What is the exact format of the 
source & target filenames?

I.e. something like:

source = name + space + number + ".aif", and target = name + space + 
note/octave + ".aif", turning "viola 12.aif" into "viola B2.aif" for 
example.  Naming should start with file number 1 = C1.

If you can provide such a template (if the source names follow such a 
template at all, which I hope for you), then I might be able to come 
up with a script that does the renaming.

-- 
Hendrik Jan Veenstra  <h@...>
Omega Art: http://www.omega-art.com/

Re: [EXS] Chromatic Mapping with numbered files

2003-06-02 by Hans Hafner

At 9:28 Uhr +0200 02.06.2003, Hendrik Jan Veenstra wrote:
>source = name + space + number + ".aif", and target = name + space +
>note/octave + ".aif", turning "viola 12.aif" into "viola B2.aif" for
>example.  Naming should start with file number 1 = C1.
>
>If you can provide such a template (if the source names follow such a
>template at all, which I hope for you), then I might be able to come
>up with a script that does the renaming.

I don't have a specific template unfortunately...

but: if you write the script so it replaces a certain string in the 
name (lets take xnnn, where x is something that has to be there for 
the script to recognize that it should change from this point on, and 
nnn is the number that then gets translated to the keys from C1 up) 
then it should work for any filename, shouldn't it?

I think this would be a very helpful utility! Thank you so much for 
suggesting this.

Cheers
Hans

Re: [EXS] Chromatic Mapping with numbered files

2003-06-02 by Hendrik Jan Veenstra

On a fine day, 02-06-2003, Hans Hafner wrote:

>At 9:28 Uhr +0200 02.06.2003, Hendrik Jan Veenstra wrote:
>>source = name + space + number + ".aif", and target = name + space +
>>note/octave + ".aif", turning "viola 12.aif" into "viola B2.aif" for
>>example.  Naming should start with file number 1 = C1.
>>
>>If you can provide such a template (if the source names follow such a
>>template at all, which I hope for you), then I might be able to come
>>up with a script that does the renaming.
>
>I don't have a specific template unfortunately...
>
>but: if you write the script so it replaces a certain string in the
>name (lets take xnnn, where x is something that has to be there for
>the script to recognize that it should change from this point on, and
>nnn is the number that then gets translated to the keys from C1 up)
>then it should work for any filename, shouldn't it?

Hmm... not sure...  Don't all files happen to end the same way?  Like 
<text><number> followed by ".aif" or something?

Of course the script could also be written such that it simply 
appends 'C1' and the like to the end of the filename.  Would that 
suffice?  This would potentially give files like "trumpet 1.aifC1" 
though...

>I think this would be a very helpful utility! Thank you so much for
>suggesting this.

No problem...  How about sending me a (part of) the directory listing 
of your files in private mail (plain text preferred) -- take some 
random samples from a couple of folders, so that I can see if I can 
find any system in the names that would be useable.

-- 
Hendrik Jan Veenstra  <h@...>
Omega Art: http://www.omega-art.com/

Re: [EXS] Chromatic Mapping with numbered files

2003-06-02 by Hans Hafner

At 11:44 Uhr +0200 02.06.2003, Hendrik Jan Veenstra wrote:
>No problem...  How about sending me a (part of) the directory listing
>of your files in private mail (plain text preferred) -- take some
>random samples from a couple of folders, so that I can see if I can
>find any system in the names that would be useable.

I think it could be done this way:

I use File Buddy to replace ".aif" with let's say "XZ.aif" so we end 
up with a file named "something 001 XZ.aif"

Then you can have the script to find replace XZ with the note that 
corresponds to 001 (C1)

But maybe I'm way off here too... I will try and find one of the 
folders and mail it to you.

Thanks so much for the effort!

Cheers
Hans

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.