#Where do I put scripts?
1 messages · Page 1 of 1 (latest)
Here is a little information on Python Scripting: https://manual.audacityteam.org/man/scripting.html
I have read that and it doesn't answer my question of where I put my script.
I don't believe it matters. Anywhere you can run a Python script. This would be independent of Audacity. Have you run pipe_test.py yet ?
huh when I tried running it before it didn't work but now it does
but how do I work from pipe_test.py?
it's too many functions
Well, congratulations! You have gotten further that I have. No one ever said scripting was easy. 😀 A little bit xxx I mean a lot of elbow grease should do the trick!
@oblique bone Sorry to bother you again but I can't quite figure out how to use the ChangeSpeed: says that the default value is 0? I don't understand the syntax for the function. If you don't know either, could you point me to someone who might?
like, am I supposed to enter 20 for 1.2x the original speed? and even then, it doesn't seem to be doing anything.
Yes, that is correct. A percentage change of 0 is the same as multiplying by 1. And 1.2x would be a percentage of 20. If it is not working for you, check that you have done Select All first.
You are going to find scripting Audacity with Python very difficult if you don't know how to use Python.
If you are familiar with programming in some other language, then you may be able to use that instead of Python. The main requirement is that the language must support "Named Pipes". Some languages that I know of that support Named Pipes:
- Python
- Bash
- Powershell
- Perl
- C / C++
- Rust
- PHP
- JavaScript
sir I know how to use python, but there are just so many functions in the code and I typically code without functions
but from what I can tell, import file doesn't take an optional argument for which file to open so you need to manually select it (which is good since that would be a security risk but it also makes my code really inconvenient)