Images to Audio

# Images to Audio - b = 2*3.14(fsb/FS(t 1 output...

This preview shows pages 1–6. Sign up to view the full content.

Images to Audio By Donna Jones

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
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; blue = bmask & imgInput[0];

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
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);

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: b = 2*3.14*(fsb/FS)*(t+1); output = ((red*10000)*sinf(r*t))+ ((green*10000)*sinf(g*t))+ ((blue*10000)*sinf(b*t)); Audio Output The audio is outputted from the formul iChannel0LeftOut = indivOutput; iChannel0RightOut = indivOutput; 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...
View Full Document

{[ snackBarMessage ]}

### Page1 / 6

Images to Audio - b = 2*3.14(fsb/FS(t 1 output...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online