How To Play Back Sound on Android Using C++ and Oboe Library | Android Synthesizer Tutorial Part 5

WolfSound
WolfSound
2.5 هزار بار بازدید - 2 سال پیش - 👉 GET THE AUDIO PLUGIN
👉 GET THE AUDIO PLUGIN DEVELOPER CHECKLIST: https://thewolfsound.com/checklist/
✅ Check out the full article on TheWolfSound.com: https://thewolfsound.com/android-synt...
✅ Source code of the synth app: https://github.com/JanWilczek/android...
✅ Sign up for WolfSound's newsletter: https://thewolfsound.com/newsletter/
✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow:
https://www.seevid.ir/c/WolfSoundAu...
🎧 Listen to my music: https://thewolfofficial.com/

Hi, my name is Jan Wilczek. I am an audio programmer and a researcher. Welcome to WolfSound!

WolfSound's mission is to provide high-quality, informative, and entertaining videos, articles, and courses on how to process sound by exploring mathematics, applying algorithms, and creating code in various programming languages. Topics include sound synthesis, digital signal processing, programming languages for audio (C, C++, Python, Rust), and audio effects. I am also sharing tips on how to learn fast and effectively. Make sure to visit https://www.thewolfsound.com/.

WolfSound enables everybody to learn about audio programming!

ABOUT THE VIDEO

In this part, we will connect to the Android audio driver using the Oboe library. That will allow us to play back a 440 Hz sine.

Thanks to this tutorial, you will learn

💡 How to play a sound on Android from code,
💡 What Android audio APIs are available,
💡 How does an audio driver work,
💡 What is the audio thread,
💡 How to connect to Android audio using Oboe, and
💡 How to specify Oboe as a dependency

In case of any doubt in understanding, please, refer to the article above or ask a question in the comments 🙂

Video edited by Vadzim Vezhnavets.
Background music composed and produced by Jan Wilczek.

ABOUT ME

My name is Jan Wilczek. I am an audio programmer, a researcher in the field of music technology, and a musician. Through articles and videos from WolfSound, you will easily understand the main concepts of sound processing using software. My full story: How I Got Started With Audio Programm...

FOLLOW WOLFSOUND ONLINE

✅ Blog: https://www.thewolfsound.com/
✅ LinkedIn: LinkedIn: jan-wilczek-audio-programmer
✅ Twitter: Twitter: wilczek_jan
✅ Facebook: Facebook: JanWilczekWolfSound
✅ Instagram: Instagram: janwolfwilczek
✅ Pinterest: Pinterest: jawitrle

TIME CODES

00:00 Introduction
00:32 How to play back sound programmatically on Android?
01:03 Android Audio APIs
01:58 How do audio driver APIs work?
03:23 How to connect to Android audio using Oboe?
04:16 Implementation part
04:53 AudioPlayer interface
06:44 AudioSource interface
08:43 OboeAudioPlayer class
27:42 A4Oscillator class
34:00 Changes in the WavetableSynthesizer class
39:35 Changes to the CMakeLists.txt
39:39 How to include the Oboe library in your project
44:40 Testing the playback
45:11 Summary

#android #audio
2 سال پیش در تاریخ 1401/08/13 منتشر شده است.
2,537 بـار بازدید شده
... بیشتر