Is it possible to read RAW format files with the wave shield and the library.
How to reduce the break between a short file, if played in a loop.
How to reduce the size of the library.
thank you for aou answers
Moderators: magician13134, adafruit
zi9 wrote:Is it possible to read RAW format files with the wave shield and the library.
How to reduce the break between a short file, if played in a loop.
How to reduce the size of the library.
sox \
--show-progress \
INFILE.wav \
-w \
-t wav \
--endian little \
-c 1 \
-r 22050 \
OUTFILE.wav \
polyphase
# NOTES
# first install sox. On osx with macports installed it goes like this:
# sudo port install sox +lame
#
# make sound files for the waveshield
# INPUT.WAV
# -t (input) file type (optional if extension is definitive)
# OUTPUT.WAV
# -w 16 bit words
# --endian little the waveshield wants little endian files
# -c 1 mono (1 channel)
# -r 22050 rate 22050 Hz.
# -t (output) file type
# -w 16 bit words
# polyphase best method for resampling (compare resample)
see http://leute.server.de/wilde/resample.html
sox --show-progress INFILE.wav -t wav --endian little -c 1 -r 22050 OUTFILE.wavUsers browsing this forum: No registered users and 2 guests