Click here to register.

Google Summer of Code Ideas Page

Nested
Modify the SpeechSubmission Java Applet to use FLAC
User: kmaclean
Date: 3/3/2008 11:52 pm
Views: 7274
Rating: 35

We need to improve the way users submit speech to the VoxForge site. 

We currently use a Java applet to collect speech.  The audio is recorded in a high-quality format (48kHz-16bit) that takes a lot of bandwidth to transmit. An improvement to this app would be to enhance it so that it uses a lossless compression codec (such as FLAC), and thus reduces the bandwidth required to transmit the audio to the VoxForge server.

FLAC would reduce file size significantly.
User: ralfherzog
Date: 3/4/2008 7:55 pm
Views: 312
Rating: 51

Hello,

This is a good idea to implement FLAC into the VoxForge speech submission application.  

Maybe you're interested to know my experiences with FLAC.  When I record 99 sentences, the corresponding wav files consume about 50 megabytes.  When I compress them with flac-1.2.1b.exe, the files consume less than 20 megabytes.

I would estimate that you need about five megabytes when you upload ten sentences via the VoxForge speech submission application.  Using FLAC you would need just about two megabytes.

Greetings, Ralf

Re: Modify the SpeechSubmission Java Applet to use FLAC
User: Luna-Tick
Date: 3/25/2008 2:47 am
Views: 1006
Rating: 25

I would think that the best approach would be to help jFLAC ( http://jflac.sourceforge.net/ ) develop the FLAC encoder and then use that. The current license is GPL, but it is not clear which version.

Is jFLAC licensed under the GPL?
User: ralfherzog
Date: 3/25/2008 3:32 am
Views: 226
Rating: 31
Hello Luna-Tick,

Are you sure that the "current license is GPL"?  I downloaded jflac-1.3 and took a view into the file LICENSE.txt.  They seem to employ a free license, but it is not the GPL.

Greetings, Ralf
Re: Is jFLAC licensed under the GPL?
User: kmaclean
Date: 3/25/2008 9:16 am
Views: 322
Rating: 31

Hi Ralf,

JFlac uses what seems to be a BSD-style license and is compatible with GPL.  So I think we would be OK to use it.

thanks, 

Ken 

Re: FLAC would reduce file size significantly.
User: kmaclean
Date: 3/25/2008 9:33 am
Views: 203
Rating: 29

Hi Luna-Tick,

Yes, flac encoding is part of the long-term plan for the Speech Submission app (ticket 361 & Google SoC ideas page) and for archival storage of audio on the VoxForge repository (ticket #141).

Ken 

Re: Is jFLAC licensed under the GPL?
User: ralfherzog
Date: 3/25/2008 12:29 pm
Views: 286
Rating: 24
Hi Ken, I didn't know that BSD-style licenses are GPL compatible.  Sorry, my mistake.  Greetings, Ralf
Re: Is jFLAC licensed under the GPL?
User: kmaclean
Date: 3/25/2008 12:48 pm
Views: 2562
Rating: 32

Hi Ralf,

no need to apologize ... you "keep me on my toes"  :)

Ken 

PreviousNext