GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Mike Stone (mike@fosstodon.org)'s status on Saturday, 27-Apr-2024 23:07:46 JST Mike Stone Mike Stone

    Yes, I'm actually this lazy.

    #!/usr/bin/bash

    INPUT_FILE=$1

    if [ ! -f ${INPUT_FILE} ]
    then
    echo "File ${INPUT_FILE} doesn't exist. Please try again."
    exit 1
    fi

    cat ${INPUT_FILE} |python3 -m piper --model en_GB-alan-medium --output-raw | aplay -r 22050 -f S16_LE -t raw -

    In conversation about a year ago from fosstodon.org permalink
    • Embed this notice
      Mike Stone (mike@fosstodon.org)'s status on Saturday, 27-Apr-2024 23:07:45 JST Mike Stone Mike Stone
      in reply to
      • MobileOak

      @MobileOak It's a call to the piper tts engine that converts the provided file (should be text) to audio. The shell script that code is from is called read2me on my system, so I just type read2me file.txt and it reads the file out loud.

      In conversation about a year ago permalink
    • Embed this notice
      Ethan Black (golemwire@social.librem.one)'s status on Saturday, 27-Apr-2024 23:07:45 JST Ethan Black Ethan Black
      in reply to
      • MobileOak

      @mike @MobileOak Wouldn't spd-say or espeak work? Spd-say is pre-installed on a lot of Linux systems.

      In conversation about a year ago permalink
    • Embed this notice
      MobileOak (mobileoak@fosstodon.org)'s status on Saturday, 27-Apr-2024 23:07:46 JST MobileOak MobileOak
      in reply to

      @mike what does the python part do?

      In conversation about a year ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.