CMU-CREATE-Lab / create-lab-visual-programmer

The CREATE Lab Visual Programmer application.
http://artsandbots.com/visualprogrammer/
2 stars 1 forks source link

Improve audio player #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Need to have a better audio player which can play MP3s and more types of WAVs.  
This might be helpful:

http://stackoverflow.com/questions/6045384/playing-mp3-and-wav-in-java

Original issue reported on code.google.com by garthabr...@gmail.com on 30 Apr 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Here's info about how to create WAVs which work with the current audio player...

If users find a WAV that won't play, then what they'll need to do is save as a 
new file with the right settings.  The new WAV must be saved as uncompressed 
(not mu-law or a-law), and 8 or 16 bits per sample.  For sample rate, use 8000, 
11025, 22050, or 44100 Hz.  Exactly which sample rate to use only really 
matters if they save at a rate lower than the original, then the audio might 
sound crappy.  If too high, it won't sound different, but will waste a little 
disk space.  

OK, knowing all THAT, how should they convert?  I use a commercial app called 
Amadeus Pro for the Mac.  But, there's a free app for Mac/Windows/Linux called 
Audacity that can do it, too (never used it, but I know it can do the job):

    http://audacity.sourceforge.net

Also, this web site lets you upload an audio file and will do conversions for 
you, so maybe that's easiest for some cases:

    http://media.io

I tried media.io on a WAV that wouldn't play (because it was 32 bits per 
sample, and not the 8 or 16 allowed by the Java audio player) and it gave me a 
16-bit, 11025 Hz version which worked fine.

Original comment by garthabr...@gmail.com on 30 Apr 2014 at 4:51

GoogleCodeExporter commented 9 years ago
Make sure we address issues 81 and 126 as part of this.

Original comment by garthabr...@gmail.com on 30 Apr 2014 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by garthabr...@gmail.com on 30 Apr 2014 at 4:54

GoogleCodeExporter commented 9 years ago

Original comment by garthabr...@gmail.com on 30 Apr 2014 at 4:54