cordova-plugin-media icon indicating copy to clipboard operation
cordova-plugin-media copied to clipboard

multiple sounds at once glitches out

Open koraysels opened this issue 6 years ago • 1 comments

Bug Report

when you try to play more than one audio file at a time it starts to behave very weird.

Problem

I am making a music sequencer with small audio files wich are controlled by a timeline. If I use web audio API it works but with the media plugin it gives all kinds of weird results. It almost always plays 5 files at the same time and need to transition seamless to the next five audio files

What is expected to happen?

gapless looping, and audio polyphony should function properly.. Or at the very least the same performance as when using the Web Audio API

Why not just keep using the Web Audio API

because it stops producing audio when the app goes into the background and then comes back.. the audio stops...

Information

Command or Code

Environment, Platform, Device

iOS, latest cordova, also latest capacitor (i tested both with this plugin)

Checklist

  • [x] I searched for existing GitHub issues
  • [x] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

koraysels avatar Jan 17 '20 11:01 koraysels

Hey koraysels, hope you don't mind me asking but I am having trouble getting started with Capacitor and ionic and was wondering if you were using React or Angular in your project? Can*t seem to get it too work at all.

d9media avatar Jan 21 '20 22:01 d9media