Binaural audio support #1
Replies: 2 comments
-
Hi, my intent for this project, is to have as much control over audio data as possible. I found SoLoud library the right choice to do this. It is born for gaming and it has a lot of potential! I need to study it and the way to add, but it is feasible! |
Beta Was this translation helpful? Give feedback.
-
Hi, I have refactored the AudioIsolate class. AudioIsolate class is now named SoLoud and it is in soloud.dart. The isolate spawned method is still in audio_isolate.dart (it's more readable now). Added almost all 3d audio SoLoud's methods. Available in With this example, the sound parameters are tested, but I didn't made test with listener parameters which is still and positioned at (0, 0, 0). I have updated the repo and the news are in the 3Daudio branch! I need to test on win, ios and mac yet. |
Beta Was this translation helpful? Give feedback.
-
Hi Marco Bavagnoli,
I'm the person who connected with you on LinkedIn. I have an exciting idea that I'd like to discuss with you regarding your plugin.
I've noticed that there aren't many alternatives in Flutter for binaural audio (3D audio) support. While there is one plugin called "surround_sound" (Link: https://pub.dev/packages/surround_sound) that can do something similar, it relies on a webview with JavaScript, limited to moving the oscillator sound with only 3 axes and adjusting the frequency.
My proposal is to add a native 3D sound feature to your plugin. By incorporating binaural audio, your plugin could enable developers to create various applications such as meditation apps, new music players with immersive 3D effects where the sound revolves around the listener's head, and even integrate it with the Flame Flutter package to build games with realistic audio experiences.
Currently, I'm working on a Flutter app that utilizes binaural audio, but it relies on Unity to achieve this effect. However, the Unity integration for Flutter is not stable, and the Unity package itself is relatively large. Implementing the entire Unity package for just one feature, 3D sound, might not be the most optimal solution for every app that requires this functionality. So, I'd love to contribute to your plugin by helping implement this feature. However, I've encountered some challenges while attempting to map sound bytes, and I'm seeking guidance on the correct approach.
I believe adding 3D sound support to your plugin could be a game-changer for the Flutter community, providing developers with a powerful tool to enhance the audio experience in their apps. I'm eager to discuss the feasibility of this idea and collaborate on making it a reality. Let me know your thoughts and how we can move forward with this exciting project.
Looking forward to your response.
Beta Was this translation helpful? Give feedback.
All reactions