[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lojban-beginners] Re: Now what?



I've never run the pronunciation one under windows, but I know it's handled as a special case in the python version.

Are the sound files are where it expects them to be? The first line of the .txt file and the name of the folder must match. I think that the Windows version is more "general purpose" than the python one -- it actually looks at that line.

If anyone hasn't checked out Parallel 2, I highly recommend it. Even if you don't consider yourself a beginner anymore :) As far as I know, it's the largest collection of recorded Lojban anywhere. http:// www.lojban.org/tiki/tiki-index.php?page=Parallel+2&bl

mu'o mi'e .aleks.


On Apr 18, 2007, at 12:03 AM, mls1@rice.edu wrote:

I can't get the pronunciation one to make the sounds in the Windows version. The
text comes up fine, though.

Quoting "Jon \"Top Hat\" Jones" <eyeonus@gmail.com>:

I have both python and pygame installed already- I checked that before I downloaded the program. The program seems to run, but I can only get one of the 'levels' to load, and it searches for *.wav files when I press 'hear',
but I downloaded the *.ogg ones.

Also, "Lojban Pronunciation.txt" (level 0) causes fatal error.

Here's the output of a sample run, first running level 0 (pronunciation),
then level 1:
____________________________________________________
eyeonus@panther:/home/Shared/lojban$ python parallel03.py
open /dev/sequencer: No such file or directory
Traceback (most recent call last):
  File "parallel03.py", line 373, in ?
    main()
  File "parallel03.py", line 269, in main
    storage,level=store()
  File "parallel03.py", line 231, in store
    if el[1]=="+":
IndexError: string index out of range
eyeonus@panther:/home/Shared/lojban$ python parallel03.py
open /dev/sequencer: No such file or directory
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
File not found: 'Lojban_001/0001.wav'
Failed to open Lojban_001/0001.wav
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
File not found: 'Lojban_001/0002.wav'
Failed to open Lojban_001/0002.wav


On 4/17/07, Alex Martini <alexjm@umich.edu> wrote:

Here's what you should check that you have installed --
python -- probably need version 2.5 or so
pygame library for python -- this gives you graphics, or in this case
colored text

Then check if you have a command called realplay. If not, edit
parellel.pyand change it to a command that will play a sound file as an
argument given
to it on the command line. Without this, you get no sound. It might cause a
fatal error too.

Judging from some other python learning tools (like LearnFast) it is
possible to use pygame's mixer to play the sound files as well, but I'm not sure (a) how to do it or (b) how to adjust the part of parellel.py that
makes it wait until the sound finished.

mu'o mi'e .aleks.

On Apr 17, 2007, at 12:56 PM, Jon Top Hat Jones wrote:

Linux version, running on Ubuntu Linux 6.10 LTS.

On 4/17/07, Alex Martini <alexjm@umich.edu> wrote:

On Apr 17, 2007, at 10:15 AM, Jon Top Hat Jones wrote:

[li'o] Speaking of which, I can't get Parallel to work.

mu'o mi'e .topy'at.

Come to the Dot Side!

Are you using the Windows or Linux version? The Windows version
worked straight away after I un-zipped it for me. The Linux (python
with pyGame) worked on my Mac, but took some tweaking since I don't
have realplay installed.









--
-Jon

mu'o mi'e .topy'at.

Come to the Dot Side!