Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
1 answer
38 views

I want to to add a speaker node in Python. I have make a robot node, then I add the speaker node in the robot's children. But when I run the code, it say this: INFO: music_controller: Starting ...
1 vote
0 answers
142 views

const ToneStream = require('tone-stream') const Speaker = require('speaker'); ...
0 votes
1 answer
548 views

const speaker = new Speaker({ channels: 2, bitDepth: 16, sampleRate: 44100, device: null, }); stream.pipe(speaker); I need it for break playing sound. ...
0 votes
1 answer
2k views

I'm trying to use node-speaker to speak an Amazon polly stream, once read I'm saving into a file a cache and second time I want to read that file with the speaker. It works well but the script is ...
jaumard's user avatar
  • 8,322
0 votes
1 answer
621 views

I am creating a music streaming service using the MEAN stack. So far, I have written code that uploads an mp3 file to my MongoDB database, using GridFS, and I can also download that file to the root ...
1 vote
1 answer
3k views

I've installed some packages before with no problems, but with this one, I've tried lot of things with same results. user@laptop:~/Mayhem/server/node_modules$ npm install speaker npm WARN package....
1 vote
2 answers
5k views

i need to play sound on the raspberry pi with a node.js script. Everything is fine when i'm starting the script from the commandline myself. When i run the same script after startup out of the /etc/rc....
3 votes
1 answer
5k views

Below are some code snippets from three of my functions to start, pause, and resume a readable stream in Node.js. However, I would like a better way to control the Speaker() object besides initiating ...
5 votes
1 answer
3k views

I'm trying to play some mp3 files in node.js. The thing is that I manage to play them one by one, or even, as I want in parallel. But what I also want is to be able to control the amplitude (gain) to ...

AltStyle によって変換されたページ (->オリジナル) /