Hi all,
I am using BB version C4 with Angstrom loaded in it successfully. I
have also compiled the DSPLink sample apps using the make command and
tested it on the BB........It works perfectly.......
So far so good........Now,
The application that I m planning to build consists of a getting an
audio file as input, process it using an algorithm using the DSP and
send it back to the audio out. Now, to do this what are the tools I
need to install apart from DSPLink?
I am planning to use RingIO module of DSPLink to transfer the audio
data to/from the DSP......... How to get the audio input and send it
to the DSPLink RingIO module and similarly how to send the processed
audio data back to the audio out from DSPLink?
Do I have to use TI-codec-engine? If so, how to install it? I am not
able to find sufficient docs on the internet as I was able to for
DSPLink..........Also, does gstreamer-ti module play a role in my
application scenario?
Any quick help is appreciated......
Thanks,
Ramasamy Gopalan.
ramasamygopalan wrote:
I am planning to use RingIO module of DSPLink to transfer the audio
data to/from the DSP......... How to get the audio input and send it
to the DSPLink RingIO module and similarly how to send the processed
audio data back to the audio out from DSPLink?
RingIO is a valid choice for your application. If you have the example
up and running even better. This gives you a nice boilerplate
application to work with.
To deal with audio files I suggest that you take a look at libsndfile.
It supports a wide range of input formats and it is easy to work with.
For sound output take a look at the portaudio library. It is just a
wrapper around ALSA, but much easier to work with. portaudio gives you
input and output, so you can even stream sound from the line-in input
instead of a file if you want to.
Do I have to use TI-codec-engine?
If all you want to do is to process audio on the DSP you don't need the
codec engine or gstreamer.
Cheers,
Nils Pipenbrinck
Hi Nils,
Thanks for your response. I shall definitely take a look at the steps
you ve suggested......
I think in my case, I need only to get the audio from the line-in
port, process it with a DSP algorithm and then store it in say, SD
card or send it to audio_out port. So as you said, my application
mainly is concerned with processing only.....
However, as I am completely new to the DSP and software stuff, I would
like to know in which scenario/when codec engine or gstreamer is
needed.....
Thanks,
Ramasamy Gopalan
Hi Ramasamy,
.
However, as I am completely new to the DSP and software stuff, I would
like to know in which scenario/when codec engine or gstreamer is
needed.....
That can best be answered if you do your own research. But in a nutshell
gstreamer and codec engine are huge multimedia frameworks. The benefit
of using them is, that if you write your code to be complaint with these
frameworks any application that uses gsteamer or codec engine will be
able to make use of your audio processing code.
If all you want is to process audio, and you don't need integration into
existing programs they are overkill.
Cheers,
Nils