Open JackMF opened 2 years ago
The multi-channel support is for channels within a single audio file (e.g., left and right stereo channels), not really for separate audio tracks. How are you loading the multiple waveforms - do you have multiple AudioBuffers, for example? It may be possible to use multiple Peaks instances to implement multiple waveform views. Each Peaks instance would have its own AudioBuffer, and each instance would use the same single common external Player object, which would coordinate playback and seeking, etc. Just an idea, I haven't tried it so I don't know how well it would work.
Hello @chrisn - many thanks for your reply.
Yes I have multiple AudioBuffers which I turn into audio source nodes and playback simultaneously.
Each Peaks instance would have its own AudioBuffer, and each instance would use the same single common external Player object, which would coordinate playback and seeking, etc. Just an idea, I haven't tried it so I don't know how well it would work.
I wll try this and report back. Thank you for suggesting an approach!
Hi @JackMF, i need multi-track support too for my project. Did it work? Any update on this?
Hello @chrisn - many thanks for your reply.
Yes I have multiple AudioBuffers which I turn into audio source nodes and playback simultaneously.
Each Peaks instance would have its own AudioBuffer, and each instance would use the same single common external Player object, which would coordinate playback and seeking, etc. Just an idea, I haven't tried it so I don't know how well it would work.
I wll try this and report back. Thank you for suggesting an approach!
Hi man, Did it work for you? If not could you please share which approach did you take?
Hey Guys! Have you implemented the multi-track? I need to implement it in my project as well. If so, can you please share your approach?
I would like to draw waveforms of multiple wave forms - much like the view and control that you would see in a DAW. Can peak.js support such a feature? I understand there is "multichannel" support but I am not sure if this would cover this use-case