CS 111 - 4/22/14 Project 4 Ideas First prompt the user for a 1 or 2 On 1: Embed a text message into a sound Get a Sound from the user Get a Text String Place text string information into sound Save the modified sound into a file On 2: Extract a text message from a sound Get a Sound from the User Inspect the Sounds and retrieve the text information Display the text message to the user During the Embed process 1. Smooth out the sound amplitude values When the value is >= 32760 we want to smooth to 32750 when the value is <= -32760 we want to smooth to -32750 2. for every text character, we need 3 amplitude values from the sound If text character is W this is ascii number value of 087 which is made of the digits 0 8 7 for character X from the string, I need 3 samples which will come from postions ssarr[ x*3 + 0 ] will embed the lowest digit ssarr[ x*3 + 1 ] will embed the middle digit ssarr[ x*3 + 2 ] will embed the highest digit String: Hello 01234 last digit: 27010180180111100000000000 Sound: -=-=-=-=-=-=-=-=-=-=-=-=-= pos: 01234567890123456789012345 1 2 ascii digits value h m l ----- - - - H: 072 0 7 2 e: 101 1 0 1 l: 108 1 0 8 l: 108 1 0 8 o: 111 1 1 1