Giter Site home page Giter Site logo

xioxin / lab_sound_flutter Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 2.0 31.68 MB

a wrapper for LabSound(graph-based audio engine)

License: Other

C++ 6.07% C 5.00% Ruby 0.93% Swift 0.52% Objective-C 0.15% Dart 81.15% CMake 3.51% HTML 0.75% Java 1.89% Shell 0.03%
flutter-plugin audio android webaudio audio-analysis audio-engine labsound miniaudio lab-sound-flutter ios

lab_sound_flutter's Introduction

lab_sound_flutter

WIP

lab_sound_flutter is the LabSound wrapper for Flutter.

Platform

  • Android
  • iOS
  • Mac
  • Windows
  • Linux
  • Web

Todo

  • iOS support
  • iOS simulator support (x86_64)
  • macOS M1 support (arm64)
  • Add Android backend selection (AAudio, OpenCL)
  • Continue to improve binding
  • Refactoring using the "endorsed federated plugin" pattern and bringing the API style closer to "dart: web_audio" to increase web support

Binding

https://github.com/xioxin/lab_sound_bridge

  • AnalyserNode

  • AudioBasicInspectorNode

  • AudioBasicProcessorNode

  • AudioBus & AudioFileReader

  • AudioChannel

  • AudioContext

  • AudioDevice

    • AudioStreamConfig
  • AudioHardwareDeviceNode

  • AudioHardwareInputNode

  • AudioListener

  • AudioNode

  • AudioNodeInput

  • AudioNodeOutput

  • AudioParam & AudioParamTimeline

  • AudioSummingJunction

  • BiquadFilterNode

  • ChannelMergerNode

  • ChannelSplitterNode

  • ConvolverNode

  • DelayNode

  • DynamicsCompressorNode

  • GainNode

  • NullDeviceNode

  • OscillatorNode

  • PannerNode

  • RealtimeAnalyser

  • SampledAudioNode

  • StereoPannerNode

  • WaveShaperNode

  • ADSRNode

  • BPMDelayNode

  • ClipNode

  • DiodeNode

  • FunctionNode

  • GranulationNode

  • NoiseNode

  • PdNode

  • PeakCompNode

  • PingPongDelayNode

  • PolyBLEPNode

  • PowerMonitorNode

  • PWMNode

  • RecorderNode

  • SfxrNode

  • SpatializationNode

  • SpectralMonitorNode

  • SupersawNode

lab_sound_flutter's People

Contributors

xioxin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lab_sound_flutter's Issues

General Enquiry about Miniaudio

Hello @xioxin

Hope you are doing well. I recently started to play around with ffigen, found it very interesting.
I just know the basics of C, not in depth. Next, i decided to port the library https://miniaud.io/

I was able to generate the bindings, but when I started to use it, it gave me an error. Probably, I think I need to create a wrapper over the generated bindings.

But, I am finding it difficult (although not impossible :p), started searching over the net and found your repository has a tag of miniaudio. I wanted to know how are you using miniaudio in your project.

I didn't know how to connect with you, hence filing an issue. In case you are interested to connect, on git or any other platform, kindly let me know.....

AudioBufferSourceNode

Hi everybody.
I have a stupid question :
How can I create an AudioBufferSourceNode ?
Is there somewhere a table with how the W3C recommandation match the LabSound_flutter library?
Thank you guys /girls and others. Take care.

How to add this to my Flutter project? (Error: "Could not find a file named "pubspec.yaml" in")

Hi @xioxin! Thanks for creating this repo and making it public.

Can I use it in my projects? If yes, how can I use it?

I have searched pub.dev but couldn't find a package of this repo.

I have tried adding it to my project's pubspec.yaml file like this:

  lab_sound_flutter:
    git:
      url: https://github.com/xioxin/lab_sound_flutter   #also with .git suffix
      ref: main   #or a commit hash like f89e1a5

However, I am getting this error:

Could not find a file named "pubspec.yaml" in 
"/Users/yasinarik/.pub-cache/git/lab_sound_flutter-f89e1a56a223e3f61b3b1bda51818578be01e237".

pub get failed (66; Could not find a file named "pubspec.yaml" in "/Users/yasinarik/.pub-cache/git/lab_sound_flutter-f89e1a56a223e3f61b3b1bda51818578be01e237".)
exit code 66

Could you please help?

Example project gives error: "Failed to lookup symbol 'InitDartApiDL': dlsym(RTLD_DEFAULT, InitDartApiDL): symbol not found"

Hi @xioxin . Thanks for resolving my previous flutter pub get issue.

I am having another difficulty so I opened this dedicated issue here.
Currently, I am trying the example project on the iOS simulator. However, all the example pages of the app give this error:

Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'InitDartApiDL': 
dlsym(RTLD_DEFAULT, InitDartApiDL): symbol not found

#0      DynamicLibrary.lookup (dart:ffi-patch[/ffi_dynamic_library_patch.dart:34:70]())
dart-lang/ffi#1      LabSoundBind._InitDartApiDL_ptr
package:lab_sound_flutter[/src/generated_bindings.dart]():933
dart-lang/ffi#2      LabSoundBind._InitDartApiDL_ptr (package:lab_sound_flutter[/src/generated_bindings.dart]())
package:lab_sound_flutter/src/generated_bindings.dart:1
dart-lang/ffi#3      LabSoundBind._InitDartApiDL
package:lab_sound_flutter/src/generated_bindings.dart:935
dart-lang/ffi#4      LabSoundBind._InitDartApiDL (package:lab_sound_flutter/src/generated_bindings.dart)
package:lab_sound_flutter/src/generated_bindings.dart:1
dart-lang/ffi#5      LabSoundBind.InitDartApiDL
package:lab_sound_flutter/src/generated_bindings.dart:927
dart-lang/ffi#6      new LabSound._
package:lab_sound_flutter/…/lab_sound/lab_sound.dart:167
dart-lang/ffi#7      LabSound._sharedInstance
package:lab_sound_flutter/…/lab_sound/lab_sound.dart:327
dart-lang/ffi#8      new LabSound
package:lab_sound_flutter/…/lab_sound/lab_sound.dart:323
dart-lang/ffi#9   <…>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.