Resample Sessions

I’ve just got some new hardware which allows me to record at 48000 instead of 44100, but this means i need to resample my old sessions to 48000.
I’ve tried the resample_session.pl file that was suggested in a thread i found on this forum but it appears to be extremely old and looks for a /sounds directory that is no longer used in the latest versions of ardour. Does anybody know what can be done?

I’d like to know a simple way of doing this, too.

I may be missing something here but Audacity will do this for you.

A session in Ardour is a more complex than one in Audacity; there is a tool in the source distribution that does this, but it’s command line only. See http://ardour.org/node/1216 and http://ardour.org/node/2913

Yes, I found that but whenever I use resample_session.pl it says something along the lines of “cannot find /sounds”. I think it’s looking for a folder that no longer exists in Ardour sessions. I also don’t know perl so I’m clueless to editing the file :S

Sorry for the double post, but I worked out how to do it.
You need to create a folder called “sounds” within the session folder and move all the files from /interchance/(session name)/ folder to /sounds.
Next you need to create a fodler called “Automation” (just so the script doesn’t complain of it’s absence).
Then after running teh script you can move all the audio files back into /interchance/(session name)/.
Last thing to do is to open the (session name).ardour file and change sample-rate=“44100” on line three to sample-rate=“48000”.

Excellent. Anyone know where the tools directory has gone? I can’t find resample_session.pl anywhere…

@pleasebeus: its only available in an SVN checkout. its not included in the tarball.

Got it; thanks Paul. For anyone else’s convenience: http://viewcvs.ardour.org/index.cgi/ardour2/ardour2/branches/2.0-ongoing/tools/

Wouldn’t it be simpler just to make a symbolic link rather than moving the files around? i,e.

ln -s ./interchange/${session_name} ./sounds

the existing script already tests for …/sounds and if not found it looks for the newer directory structure. so i am not sure what the problem is.

It seems to get stuck without a sounds directory before it even looks for the new directory structure.

I noticed that if I have session name with hyphens (e.g. “2010-06-16”) the subdirectory of “interchange” would be named “2010_06_16” but the script expects it to have the same name with the session.

Here in 2022 with Ardour 6.9. Has resampling 44.1 > 48 gotten any easier?

Sadly no. Although there are plans to allow to run the engine at a different rate than the session in the not too distant future.

Is there a specific problem with working at 44.1k and then only exporting at 48k?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.