Hi all,
I am an audio dsp enthusiast, and I now know how to write tasks and run them on the startkit through the terminal. I would like to start implementing dsp algorithms, lets say reverb. Can I stream an audio file into the xmos from my system and play it via the audio slice? In a way, I mean, can i use it like an audio interface? I am asking this so that I can learn how audio is handled and dealt with.
p.s I tried the starkit github examples, but the makefiles won't complete. There is always this or that file missing.
Thankyou!
How to interface the audio slicekit with the StartKit?
-
- Member
- Posts: 11
- Joined: Wed Jun 24, 2015 12:21 am
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
Hi Rithesh.
Can I stream an audio file into the xmos from my system and play it via the audio slice?
Yes. High end audio processing is a key speciality of the XMOS devices due to the very low latency with these cores. The best but brief description of these components is that the CPUs are ultra fast bit banging machines. You can morph the GPIO pins to behave unlike others on the market and is a middle ground between traditional CPUs and FPGA devices. A suggestion is to review the now many public code samples available here or through the respective xTimeComposer IP samples / projects to compile compile correctly and then change to suit your needs.
A few years ago there was a group of students who were creating a volleyball looking device which when tapped upon would create different sound effects - kind of like an audio synth but without the keyboard.
For additional inspiration, see this video:
https://www.youtube.com/watch?v=paqgrL5Av4Y
** Update **
Berni made the code for this project available to the public here:
http://www.xcore.com/projects/wav-audio-player
On topic, you could take these Slicekit projects and quickly modify to work with your Startkit use:
https://github.com/xcore/sw_audio_effects
Your requested reverb effect is posted in the above downloads.
Some other interesting links:
https://www.youtube.com/watch?v=4FxB8RBPtKU
https://github.com/xcore/sw_startkit_examples
https://www.xmos.com/en/published/app_a ... lek-readme
http://www.xcore.com/forum/viewtopic.php?t=2519&f=44
Hope this helps !
Kumar
Can I stream an audio file into the xmos from my system and play it via the audio slice?
Yes. High end audio processing is a key speciality of the XMOS devices due to the very low latency with these cores. The best but brief description of these components is that the CPUs are ultra fast bit banging machines. You can morph the GPIO pins to behave unlike others on the market and is a middle ground between traditional CPUs and FPGA devices. A suggestion is to review the now many public code samples available here or through the respective xTimeComposer IP samples / projects to compile compile correctly and then change to suit your needs.
A few years ago there was a group of students who were creating a volleyball looking device which when tapped upon would create different sound effects - kind of like an audio synth but without the keyboard.
For additional inspiration, see this video:
https://www.youtube.com/watch?v=paqgrL5Av4Y
** Update **
Berni made the code for this project available to the public here:
http://www.xcore.com/projects/wav-audio-player
On topic, you could take these Slicekit projects and quickly modify to work with your Startkit use:
https://github.com/xcore/sw_audio_effects
Your requested reverb effect is posted in the above downloads.
Some other interesting links:
https://www.youtube.com/watch?v=4FxB8RBPtKU
https://github.com/xcore/sw_startkit_examples
https://www.xmos.com/en/published/app_a ... lek-readme
http://www.xcore.com/forum/viewtopic.php?t=2519&f=44
Hope this helps !
Kumar