Audio and Prompts Discussions

Flat
how to change sampling rate in Speech Submission application
User: uru2012
Date: 3/14/2012 5:22 pm
Views: 7266
Rating: 13

Hello, I am Uruguayan, I am trying to record some speech in spanish using the Voxforge Speech Submission application

I want to record at 8000 Hz so I edited "CapturePlayback.java" (public static final int samplingRate = 8000;) then I compiled using "javac"

However, when I run the applet it still records at 48000Hz

Could you help me to find the problem? Thanks in advance!

Some aditional comments:

1 - The files were created in the "upload directory" but the postlet message was "array(0) { } POSTLET REPLY POSTLET:NO POSTLET:TOO LARGE POSTLET:ABORT THIS END POSTLET REPLY"

2 - When I compiled I got the message:  CapturePlayback.java:1400: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector
                lines.add(new Line2D.Double(x, y_last, x, y_new));
                         ^

3 - I am using Ubuntu 11.04 with jre 1.6-4

--- (Edited on 3/14/2012 5:22 pm [GMT-0500] by uru2012) ---

Re: how to change sampling rate in Speech Submission application
User: uru2012
Date: 4/2/2012 8:21 pm
Views: 3462
Rating: 12

Hello, I solved this question. I re-built speechrecorder.jar using this post:


http://www.voxforge.org/home/forums/other-languages-forum/general-discussion/speechsubmission-java-applet-localization/2?func=add;class=WebGUI::Asset::Post;withQuote=0


After that I signed the jar and it worked fine.

Regard

--- (Edited on 4/2/2012 8:21 pm [GMT-0500] by uru2012) ---

PreviousNext