Anyone who has used PimShed ?

Discussion in 'Computer Software and Operating Systems' started by pasc, Nov 20, 2013.

  1. pasc
    OP

    pasc GBATemps official GBA Freak

    Member
    2,593
    145
    Sep 9, 2006
    Gambia, The
    Germany
    Well I recently tried to get this pimsched program to work.

    It seemingly requires e-speak, phyton and languags.

    I however fail to see how one could get said languages.

    Anyone who knows how to do this ?

    In my Example I'd need the languages English, German and Spanish.

    Thanks in advance.

    (Mods: if this doesn't fit in here feel free to delete/move it)
     
  2. DrOctapu

    DrOctapu Magnificent Bastard

    Member
    1,207
    300
    Dec 23, 2008
    United States
    Hell.
    Presumably you'd run sudo apt-get install espeak python and then you'd be good to go. Most distros come pre-equipped with python these days, though, so you should actually just have to install espeak.
     
  3. pasc
    OP

    pasc GBATemps official GBA Freak

    Member
    2,593
    145
    Sep 9, 2006
    Gambia, The
    Germany
    It seems I forgot to State One thing:

    I'm on windows.

    However:

    Have you used PimSched on Linux successfully ?

    Care to give it a try ?
     
  4. DrOctapu

    DrOctapu Magnificent Bastard

    Member
    1,207
    300
    Dec 23, 2008
    United States
    Hell.
    Works fine from what I can tell, although I haven't dug into it much. It runs though, so it's probably not broken. From what I can tell you're probably going to need some *NIX libraries to run it though, so if you want to use it you're probably going to have to modify it a bit.

    EDIT: Actually it seems like all the requirements are available on windows. How you'd get it all set up on windows is a mystery to me though, and the sourceforge page says it's BSD and GNU/Linux only.
     
  5. pasc
    OP

    pasc GBATemps official GBA Freak

    Member
    2,593
    145
    Sep 9, 2006
    Gambia, The
    Germany
    Well, I installed phyton, sox, espeak, mbrola, however when trying a simple en -> en wordlist like this:



    I get this:

    Code:
    C:\Users\Pascal\Desktop\PimSched-0.24>PimSched.py -l1 en -l2 en -o C:\Users\Pasc
    al\Downloads\PimSched-0.24\output.mp3 wordlist
    Traceback (most recent call last):
      File "C:\Users\Pascal\Desktop\PimSched-0.24\PimSched.py", line 57, in <module>
     
        call(['sox','-r','16000','-n', path.join(tempfiledir,'silence.wav'), 'trim',
    '0', '5'])
      File "C:\Python27\lib\subprocess.py", line 522, in call
        return Popen(*popenargs, **kwargs).wait()
      File "C:\Python27\lib\subprocess.py", line 709, in __init__
        errread, errwrite)
      File "C:\Python27\lib\subprocess.py", line 957, in _execute_child
        startupinfo)
    WindowsError: [Error 2] The file cannot be found