-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use raw PCM data directly as input? #26
Comments
Yeah, that is the right place. |
Thank you very much, I got it and your code works very fine! |
I have a Patterson M500-384 ultrasound microphone that I connect to my Google Pixel 7 running Android 13. I thought I can use the USB audio stream as input, but I see no option of doing so. It seems that the ADC in the phone itself is sampling the incoming audio stream again at the highest sampling rate of 192k which is obviously lower than the intended 384k. Do you know how I could stream the microphone data directly into the app? |
Hi fhaefele, may be try look up the menu (settings->audio source), and try different source. If nothing worked, then the code might need some change. |
I have an audio monitor hardware and I can get raw PCM data from it.
How can I use the data as fft plot input?
I'm checking the run() method in SamplingLoop.java file, is it the correct place that I can modify to use raw PCM data as input?
The text was updated successfully, but these errors were encountered: