I want to play sound of a certain frequency in android based on user input, somewhat similar to a guitar app. Can someone tell me how to do this? Do I need all the freq sounds in the res \ raw folder?
No, you do not need to store this in resources. I think the best approach is to synthesize tones in real time. To do this, you will need the following:
AudioTrack .
, .
"", (, , , , ) "" , , ..?
( ), Desiderio , "" , "" /res/raw /assets.
SoundPool "", , "" 2 , , , . "" 0,5 , .
Source: https://habr.com/ru/post/1779942/More articles:How to post a facebook news feed from my site - ruby-on-railsWhat is RFC 2396? - urlDevelop iPhone Applications Using Adobe Flash.? - iphoneУказатель рамки, epb и обратный адрес - assemblyASP.NET MVC authorization attribute behaves differently in IE and FireFox - authorizationHow to execute javap from ant - javaiphone sqlite "failed to open database file" - iphoneHow to get the time when the image in the video changes? - c #cannot open database - objective-cPassing model data to external javascript - asp.net-mvc-2All Articles