MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bugsounet
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 13
    • Posts 249
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Trouble playing audio file

      just because sometime i'm kind... (my favorite sentence!)

      Try this:

      const gTTS = require('gtts');
      var player = require('play-sound')(
        opts = {
          player: "mpg123" // use only `mpg123` for playing sounds
        }
      );
      var gtts = new gTTS('text to speak', 'es-es');
      
      // main file player 
      function playing (file) {
        player.play(file, (err) => {
          if (err) throw new Error(err)
        });
      }
      
      gtts.save('/tmp/hello.wav', (err, result) => {
        if(err) { throw new Error(err) }
        console.log('Success! start playing result.');
        // right ! sound file is created let's play it !
        playing("/tmp/hello.wav");
      });
      

      Notes:

      • You need to install mpg123 app with sudo apt-get install mpg123
      • I replace your play library by play-sound for better compatibility
        Don’t forget to install this library npm install play-sound
      • You can see manual of play-sound library there
      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: Trouble playing audio file

      @sdetweil the problem is not there…
      The problem is you can’t play a file when it’s not fully created!

      2 solutions:
      Make a promise
      Or play the file when the file is created

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: Help I need the MMM-MplayerRadio recipe for GA

      Because I’m kind sometime…

      I found this in archived GA repo

      posted in Entertainment
      bugsounetB
      bugsounet
    • RE: Can't find another module

      @OliWer, yes MagicMirror is complex (like your real live !)

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: Can't find another module

      @Fonfon maybe, if you search better ;)

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: *REQUEST* what is needed for google to respond to most of requests?

      no problem actually for this:

      Read/add event calendar
      Read/search spotify
      Search/play YouTube
      Control home connected device

      posted in Requests
      bugsounetB
      bugsounet
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @selyjohns I done NO ads in this forum, sorry

      posted in Development
      bugsounetB
      bugsounet
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @selyjohns

      MMM-PIR-Sensor state is :
      This repository has been archived by the owner. It is now read-only.

      I will not doing a patch on every update for this @paviro module

      Just use another maintened pir module

      posted in Development
      bugsounetB
      bugsounet
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @michael5r with pleasure ;l

      posted in Development
      bugsounetB
      bugsounet
    • RE: MMM-PIR-Sensor Guide with Edits and Updates

      Please no ads of any of my modules
      If no one respect this rules. I will make private it

      posted in Development
      bugsounetB
      bugsounet
    • 1
    • 2
    • 13
    • 14
    • 15
    • 16
    • 17
    • 24
    • 25
    • 15 / 25