My bzPersonalAssistant code/project

If of interest, here are two separate download links - the one for the current source code, and the other, larger one for currently compiled windows executable etc. - bzPersonalAssistant.exe.

And, since this is sort of first time am really focusing on trying to use wxPython frames, dialog’s etc. a bit better/properly, I would also appreciate it if you can let me know if have messed up anything specific in terms of layout, general usage, etc. - BTW, blind biker in my email signature is a fact, and I can’t look at GUI interface in the ‘normal’ way… - and, yes, there are still other pieces of using LBC module at times, etc., but, will eventually try clear those out as well, but, that’s partly why want to find out if am doing much correctly in terms of how am trying to implement wxPython GUI building/rendition.

Anyway, here’s the source code - total of652Kb, and starting point is bzPersonalAssistant.py :

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantSource.zip

Otherwise, here’s the windows executable version - total of 8.35Mb, and was built using cx_Freeze - executable there is bzPersonalAssistant.exe:

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantExecutable.zip

Now, this is meant to be sort of what the name says - a smallish piece of personal assistant type of software, and currently offers you typing in, categorising and searching for text notes, lets you define categories for, and then record .wav audio clips/audio notes, using windows standard audio input source - and have already figured out how to do something like invoke lame encoder via command line to switch over to sort of ending up offering .MP3 output, but haven’t bothered with that yet, since at least part of that might relate to path/location compatibility if I actually let people do much more than test this applet, but, let’s see.

The other categories are a form of calendar, and categorised collections of web links, and contacts, and haven’t finished off documentation of much as of yet, but, for example, since this is sort of targeting VI/blind users to a certain extent - wx is AFAIC the best GUI framework in terms of python generated acdcessibility - it can also tell you certain things using forms of TTS, and should notify you on the change of hour using small synthesized sound clips from the ./sounds directory as well, but anyway.

I’m making use of python 2.7, wxPython 3.0, and other non-standard python modules are things like accessible_output, a small audio recording class in there - thanks for that one - etc. etc., along with a couple of win32 specific modules at moment, but anyway.

Please let me know if you look at this at all, and what you think of end-result/output/code - know/am sure there are likely to still be some unresolved bugs/glitches in there - but am still busy playing around with this - and, yes, I generally use tab character for indentation - and have left it like that in source code for now.

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

If of interest, here are two separate download links - the one for the current source code, and the other, larger one for currently compiled windows executable etc. - bzPersonalAssistant.exe.

And, since this is sort of first time am really focusing on trying to use wxPython frames, dialog’s etc. a bit better/properly, I would also appreciate it if you can let me know if have messed up anything specific in terms of layout, general usage, etc. - BTW, blind biker in my email signature is a fact, and I can’t look at GUI interface in the ‘normal’ way… - and, yes, there are still other pieces of using LBC module at times, etc., but, will eventually try clear those out as well, but, that’s partly why want to find out if am doing much correctly in terms of how am trying to implement wxPython GUI building/rendition.

Anyway, here’s the source code - total of652Kb, and starting point is bzPersonalAssistant.py :

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantSource.zip

Otherwise, here’s the windows executable version - total of 8.35Mb, and was built using cx_Freeze - executable there is bzPersonalAssistant.exe:

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantExecutable.zip

Now, this is meant to be sort of what the name says - a smallish piece of personal assistant type of software, and currently offers you typing in, categorising and searching for text notes, lets you define categories for, and then record .wav audio clips/audio notes, using windows standard audio input source - and have already figured out how to do something like invoke lame encoder via command line to switch over to sort of ending up offering .MP3 output, but haven’t bothered with that yet, since at least part of that might relate to path/location compatibility if I actually let people do much more than test this applet, but, let’s see.

The other categories are a form of calendar, and categorised collections of web links, and contacts, and haven’t finished off documentation of much as of yet, but, for example, since this is sort of targeting VI/blind users to a certain extent - wx is AFAIC the best GUI framework in terms of python generated acdcessibility - it can also tell you certain things using forms of TTS, and should notify you on the change of hour using small synthesized sound clips from the ./sounds directory as well, but anyway.

I’m making use of python 2.7, wxPython 3.0, and other non-standard python modules are things like accessible_output, a small audio recording class in there - thanks for that one - etc. etc., along with a couple of win32 specific modules at moment, but anyway.

Please let me know if you look at this at all, and what you think of end-result/output/code - know/am sure there are likely to still be some unresolved bugs/glitches in there - but am still busy playing around with this - and, yes, I generally use tab character for indentation - and have left it like that in source code for now.

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

from the src zip

···

On Friday, March 21, 2014 6:02:25 PM UTC-5, Jacob Kruger wrote:

Traceback (most recent call last):
File “bzPersonalAssistantSource\bzPersonal.py”, line 3, in
from accessible_output import speech
ImportError: No module named accessible_output

      from the src zip

Traceback (most recent call last):

          File "bzPersonalAssistantSource\bzPersonal.py", line 3, in
            from accessible_output import speech

        ImportError: No module named accessible_output

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-users+unsubscribe@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

Try:

pip install accessible_output

as it is a prerequisite package.

Exe errors also
cx_Freeze problems. PyInstaller is a better bet for frozen exes.
See attached pic.

cx_Freeze_Error.png

Ok, now sound_lib is not found. What would be the package for that?

@ Jacob. There needs to be an INSTALL.txt file with the source that tells where to get the packages/REQz

···

On Saturday, March 22, 2014 8:14:53 AM UTC-5, Gadget Steve wrote:

      from the src zip

Traceback (most recent call last):

          File "bzPersonalAssistantSource\            bzPersonal.py", line 3, in
            from accessible_output import speech

        ImportError: No module named accessible_output

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-user...@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

Try:

pip install accessible_output



as it is a prerequisite package.

A quick look in the cheese shop page for accessible output hints:

···

On 22/03/14 13:26, Metallicow wrote:

    On Saturday, March 22, 2014 8:14:53 AM UTC-5, Gadget Steve

wrote:

              from the src zip
                Traceback (most recent call

last):

                  File "bzPersonalAssistantSource\                    bzPersonal.py",

line 3, in

                    from accessible_output import speech

                ImportError: No module named accessible_output

          You received this message because you are subscribed to

the Google Groups “wxPython-users” group.

          To unsubscribe from this group and stop receiving emails

from it, send an email to wxpython-user...@googlegroups.com.

          For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

Try:

        pip install accessible_output



        as it is a prerequisite package.
      Ok, now sound_lib is not found. What would be the package for

that?

      @ Jacob. There needs to be an INSTALL.txt file with the source

that tells where to get the packages/REQz

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-users+unsubscribe@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

[ Speech

Outputs](accessible_output · PyPI)

  • JAWS for Windows
  • Window Eyes
  • Dolphin Screen Readers newer than v11.
  • NVDA 2010.1 or newer
  • System Access and System Access To Go
  • Microsoft sapi 5 speech

[ Braille

Outputs](accessible_output · PyPI)

  • JAWS for Windows
  • Window Eyes
  • NVDA
  • System Access and System Access To Go

That’s referring to accessible_output - and, also use sound_lib from same source - from here:

http://hg.q-continuum.net/accessible_output/

and

http://hg.q-continuum.net/sound_lib/

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 3:08 PM

Subject: [wxPython-users] Re: My bzPersonalAssistant code/project

On Friday, March 21, 2014 6:02:25 PM UTC-5, Jacob Kruger wrote:

If of interest, here are two separate download links - the one for the current source code, and the other, larger one for currently compiled windows executable etc. - bzPersonalAssistant.exe.
And, since this is sort of first time am really focusing on _trying_ to use wxPython frames, dialog's etc. a bit better/properly, I would also appreciate it if you can let me know if have messed up anything specific in terms of layout, general usage, etc. - BTW, blind biker in my email signature is a fact, and I can't look at GUI interface in the 'normal' way...<smile> - and, yes, there are still other pieces of using LBC module at times, etc., but, will eventually try clear those out as well, but, that's partly why want to find out if am doing much correctly in terms of how am trying to implement wxPython GUI building/rendition.
Anyway, here's the source code - total of652Kb, and starting point is bzPersonalAssistant.py :

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantSource.zip

Otherwise, here's the windows executable version - total of 8.35Mb, and was built using cx_Freeze - executable there is bzPersonalAssistant.exe:

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantExecutable.zip

Now, this is meant to be sort of what the name says - a smallish piece of personal assistant type of software, and currently offers you typing in, categorising and searching for text notes, lets you define categories for, and then record .wav audio clips/audio notes, using windows standard audio input source - and have already figured out how to do something like invoke lame encoder via command line to switch over to sort of ending up offering .MP3 output, but haven't bothered with that yet, since at least part of that might relate to path/location compatibility if I actually let people do much more than test this applet, but, let's see.
The other categories are a form of calendar, and categorised collections of web links, and contacts, and haven't finished off documentation of much as of yet, but, for example, since this is sort of targeting VI/blind users to a certain extent - wx is AFAIC the best GUI framework in terms of python generated acdcessibility - it can also tell you certain things using forms of TTS, and should notify you on the change of hour using small synthesized sound clips from the ./sounds directory as well, but anyway.
I'm making use of python 2.7, wxPython 3.0, and other non-standard python modules are things like accessible_output, a small audio recording class in there - thanks for that one - etc. etc., along with a couple of win32 specific modules at moment, but anyway.
Please let me know if you look at this at all, and what you think of end-result/output/code - know/am sure there are likely to still be some unresolved bugs/glitches in there - but am still busy playing around with this - and, yes, I generally use tab character for indentation - and have left it like that in source code for now.

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

from the src zip

Traceback (most recent call last):
  File "bzPersonalAssistantSource\bzPersonal.py", line 3, in <module>
    from accessible_output import speech

ImportError: No module named accessible_output


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Have tried it with both py2exe and cx_Freeze, but, will have a look at PyInstaller.

Also tried specifically installing MSVCRT 9.0 and 10.0 on a relatively clean windows XP machine, with this in case was relevant, but, not working there either as of yet.

Stay well

Thanks

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 3:16 PM

Subject: [wxPython-users] Re: My bzPersonalAssistant code/project

Exe errors also
cx_Freeze problems. PyInstaller is a better bet for frozen exes.
See attached pic.


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

See other mail about download source for both accessible_output and sound_lib, and yes, know need to update all forms of documentation - will get there…

Would guess that if pip works with accessible_output, then following should work for sound_lib:

pip install sound_lib

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 3:26 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

On Saturday, March 22, 2014 8:14:53 AM UTC-5, Gadget Steve wrote:

from the src zip

    Traceback (most recent call last):
      File "bzPersonalAssistantSource\        bzPersonal.py", line 3, in <module>
        from accessible_output import speech
  ImportError: No module named accessible_output


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try:

pip install accessible_output

as it is a prerequisite package.

Ok, now sound_lib is not found. What would be the package for that?

@ Jacob. There needs to be an INSTALL.txt file with the source that tells where to get the packages/REQz


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the links. Deps Installed and working from source.
Haha. Microsoft sam told me something was loaded and goodbye. Good ol lame voice sam still yabbin about.
I recall there are some places to get better voices. Do you got any links for that?

I don’t use pip. pip doesn’t fare well with xp most of the time for whatever reasons(usually downloading/etc). I use BAIN or manual install.

···

On Saturday, March 22, 2014 8:55:54 AM UTC-5, Jacob Kruger wrote:

See other mail about download source for both accessible_output and sound_lib, and yes, know need to update all forms of documentation - will get there…

Would guess that if pip works with accessible_output, then following should work for sound_lib:

pip install sound_lib

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

And, have been trying to get pyInstaller to work for like last hour now - and, no-go - works fine with things like test command line apps, that do implement things like accessible_output, etc., but, just generates all the output for GUI apps that were done using wxPython, or the LBC wrapper for wxPython, but, they don’t seem to perform any actions when you try execute them then - think this is similar to issue originally had when trying to use py2exe on wxPython code, in that executables just did nothing, so I switched over to cx_Freeze, since that seemed to work alright then, but, really not sure what’s causing hassles now - tried specifying all the possible-in-use modules as hidden-import modules for pyInstaller, etc. etc., and tried first generating spec file, and then executing pyi-build, etc., but, no changes/good as of yet.

Also, in cx_Freeze setup code, I also tried specifying all the modules am importing throughout my code in it’s build_exe_options = {“packages”: … list collection, but, also didn’t seem to help.

One last question/thought that occurred to me is now, could this possibly all have something to do with fact that have installed 32 bit version of python 2.7 on this 64 bit windows machine? I made that decision quite a while ago, due to something like a compatibility issue - compatibility between other modules, or something – can’t really remember exact reasoning - but have stuck to it, and never really had issues before now tried switching over to real wxPython usage, etc.?

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Jacob Kruger

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 3:55 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

See other mail about download source for both accessible_output and sound_lib, and yes, know need to update all forms of documentation - will get there…

Would guess that if pip works with accessible_output, then following should work for sound_lib:

pip install sound_lib

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 3:26 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

On Saturday, March 22, 2014 8:14:53 AM UTC-5, Gadget Steve wrote:

from the src zip

      Traceback (most recent call last):
        File "bzPersonalAssistantSource\          bzPersonal.py", line 3, in <module>
          from accessible_output import speech
    ImportError: No module named accessible_output


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try:

  pip install accessible_output

as it is a prerequisite package.
Ok, now sound_lib is not found. What would be the package for that?

@ Jacob. There needs to be an INSTALL.txt file with the source that tells where to get the packages/REQz


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

What types of voice would you want to play around with?

For various languages, and with the ability to play around with your own forms of variants, some relatively robotic sounding voices are the eSpeak ones:

http://espeak.sourceforge.net/

For more realistic sounding voices, they’re generally not just freely available, but, at least, for example, accessible_output, by default, just uses the same one we’re using for primary synth with screen reader - normally either eloquence synth, or eSpeak on my side, and yes, MS sam, mary, and newer angela hardly ever get listened to at all…

And, the voice I used to generate the small clips for telling time - in the ./sounds subdirectory - is realspeak/scansoft UK lee, but, that’s a voice I got hold of a long time ago, as part of a screenreader package.

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Cc: jacob@blindza.co.za

Sent: Saturday, 22 March, 2014 4:29 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

On Saturday, March 22, 2014 8:55:54 AM UTC-5, Jacob Kruger wrote:

See other mail about download source for both accessible_output and sound_lib, and yes, know need to update all forms of documentation - will get there…

Would guess that if pip works with accessible_output, then following should work for sound_lib:

pip install sound_lib

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

Thanks for the links. Deps Installed and working from source.
Haha. Microsoft sam told me something was loaded and goodbye. Good ol lame voice sam still yabbin about.
I recall there are some places to get better voices. Do you got any links for that?

I don’t use pip. pip doesn’t fare well with xp most of the time for whatever reasons(usually downloading/etc). I use BAIN or manual install.


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Could be… not sure tho. Most of my testing is with 32bit exes. They run fine in 64bit also. Now if you built it on a 64bit system and I’m trying to run it on a 32 bit, then there might be problems.
I have a boatload of HHDs so all I need to do is swap a few connectors and reboot and build from a different OS usually, or try building in a virtual machine.
But in general you should build your 32 bit exes on a 32bit system you intend to target them for and 64bit on a 64bit system; etc… is rule of thumb.
I would tend to assume that would be the way it should always work, but have never tried it basackwards. I know some others have run into problems in the past because they may have had the wrong bit python or whatever installed/mixed in with something else.

As far as voices, I’m not looking for anything real fancy, but better than sam. The audio included for the time teller sounded fine, but basically a better vocal data base(for english basically) is what I am looking for.
I played around with the text to speech a bit with SourceCoder years ago, but got tired of sam real quick.
I have recording equipment, but I normally only exclusively use it for recording my music, not me reading the whole dictionary, then having to tirlessly cut it all up into words.
and then write a text2audio-vertor for it.
The code would be simple enough from a word perspective as I have done some chopwork for some mod projects,
just the part of finding a free database where voice actors donate there time freely for something like this is the hard part.
Just something basically half natural would make me happy. Having sam sing the ciceros lorem ipsum is funny at times but wears out quickly.

Writing something for character pronunciation and correct grammer is a bit more of a trick tho that just playing a audiolist with a spell checker as you probably well know.

···

On Saturday, March 22, 2014 12:24:46 PM UTC-5, Jacob Kruger wrote:

And, have been trying to get pyInstaller to work for like last hour now - and, no-go - works fine with things like test command line apps, that do implement things like accessible_output, etc., but, just generates all the output for GUI apps that were done using wxPython, or the LBC wrapper for wxPython, but, they don’t seem to perform any actions when you try execute them then - think this is similar to issue originally had when trying to use py2exe on wxPython code, in that executables just did nothing, so I switched over to cx_Freeze, since that seemed to work alright then, but, really not sure what’s causing hassles now - tried specifying all the possible-in-use modules as hidden-import modules for pyInstaller, etc. etc., and tried first generating spec file, and then executing pyi-build, etc., but, no changes/good as of yet.

Also, in cx_Freeze setup code, I also tried specifying all the modules am importing throughout my code in it’s build_exe_options = {“packages”: … list collection, but, also didn’t seem to help.

One last question/thought that occurred to me is now, could this possibly all have something to do with fact that have installed 32 bit version of python 2.7 on this 64 bit windows machine? I made that decision quite a while ago, due to something like a compatibility issue - compatibility between other modules, or something – can’t really remember exact reasoning - but have stuck to it, and never really had issues before now tried switching over to real wxPython usage, etc.?

Might try installing whole python combination on my VMWare winXP 32 bit machine, and try building executables on it then.

In terms of voices, check out the following pages - these are mostly offered for use with the free, open-source screen reader that uses eSpeak by default, but, is also done using python FWIW:

http://community.nvda-project.org/wiki/ExtraVoices

But, here is another page for better MSSAPI voices as well:

http://www.bytecool.com/voices.htm

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 8:38 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

On Saturday, March 22, 2014 12:24:46 PM UTC-5, Jacob Kruger wrote:

And, have been trying to get pyInstaller to work for like last hour now - and, no-go - works fine with things like test command line apps, that do implement things like accessible_output, etc., but, just generates all the output for GUI apps that were done using wxPython, or the LBC wrapper for wxPython, but, they don’t seem to perform any actions when you try execute them then - think this is similar to issue originally had when trying to use py2exe on wxPython code, in that executables just did nothing, so I switched over to cx_Freeze, since that seemed to work alright then, but, really not sure what’s causing hassles now - tried specifying all the possible-in-use modules as hidden-import modules for pyInstaller, etc. etc., and tried first generating spec file, and then executing pyi-build, etc., but, no changes/good as of yet.

Also, in cx_Freeze setup code, I also tried specifying all the modules am importing throughout my code in it's build_exe_options = {"packages": []... list collection, but, also didn't seem to help.
One last question/thought that occurred to me is now, could this possibly all have something to do with fact that have installed 32 bit version of python 2.7 on this 64 bit windows machine?  I made that decision quite a while ago, due to something like a compatibility issue - compatibility between other modules, or something -- can't really remember exact reasoning - but have stuck to it, and never really had issues before now tried switching over to real wxPython usage, etc.?

Could be… not sure tho. Most of my testing is with 32bit exes. They run fine in 64bit also. Now if you built it on a 64bit system and I’m trying to run it on a 32 bit, then there might be problems.
I have a boatload of HHDs so all I need to do is swap a few connectors and reboot and build from a different OS usually, or try building in a virtual machine.
But in general you should build your 32 bit exes on a 32bit system you intend to target them for and 64bit on a 64bit system; etc… is rule of thumb.
I would tend to assume that would be the way it should always work, but have never tried it basackwards. I know some others have run into problems in the past because they may have had the wrong bit python or whatever installed/mixed in with something else.

As far as voices, I’m not looking for anything real fancy, but better than sam. The audio included for the time teller sounded fine, but basically a better vocal data base(for english basically) is what I am looking for.
I played around with the text to speech a bit with SourceCoder years ago, but got tired of sam real quick.
I have recording equipment, but I normally only exclusively use it for recording my music, not me reading the whole dictionary, then having to tirlessly cut it all up into words.
and then write a text2audio-vertor for it.
The code would be simple enough from a word perspective as I have done some chopwork for some mod projects,
just the part of finding a free database where voice actors donate there time freely for something like this is the hard part.
Just something basically half natural would make me happy. Having sam sing the ciceros lorem ipsum is funny at times but wears out quickly.

Writing something for character pronunciation and correct grammer is a bit more of a trick tho that just playing a audiolist with a spell checker as you probably well know.


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Doubt it. I use this combo all the time to build wxPy apps using PyInstaller and no issues.

Michael

···

On 3/22/2014 12:24 PM, Jacob Kruger wrote:

One last question/thought that occurred to me is now, could this possibly all have something to do with fact that have installed 32 bit version of python 2.7 on this 64 bit windows machine?

The NVDA seems to have a good selection of better-than-sam voices, or umm more understandable per say…
Ok, I see that it offers portability, so that is good… That means I can toy with it when I want to. Now to figure out how to set it up in a
“Shutup unless asked to speak mode” by pressing a hotkey that would for example speak the selected text.

I’m not sure if you are blind or just a developer for helping those that are, but I know there are varying levels of blindness.
Myself am not blind, maybe slightly colorblind, but to give you an example of what I was toying with for my idea was more of a python-xml tag-like language for musicians.
If you don’t know who Mr.Fastfinger is, then check this out… real cool stuff on his site. Plus besides being fun, you can shred also even if you are not a musician and learn a bit about music while you play a game.
http://www.guitarshredshow.com/main.html

I am looking to do something of this nature with readable python code and custom xml-like scripting.
The reason I am wanting a natural voice will be apparent after you complete the journey though the modes if you know anything about music at all.
I myself, also am an instrumentalist for the most part, just as fastfinger.

Anyway, thanks for the links, and good luck with your app.
It will probably give me a better idea on how to tackle my problem when I get back around to animating more.

···

On Saturday, March 22, 2014 2:16:37 PM UTC-5, Jacob Kruger wrote:

In terms of voices, check out the following pages - these are mostly offered for use with the free, open-source screen reader that uses eSpeak by default, but, is also done using python FWIW:

http://community.nvda-project.org/wiki/ExtraVoices

But, here is another page for better MSSAPI voices as well:

http://www.bytecool.com/voices.htm

Ok, tried it now quickly on VMWare windows XP, 32 bit image, by installing whole combo of python, all add-ons/modules/packages generally install on my dev machine, but, compilation/executable generation wasn’t all too happy herein - also didn’t want to run apps, and when then just tried running code via python interpreter - python bzPersonal.py - it at times came up with python.exe has generated an error, etc. etc., so not working there eitehr - will have to play around with whole thing a bit more - pity…:frowning: LOL!

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

···

----- Original Message -----

From:
Jacob Kruger

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 9:16 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

Might try installing whole python combination on my VMWare winXP 32 bit machine, and try building executables on it then.

In terms of voices, check out the following pages - these are mostly offered for use with the free, open-source screen reader that uses eSpeak by default, but, is also done using python FWIW:

http://community.nvda-project.org/wiki/ExtraVoices

But, here is another page for better MSSAPI voices as well:

http://www.bytecool.com/voices.htm

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

----- Original Message -----

From:
Metallicow

To: wxpython-users@googlegroups.com

Sent: Saturday, 22 March, 2014 8:38 PM

Subject: Re: [wxPython-users] Re: My bzPersonalAssistant code/project

On Saturday, March 22, 2014 12:24:46 PM UTC-5, Jacob Kruger wrote:

And, have been trying to get pyInstaller to work for like last hour now - and, no-go - works fine with things like test command line apps, that do implement things like accessible_output, etc., but, just generates all the output for GUI apps that were done using wxPython, or the LBC wrapper for wxPython, but, they don’t seem to perform any actions when you try execute them then - think this is similar to issue originally had when trying to use py2exe on wxPython code, in that executables just did nothing, so I switched over to cx_Freeze, since that seemed to work alright then, but, really not sure what’s causing hassles now - tried specifying all the possible-in-use modules as hidden-import modules for pyInstaller, etc. etc., and tried first generating spec file, and then executing pyi-build, etc., but, no changes/good as of yet.

  Also, in cx_Freeze setup code, I also tried specifying all the modules am importing throughout my code in it's build_exe_options = {"packages": []... list collection, but, also didn't seem to help.
  One last question/thought that occurred to me is now, could this possibly all have something to do with fact that have installed 32 bit version of python 2.7 on this 64 bit windows machine?  I made that decision quite a while ago, due to something like a compatibility issue - compatibility between other modules, or something -- can't really remember exact reasoning - but have stuck to it, and never really had issues before now tried switching over to real wxPython usage, etc.?
Could be... not sure tho. Most of my testing is with 32bit exes. They run fine in 64bit also. Now if you built it on a 64bit system and I'm trying to run it on a 32 bit, then there might be problems.
I have a boatload of HHDs so all I need to do is swap a few connectors and reboot and build from a different OS usually, or try building in a virtual machine.
But in general you should build your 32 bit exes on a 32bit system you intend to target them for and 64bit on a 64bit system; etc.. is rule of thumb.
I would tend to assume that would be the way it should always work, but have never tried it basackwards. I know some others have run into problems in the past because they may have had the wrong bit python or whatever installed/mixed in with something else.

As far as voices, I'm not looking for anything real fancy, but better than sam. The audio included for the time teller sounded fine, but basically a better vocal data base(for english basically) is what I am looking for.
I played around with the text to speech a bit with SourceCoder years ago, but got tired of sam real quick.
I have recording equipment, but I normally only exclusively use it for recording my music, not me reading the whole dictionary, then having to tirlessly cut it all up into words.
and then write a text2audio-vertor for it.
The code would be simple enough from a word perspective as I have done some chopwork for some mod projects,
just the part of finding a free database where voice actors donate there time freely for something like this is the hard part.
Just something basically half natural would make me happy. Having sam sing the ciceros lorem ipsum is funny at times but wears out quickly.

Writing something for character pronunciation and correct grammer is a bit more of a trick tho that just playing a audiolist with a spell checker as you probably well know.


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ok, next update - took sound_lib out of modules/use, and switched over to only using the code in recClass.py to handle both playback and recording of sound, and can now compile code on my dev machine, using cx_Freeze, into an executable that seems to handle pretty much alright on the VMWare windows XP 32 bit machine - except it doesn’t want to handle actual sound recording, but, think that could be due to the sort of virtual sound card hardware, so will need to try test this on another machine that’s relatively clean/free of all development tools, etc., but anyway.

Anyway, if interested, here’s the new/current version of source code - and, external/additional modules am making use of/implementing, aside from any included in this folder, are accessible_output, and wxPython 3.0 - don’t think there are too many other, additional/external modules being made use of, but could have forgotten something - 656Kb:

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantSource.zip

Only other issue there would be that it’s going to look for user account app data folder, which would under windows7 fall under something like:

c:\Users<userName>\AppData\Roaming\bzPersonalAssistant\bzPersonalAssistant

or, under windows XP, that would be more like:

C:\Documents and Settings<userName>\Application Data\bzPersonalAssistant\bzP

And, under that directory, it will look for the audioNotes folder, as well as storing bzPersonal.data - using pickle to store lists/dictionaries of data therein -, etc., as well as possibly sounds directory, since am at time switching operational path over to there.

Here’s the compiled/generated output that seems to work best/most reliably using cx_Freeze - py2exe doesn’t want to work/launch .exe, and pyInstaller also seems ‘unhappy’ - 22.2Mb:

http://www.blindza.co.za/bzPersonalAssistant/bzPersonalAssistantExecutable.zip

And, here’s an install package that also creates user account app data directory structure, and renders icons under start menu group - this was done using innoSetup - 16.9Mb:

http://www.blindza.co.za/bzPersonalAssistant/setup.exe

Either way, it seems to work/operate for now - just a quick test, except for throwing an error when I try to actually invoke sound recording, but, like said, that could be due to VMWare hardware imitation, or not…

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”