Welcome, Guest
Username: Password: Remember me

TOPIC: How does "use an external tool" work exactly?

How does "use an external tool" work exactly? 1 year 3 months ago #1

  • Ludwig Ventura
  • Ludwig Ventura's Avatar
  • Offline
  • New Member
  • Posts: 4
I made a shell script to transform a mono sample to stereo and apply a convolution reverb on it. I call the script from anywhere and give the wav file as argument. This wav gets processed and replaced. I'm trying to use this script in Polyphone calling it with use an external tool and using as command
"/path/to/myScript.sh" {wav}
but I only get a dialog "it wasn't possible to start the command". Any suggestions?
The administrator has disabled public write access.

How does "use an external tool" work exactly? 5 months 4 weeks ago #2

  • Davy
  • Davy's Avatar
  • Offline
  • Administrator
  • Organ enthusiast and creator of Polyphone
  • Posts: 412
  • Thank you received: 98
You could try to write this line (not tested):
sh "/path/to/myScript.sh" {wav}

You need to make sure that the script has execution rights and that it can take the argument into account

But you will have a problem if you separate the original mono sample into a stereo sample in your script. Polyphone will reload the exported mono sample itself after the script has been run: all extra files that would have been created will be ignored.
The administrator has disabled public write access.
Time to create page: 0.061 seconds