Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install saycloud

How to install Saycloud

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install saycloud
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.2.4 Available View build log
Linux (64-bit)
0.2.4 Available View build log
0.2.4 Available View build log
 
Links
Author
License
MIT License
Dependencies
Lastest release
version 0.2.4 on May 21st, 2013

Saycloud is a little python script (and some ancillary helpers) that glues together text-to-speech synthesisers with Soundcloud.

Currently supported are:

  • OSX's 'say'
  • Google Translate TTS

You end up with something like this.

Installation

System Message: ERROR/3 (<string>, line 16)

Unknown directive type "code-block".

.. code-block:: bash

  $ pip install saycloud

or

System Message: ERROR/3 (<string>, line 22)

Unknown directive type "code-block".

.. code-block:: bash

  $ easy_install saycloud

Usage

System Message: ERROR/3 (<string>, line 29)

Unknown directive type "code-block".

.. code-block:: bash

  $ saycloud --help
  usage: saycloud [-h] [-e ENGINE] [-t TITLE] -s SAY [-v VOICE]

  Saycloud - text to Soundcloud.

  optional arguments:
    -h, --help            show this help message and exit
    -e ENGINE, --engine ENGINE
                          The language engine to use for text to speech (default
                          is "say").
    -t TITLE, --title TITLE
                          Track title (on Soundcloud)
    -s SAY, --say SAY     Words to say.
    -v VOICE, --voice VOICE
                          Voice to use. Get a list for say on OSX: say -v ? or
                          for Google Tranlsate:
                          https://developers.google.com/translate/v2/using_rest
                          #language-params

System Message: WARNING/2 (<string>, line 49)

Explicit markup ends without a blank line; unexpected unindent.

Example

An entertaining little example to get you going:

System Message: ERROR/3 (<string>, line 54)

Unknown directive type "code-block".

.. code-block:: bash

  $ saycloud -t "Test Foo Bar Baz" -v "Cellos" -s "Foo foo foo foo foo foo bar foo foo bar bar bar baz foo foo foo foo foo foo foo bar foo bar foo bar baz"


Which will run something like this the first time around:

System Message: ERROR/3 (<string>, line 61)

Unknown directive type "code-block".

.. code-block:: bash

  Incorrect username/password
  username: cellols
  Password:
  Do you want to store your Soundcloud username and password at
  ~/.saycloud so you don't have to enter them in future? (y/n) y
  https://soundcloud.com/cellols/test-foo-bar-baz

Further reading

Google Translate has many languages/voices it can mangle your text with, some of which may just produce noise or otherwise not work.

You can see a full list of the language codes here.

By default, en is used.

Subscribe to package updates

Last updated May 21st, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.