-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Feature Request: Play raw data (Uint8List) #8
Comments
It's not exactly what you are requesting, but you can use a Data URL encoded with base64 as src. Example:
|
Take a look at https://api.dart.dev/stable/2.9.1/dart-convert/dart-convert-library.html to create a Base64 String |
thanks for suggestion, however i tried to insert your long string inside Howl.play() with it, and it gives me this error
Strange, because I see the comma inside the string but he can't find it... |
Try it from original source: https://iandevlin.com/html5/data-uri/audio.php view-source:https://iandevlin.com/html5/data-uri/audio.php |
Actually the plugin only accepts a path
What if the sound is already in memory?
Just proposing. I have found a nice method in another plugin
https://github.com/ukasz123/soundpool
Future<int> loadUint8List(Uint8List rawSound,
however it does't work on Ios due probably to detectUserInitialInteraction not implemented there.
I am just trying to understand if it is possible.
I don't see why I should find a local space to store the file before playing it, since it is already in memory.
The text was updated successfully, but these errors were encountered: