Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Help on shell script please! Dalek voice changer

  1. #1
    Join Date
    Sep 2008
    Location
    Wales
    Beans
    78
    Distro
    Ubuntu 13.10 Saucy Salamander

    Help on shell script please! Dalek voice changer

    Ok, I've worked out how to change the voice in audacity, but I was wondering if there was a way to have audacity automatically make the changes to the file.

    My plan is to have the user input some text into a zenity dialogue, which will then be piped to a file using espeak. I would then like audacity to make the changes on the file to Dalekize it. I've worked out the espeak bits but don't know where to start on the audacity bits. Thank you if you can help me with audacity!

  2. #2
    Join Date
    Sep 2008
    Location
    Wales
    Beans
    78
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Help on shell script please! Dalek voice changer

    So far I have this code:-
    #!/bin/bash

    espeak -w voice.wav "$(zenity --entry --text="Type what you want to say , followed by [ENTER]:")"

    But am completely stumped on how to do the audacity bit
    Can I even do the audacity bit from cmd?

  3. #3
    Join Date
    Jan 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Help on shell script please! Dalek voice changer

    Quote Originally Posted by neojames View Post
    So far I have this code:-
    #!/bin/bash

    espeak -w voice.wav "$(zenity --entry --text="Type what you want to say , followed by [ENTER]:")"

    But am completely stumped on how to do the audacity bit
    Can I even do the audacity bit from cmd?
    have you looked at audacity documentation?
    I am infallible, you should know that by now.
    "My favorite language is call STAR. It's extremely concise. It has exactly one verb '*', which does exactly what I want at the moment." --Larry Wall
    (02:15:31 PM) ***TimToady and snake oil go way back...
    42 lines of Perl - SHI - Home Site

  4. #4
    Join Date
    Sep 2008
    Location
    Wales
    Beans
    78
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Help on shell script please! Dalek voice changer

    Yes, I couldn't find much and what I did, I didn't really understand. I was hopeful somebody would be able to give me an example or something. I also think what I did find was about building plug-ins

  5. #5
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,705
    Distro
    Ubuntu Development Release

    Re: Help on shell script please! Dalek voice changer

    you must find the flags that audacity gives....for example
    audacity -f file -d [option] 3242 -s [otheroptions]
    etc.....
    This is only an idea...

  6. #6
    Join Date
    Sep 2008
    Location
    Wales
    Beans
    78
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Help on shell script please! Dalek voice changer

    This is the output I got when I typed audacity -help in console:-
    Command-line options supported:
    -help (this message)
    -version (display Audacity version)
    -test (run self diagnostics)
    -blocksize nnn (set max disk block size in bytes)

    In addition, specify the name of an audio file or Audacity project to open it.

  7. #7
    Join Date
    Jun 2010
    Location
    Austria - Graz
    Beans
    124
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Help on shell script please! Dalek voice changer

    Doesn't it have a manpage?

  8. #8
    Join Date
    Sep 2008
    Location
    Wales
    Beans
    78
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Help on shell script please! Dalek voice changer

    Yes, but it just says the package description and the options I posted above.

  9. #9
    Join Date
    Feb 2007
    Beans
    4,045
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Help on shell script please! Dalek voice changer

    It also says:
    Code:
           Audacity  is  primarily  an interactive, graphical editor, not a batch-
           processing tool. Whilst there is a basic batch processing  tool  it  is
           experimental  and  incomplete. If you need to batch-process audio or do
           simple edits from the command line, using sox or ecasound driven  by  a
           bash script will be much more powerful than audacity.
    So it sounds like you'll want to have a look at sox and ecasound.

  10. #10
    Join Date
    Sep 2008
    Location
    Wales
    Beans
    78
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Help on shell script please! Dalek voice changer

    Will they have access to 3rd party plugins?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •