Re: SoundEdit 16 v2 -help - Documentation? --
Re: SoundEdit 16 v2 -help - Documentation? --
- Subject: Re: SoundEdit 16 v2 -help - Documentation? --
- From: Brennan <email@hidden>
- Date: Sun, 20 Jul 2003 15:32:33 +0200
On Thu, 17 Jul 2003 13:00:20 -0700, email@hidden wrote:
>
Hi group,
>
>
Does anyone use sound edit? Or think maybe there is a better
>
program?
It's still an old standby around here. Nothing fits quite the same niche,
but it feels old and clunky these days.
>
I wanted to convert files from a few places so that they all
>
have the 20.05 sampling rate (I'll worry about the multiple
>
files thing later) -- my main concern right now is figuring out
>
how to use the simple ideas of SoundEdit's "scriptability."
>
Such as 'convert format'.
If I were you I would switch to QuickTime Player for this kind of job.
SoundEdit's "scriptability" has never impressed me particularly (although
you might want to check out the little app called 'automator' which was
bundled with it).
QuickTime Player can easily export as AIFF with a given sample rate. Using
your script as a starting point, you might do something like this;
set f to (choose file)
set exportFile to (choose file name)
close access (open for access exportFile) -- create dummy file
tell app QuickTime Player
set m to (open f)
tell m
export to alias exportFile as AIFF using most recent settings
close saving no
end tell
end tell
This requires that you perform one export manually, where you can fix the
sample rate or whatever. Thereafter, 'most recent settings' will do the
right thing.
Presumably you want to batch this job, so 'choose file' and 'choose file
name' isn't going to cut it. Instead you'd be looking at a droplet, or
choosing a folder as input or something, and then generating the output
paths on the fly, but that's a more general question which you might ask
seperately if (as I suspect) you don't already know how to do that.
Brennan
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.