3 Replies - 1019 Views - Last Post: 19 May 2015 - 12:58 AM

#1 supcat1000  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 04-May 15

how to turn mono audio into stereo audio with JavaScript?

Posted 18 May 2015 - 06:44 PM

I want to build a website that can take a monaural audio and can break it down into a stereo audio. This way I can play one sound threw the right speaker of a set of headphones and another sound threw the left speaker. If their is a place I can learn the code for taking a mono recording and turning it into a stereo please put the link in the description. thank you for your help!
Is This A Good Question/Topic? 0
  • +

Replies To: how to turn mono audio into stereo audio with JavaScript?

#2 laytonsdad  Icon User is offline

  • Let it rip!
  • member icon

Reputation: 466
  • View blog
  • Posts: 1,991
  • Joined: 30-April 10

Re: how to turn mono audio into stereo audio with JavaScript?

Posted 18 May 2015 - 07:02 PM

This can not be done with just javascript but you can use ffmpeg with a serverside api like this one and use javascript to acess it.
Was This Post Helpful? 2
  • +
  • -

#3 ndc85430  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 613
  • Posts: 2,587
  • Joined: 13-June 14

Re: how to turn mono audio into stereo audio with JavaScript?

Posted 19 May 2015 - 12:12 AM

In principle, it should be possible to do this with Javascript on the backend as well. There's an FFmpeg module for Node.js, but it looks like it only does video (I haven't looked at it in detail, so could be wrong).
Was This Post Helpful? 0
  • +
  • -

#4 laytonsdad  Icon User is offline

  • Let it rip!
  • member icon

Reputation: 466
  • View blog
  • Posts: 1,991
  • Joined: 30-April 10

Re: how to turn mono audio into stereo audio with JavaScript?

Posted 19 May 2015 - 12:58 AM

I also ran across this https://github.com/f...e-fluent-ffmpeg
if you feel like getting into it with node server side
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1