Technical:
I used Sound Recorder (sndrec32.exe) on Windows XP to convert the sound files (there were several small clips) to a format that the Cortex likes:
Open Sound Recorder (Hit the Windows key, type Sound Recorder, and click the resulting link or hit enter)
Open the sound clip you want to convert
Click File, Save As
By “Format:” click Change…
Format can stay on PCM, but under Attributes, select 8.000 kHz, 8 Bit, Mono 7kb/sec (usually the top option)
Click Ok, type a file name, then hit save.
You can use RobotC’s file management (Robot Menu, Advanced Tools, File Management) to download the newly created .wav files to the Cortex.](http://www.youtube.com/watch?v=vphJdh4tdlY)
Yes, it all fits (sounds and program) with a bit of room to spare on the cortex.
It totals around 206kb.
See if you can figure out how, and then I’ll tell you if you’re right.
Technical:
I used Sound Recorder (sndrec32.exe) on Windows XP to convert the sound files (there were several small clips) to a format that the Cortex likes:
Open Sound Recorder (Hit the Windows key, type Sound Recorder, and click the resulting link or hit enter)
Open the sound clip you want to convert
Click File, Save As
By “Format:” click Change…
Format can stay on PCM, but under Attributes, select 8.000 kHz, 8 Bit, Mono 7kb/sec (usually the top option)
Click Ok, type a file name, then hit save.
You can use RobotC’s file management (Robot Menu, Advanced Tools, File Management) to download the newly created .wav files to the Cortex.](http://www.youtube.com/watch?v=vphJdh4tdlY)
So like I did all this, but I got a 45 second clip down to 400 kb I guess you just had nyan cat on a loop
@banditofernando Good try! You are partially right; What I did was I broke the song down into it’s different basic parts, and then took one sound clip for each of those parts, and had the Cortex play it back in the correct order. Also, if anyone is curious, here are the files:
(I made this using ROBOTC 3.08 because 3.51 had a bug that would not allow the Cortex to play sound files. This is fixed in 3.52, and the code will probably need to be modified to run on it (http://www.robotc.net/blog/2012/11/03/robotc-3-54-update-now-available/)) NyanCat8Bit.zip (131 KB)
hmmm Okay. I’ll try that this time. Does it matter how complex the song is? For instance, Nyan Cat was a simple rhythm, but if it was a song, say the Skyrim theme song, would that matter? (The more complex a song is, does the file increase in size?)