S
S
Stanislav Tamat2016-01-27 10:56:17
JavaScript
Stanislav Tamat, 2016-01-27 10:56:17

Is it possible to organize spectrum analysis in nw.js?

There is a need for audio rendering, something like this , but I would like to do it in nw.js. I found this , is it possible to somehow transfer the entire output from the audio card to the AudioContext, and then use the analyzer?

var context = new AudioContext();
var analyser = context.createAnalyser();

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Zmerzlyi, 2016-02-04
@DangelZM

While there is an opportunity, I advise you to opt for Electron ( electron.atom.io ). I don’t know how things are now in nw.js with audio and video, but the fact that six months ago there were problems is for sure. The solution is described here Using-MP3-and-MP4 in nw.js When faced with this, there were two options, either build nw.js from source or look for an alternative. I found Electron, which in my case did not require much changes to switch to it.
So if you need functionality with audio video in different formats, then I advise you to look at Electron.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question