projectestac / jclic

JClic is a set of cross-platform Java applications useful for creating and carrying out different types of educational activities like puzzles, associations, text exercises or crosswords.
GNU General Public License v2.0
27 stars 19 forks source link

Cannot define the range of sound file #3

Open joancompte opened 10 years ago

joancompte commented 10 years ago

I'm using Linux (xubuntu 12.04).

I'm using a large sound file to "read" a text on a page (when clicking on a picture). I want the program to read a sentence of the text, when clicking on a cell.

In the cell content, I select Active content. Then, I choose the file and write where I want it to start and to end (I think it's in milliseconds).

That doesn't work.

Then I tried the demo file (demo.jclic.zip) and tried to run the dictation activity which uses this feature. But it doesn't work either.

So I suppose it is something that doesn't work. Did you get that misbehaviour?

Joan

frncesc commented 10 years ago

Hi Joan,

You are right!

I have done some testing with different Java Virtual Machines on Linkat-Ubuntu 12.04, and these are the results:

openjdk-6 (the original JVM in Precise): Error when creating time-constrained audio clips openjdk-7: Also, error when creating time-constrained audio clips oracle-java7 (installed from ppa:webupd8team/java): Time-constrained audio clips are running OK.

It seems to run also OK on Windows and Mac systems (with Oracle Java, too)

I will try to investigate and find a solution for openJDK. By now, the only workaround I have found is to use oracle-java instead of openjdk-6 or openjdk-7 (not a good solution!)

Best regards,

Francesc