Hello all, I am learning how to program C6711 dsk with CCS 2.1 on an NT platform. I came across the following example from chassaing's book. This is part of the code interrupt void c_int11() { int sample_data; sample_data = input_sample(); ...do some filtering of sample_data here... output_sample(sample_data); buffer[i] = sample_data; i++; if(i==BUFFER_SIZE) i=0; return; } Right now I can play a wav file and plug the wav file directly into the dsk audio input. What I want to find out is how to send a wav file directly from the host to the target instead of using a direct audio plug in as mentioned. After preprocessing, I would like to save the filtered wave file. How do I do that? I flipped through chassaing's book but I couldn't find a solution. Would someone please inform me how to go about doing this? Thanks in advance. FD
C6711 dsk question
Started by ●March 3, 2004
Reply by ●March 3, 20042004-03-03
Sorry folks, I have to withdraw this question. From TI tutorial, the answer my question seems to lie within the understanding of the usage of RTDX. I am working on it. Regards, FD "flipdog" <john.lai@worldnet.att.net> wrote in message news:Wfm1c.68260$aH3.2089575@bgtnsc04-news.ops.worldnet.att.net...> Hello all, > I am learning how to program C6711 dsk with CCS 2.1 on an NT platform. I > came across the following example from chassaing's book. This is part of > the code > > interrupt void c_int11() > { > int sample_data; > sample_data = input_sample(); > > ...do some filtering of sample_data here... > > output_sample(sample_data); > buffer[i] = sample_data; > i++; > if(i==BUFFER_SIZE) i=0; > return; > } > > Right now I can play a wav file and plug the wav file directly into thedsk> audio input. What I want to find out is how to send a wav file directly > from the host to the target instead of using a direct audio plug in as > mentioned. After preprocessing, I would like to save the filtered wavefile.> How do I do that? I flipped through chassaing's book but I couldn't finda> solution. Would someone please inform me how to go about doing this? > > Thanks in advance. > FD > >