1 / 6

Images to Audio

Images to Audio. By Donna Jones. Outline. Image Input Mathematical Calculations Audio Output. Image Input. Take an image that is sent to the Blackfin’s memory Find its red, green, and blue values red = (rmask & imgInput[0]) >> 10; green = (gmask & imgInput[0]) >> 5;

fallon
Download Presentation

Images to Audio

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Images to Audio By Donna Jones

  2. Outline • Image Input • Mathematical Calculations • Audio Output

  3. Image Input • Take an image that is sent to the Blackfin’s memory • Find its red, green, and blue values • red = (rmask & imgInput[0]) >> 10; • green = (gmask & imgInput[0]) >> 5; • blue = bmask & imgInput[0];

  4. Mathematical Calculations • Find frequency of the lightwave and then map it to sound frequency • Use these values in conjuction with the RGB values from the image • Use: r = 2*3.14*(fsr/FS)*(t+1); • g = 2*3.14*(fsg/FS)*(t+1); • b = 2*3.14*(fsb/FS)*(t+1); • output = ((red*10000)*sinf(r*t))+((green*10000)*sinf(g*t))+((blue*10000)*sinf(b*t));

  5. Audio Output • The audio is outputted from the formul • iChannel0LeftOut = indivOutput; • iChannel0RightOut = indivOutput;

  6. Issues • Can not compute an entire 64x64 image at once, there is a delay causing a popping sound • Final product only analyzes one pixel, but could maybe be expanded to an entire picture if given more time

More Related