Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | ADSP 21364 block based talkthrough example problem

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

ADSP 21364 block based talkthrough example problem - dspnewbee - Nov 14 9:18:46 2007



Hi all,

I'm a newbee to block based processing. I am running the block based 
talkthrough example for the adsp21364. I just moved from the 
adsp21061 to the block based process, so i'm quitte new to this topic.
in process blockprocess.c you can state your process, like for 
example a simple amplification of the left and right channels 
separately.

I want to do something like:
for(i=0;i<NUM_SAMPLES;i++)
        {
    	block_ptr -> left and right channels 
        left[i]=left[i]*1.5;  // amplify left.
        left and right -> block_ptr;
        }
void processBlock(unsigned int *block_ptr)
{
   // variables...

    //Set the Processing Active Semaphore before starting processing
    isProcessing = 1;

    for(i=0;i<NUM_SAMPLES;i++)
  
    {
    	
        *(block_ptr+i) =  *(block_ptr+i);
        }
How can i do this? i'm a bit stuck. 
Can someone help me out?

Evert Verduin



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )