write a scipt to apply a noise audio file to another clean audio file
- User
write a scipt to apply a noise audio file to another clean audio file
Assistant
macOS % Applescript version %load /Users/Admin/Downloads/DSC_0148.wav
This is my first time using Applescript. Please bear with me as I learn.
Let's start by finding the path to our DSC_0148.wav audio file.
tell application "Finder" set targetFile to (choose file) end tell
Now that we have the path to the audio file, we can load it into Applescript using theload command.
%load
We can apply a noise audio file to another clean audio file using the apply noise command.
tell application "Finder" set newFile to make new audio file at targetFile with properties {file format:audio file format gsm mono} set noise track of newFile to (load audio file "/Users/Admin/Downloads/DSC_0148.wav") end tell
I hope this was helpful and good luck with Applescript!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.