User Tools

Site Tools


milestone_6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

milestone_6 [2023/04/03 14:30]
scott [Bluetooth Modem]
milestone_6 [2023/04/10 10:57] (current)
scott [Custom Sounds]
Line 32: Line 32:
  
   * One option is to use [[https://​colinjs.com/​software.htm#​t_WAVToCode|WAVToCode]] to convert your WAV file to C code. It is a Windows application,​ so you will need to find a Windows machine to run it.   * One option is to use [[https://​colinjs.com/​software.htm#​t_WAVToCode|WAVToCode]] to convert your WAV file to C code. It is a Windows application,​ so you will need to find a Windows machine to run it.
-  * Another option is to compile the wav2c.c source code (in the sound directory) and run it from the command line. You can use [[https://​www.audacityteam.org/​|Audacity]] to edit and prepare your WAV files before converting them to C code.+  * Another option is to compile the wav2c.c source code (in the sound directory) and run it from the command line. This program expects a single-channel (monophonic) PCM format WAV file as input and will produce C code as output. If your WAV file is stereo, you will need to convert it to monophonic before using wav2c. You can use [[https://​www.audacityteam.org/​|Audacity]] to edit and prepare your WAV files before converting them to C code.
  
 You are free to modify sound.c (in the sound directory) to integrate your custom sound. You are free to modify sound.c (in the sound directory) to integrate your custom sound.
milestone_6.txt ยท Last modified: 2023/04/10 10:57 by scott