8fdafs2 / flutter_raw_sound Goto Github PK
View Code? Open in Web Editor NEWA flutter plugin for playing raw PCM audio data (16-bit integer and 32-bit float).
License: Apache License 2.0
A flutter plugin for playing raw PCM audio data (16-bit integer and 32-bit float).
License: Apache License 2.0
What's driving the iOS 14 requirement? What would it take to drop it down to iOS 12?
Hi,
With numChannels = 1 works properly, with 2 channels doesn't work (app force quits on start)
I'm using iOS
2022-05-22 17:10:04.362773+0300 Runner[81257:7424991] [avae] AVAEInternal.h:130 [AUInterface.mm:536:SetFormat: ([[busArray objectAtIndexedSubscript:(NSUInteger)element] setFormat:format error:&nsErr])] returned false, error Error Domain=NSOSStatusErrorDomain Code=-10868 "(null)"
2022-05-22 17:10:04.364648+0300 Runner[81257:7424991] *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: '[[busArray objectAtIndexedSubscript:(NSUInteger)element] setFormat:format error:&nsErr]: returned false, error Error Domain=NSOSStatusErrorDomain Code=-10868 "(null)"'
First time trying to use this plugin, thanks for making it!!
Not sure where to start with this issue.
/Volumes/User/MBP/flutter_test_app/ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: module 'raw_sound' not found
@import raw_sound;
~~~~~~~^~~~~~~~~
1 error generated.
pubspec.yaml
...
dependencies:
flutter:
sdk: fluttercupertino_icons: ^1.0.2
raw_sound: ^0.3.0+1...
When using the setVolume function for a RawSoundPlayer in iOS, I'm getting this error that crashes the app:
"Foundation/NSNumber.swift:467: Fatal error: Unable to bridge NSNumber to Float"
I went into the swift files and changed the volume Float's to NSNumbers, but for me, it's stopping the output of my player.
Any idea on how to fix? Working fine on Android.
Best,
Will
How do I stop player, when buffer is not over?
When I stop the player, it continues to the end of the sequence and does not stop immediately.
I want to fast forward while playing audio.Can you provide a seek method?
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "raw_sound":
In Podfile:
raw_sound (from `.symlinks/plugins/raw_sound/ios`)
Specs satisfying the `raw_sound (from `.symlinks/plugins/raw_sound/ios`)` dependency were found, but they required a higher minimum deployment target.
Hi!
I'm trying to figure out how to play a .wav file (that I'm reading using "wav" package).
The issue is that "wav" gives sound data as Float64 List (actually two lists, for separate stereo channels). And raw_sound expects input as Uint8List. Do you have any idea on how to do that conversion?
Also, what should be the data size that "feed" method is looking for? Is there any way to determine it?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.