Convert pixel values to tones of sound
이전 댓글 표시
Hi there
I have a project where I should convert pixel values to sound tones in a greyscale set of images (arranged in order). I know that I should assign a tone to each grey level. I have a 128x128x16 uint8 array. I need to play the sound and listen to the assigned tones in a continuous loop. Let's suppose that my image set is called PxTone, and I have my 256 tones of different frequencies ready and named from A1 ... to A256 tones, where A1 represents no tone A256 is the assigned for the brightest pixel, (which should be representing the highest frequency tone and assigned to the brightest pixels ).I want the code to allow each image to be represented in one second in which all tones are played simoutanously, so that I finish with 16 sec sound clip.
Can any one help me in this regard ?.
Best, Ahmad
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!