Home Audio npm for MacOs High Sierra
Reply: 0

Audio npm for MacOs High Sierra

user639 Published in August 16, 2018, 6:17 am

I have an audio-buffer that I want to play in MacOs. I've tried audio-player and several others but they all seem to use an mpg123 coreaudio library that always returns a buffer underrun warning that goes into an endless loop after playing the audio buffer.

const audioDecode = require('audio-play');

... (create buffer from mp3) ...

audioDecode(buff).then(audioBuffer => {

I have had the same error using speaker.

NOTE: This is using MacOs High Sierra

I specifically want to play the mp3 contained in the buffer without writing to a file.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.291238 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO