I have been attempting to start a project that I have previously completed on an Arduino with an external circuit, but I want to expand it to a Raspberry P, using only the internal processing.
The concept is that I want to take audio into the Pi via bluetooth, sample it, process it using a FFT or a similar method, build a frequency vs amplitude matrix, and then output the matrix to LEDs while simultaneously outputting the audio through the 3.5mm jack.
I currently own a Raspberry Pi 3 B and all of the hardware to complete the project, but my problem exists in the programming field. I have very little programming experience on the Pis, and am learning as I go. The big issue I am running into at the moment is figuring out how to do the sampling in between the input and output (as there are many projects done where the user simply streams the audio from the bluetooth to the 3.5mm jack).
In order to pass the audio from the bluetooth port to the jack, I was going to use this project: http://raspberrypi.stackexchange.com/qu ... th-speaker. In this script, I assume that there would be an appropriate location to call a function that would do the transform and be able to output the amplitude vs frequency matrix that I can write on my own, but I have no idea how to use linux in that regard (almost all of my programming experience lies in MATLAB and C++).
Any points in the right direction to look through tutorials or previously completed solutions would be amazing. I don't necessarily want to become a programmer in linux, my end goals are set on getting this project done.
Thanks in advanced,
P.S. If this is a little bit too advanced for the beginners forum, I apologize. I am looking for any info ranging from tutorials to specific solutions. Let me know if I should edit this post or switch forums.