[raspberry-vi] Re: Welcome Phil

  • From: Rill <starbasecafe@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Fri, 23 Aug 2013 14:02:41 -0500

I just put together a blog post on how to enable (and disable) audio 
indentation with emacspeak.  The blog is at 
http://www.raspberryvi.org/rill.  Rill
On 8/23/2013 1:13 PM, Agent Orange wrote:
> I knew there was a good reason why Python would be difficult! :)
>
> It's great that Emacspeak announces the number of indentations on the line
> before reading the text; this is a very good reason to start using it.
>
> At the moment, until my Pi arrives and I can get working on it, I am writing
> Python code using an editor called Notepad++ in Win XP, and then executing
> the code at the Windows PowerShell command prompt.  I've tried getting my
> screen reader, JAWS, to read out the tabs at the start of the line in
> Notepad++, but without success.  It just ignores them unless I actually
> cursor over them.
>
> Phil
>
>
> -----Original Message-----
> From: raspberry-vi-bounce@xxxxxxxxxxxxx
> [mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Ray
> Sent: 23 August 2013 17:08
> To: raspberry-vi@xxxxxxxxxxxxx
> Subject: [raspberry-vi] Re: Welcome Phil
>
> Hello,
>
> One of the things to bear in mind when starting out with Python is the fact
> that it is a language that uses whitespace indentation to define structure.
>
> Unlike a language like C, which has blocks of code grouped by curly braces,
> Python just relies on leading whitespace.
>
> This is a fact that can make it very difficult for a blind programmer to
> follow program structure.
>
> The Python style-guides will tell you that spaces should be used for this
> leading whitespace but in my experience most editors will not speak anything
> when it encounters this space.
>
> So I use tabs insted of spaces.  Then a line of code with a leading tab is
> spoken as 'tab etc' and counting the number of tabs should make the
> structure obvious.
>
> I don't know offhand whether nano or Emacs can be made to utter these
> leading tabs.
>
> Mike
>
> On 23/08/2013 02:30, Rill wrote:
>> Hi Phil, I live in Wisconsin in the US.  I wondered if the background
>> noises would cause a problem, too, but it was a thought.  I'll check
>> out the tutorial and fiddle with working the exercises in emacs.  I
>> have no sense of which flavor of python is which.  lol.  Rill On
>> 8/22/2013 3:46 PM, Agent Orange wrote:
>>> Hi Rill,
>>>
>>> Thanks for your interest.  I hadn't thought about the possibility of
>>> controlling the Pi using speech input.  It's certainly an interesting
> idea.
>>> Whether or not it is practical may depend on the quality of speech
>>> recognition, the quality of the mic, and the level of background
>>> noise on the deck of a boat - it's often rather noisy on the deck of
>>> a boat what with noise from wind, waves and crew shouting to each
>>> other.  Perhaps others have some experience they could share?
>>>
>>> If you're interested in learning Python, here are some resources I
>>> have recently found which might get you started:
>>>
>>> The Python Wiki:
>>>
>>> http://wiki.python.org/moin/BeginnersGuide/NonProgrammers
>>>
>>> The official Python Download page:
>>>
>>> http://www.python.org/getit/
>>>
>>> A set of tutorials called "Learn Python The Hard Way" - this teaches
>>> Python v2.x not v3.x and so far (I'm only on exercise 3) it seems
>>> fairly accessible using a screen reader:
>>>
>>> http://learnpythonthehardway.org/book/
>>>
>>> I'm not sure where you are based, but in the UK there are several
>>> places which can help you to learn to sail if you are blind.  This is
>>> OT for this list, but get in touch with me off list if you'd like to know
> more.
>>> Phil
>>>
>>>     
>>>
>>> -----Original Message-----
>>> From: raspberry-vi-bounce@xxxxxxxxxxxxx
>>> [mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Rill
>>> Sent: 22 August 2013 14:49
>>> To: raspberry-vi@xxxxxxxxxxxxx
>>> Subject: [raspberry-vi] Re: Welcome Phil
>>>
>>> Hi Phil, this sounds like a fascinating and ambitious project.  I
>>> don't know any python either, I have done some programming and, if
>>> circumstances permit, I could learn along with you.  That would help
>>> debugging and problem solving. At one time I wanted to learn how to
>>> sail.  Would there any be reason to be able to speak to the pi/compass?
>>> I found an article and video recently where someone controlled their
>>> lights with the pi (not a blind person).
>>> Rill
>>> On 8/22/2013 12:11 AM, Agent Orange wrote:
>>>> Thanks for the introduction, Mike.
>>>>
>>>> As Mike says, I am helping out on a project which has produced a
>>>> talking compass for use by blind sailors.  Currently the compass is
>>>> built using Arduino and the speech is produced using a SpeechJet chip.
>>>> This requires every word spoken to be coded up phoneme by phoneme.
>>>> The arduous nature of this work limits the vocabulary which can be
>>>> used.  It also makes providing multi lingual support difficult.
>>>>
>>>> The current Arduino incarnation of the compass is already in use by
>>>> quite a number of blind people who sail, and there is a significant
>>>> amount of interest in it from non-English speaking countries.  There
>>>> are also various ideas for expanding what it can do.  It already has
>>>> a variety of modes of operation but there is more which could be
>>>> done with more powerful software and processing capabilities.
>>>> Unfortunately, we have pushed Arduino to it's limits and so we are
>>>> unable realistically to develop it much further without a
>>>> significant
>>> change.
>>>> So I have suggested rebuilding the device around a Pi, and using
>>>> this as the core of a new talking compass which uses an existing
>>>> Linux based speech engine to provide the spoken output.  This will
>>>> involve a lot of work in terms of building the electronics and
>>>> writing the software, but for now, I am focusing on trying to get a
>>>> Pi talking from boot to demonstrate the viability of the speech
>>>> capabilities of this
>>> idea.
>>>> It is intended to develop the software using Python, so I am also
>>>> hoping to be able to obtain some speech accessible Python
>>>> development tools, libraries, etc, for use on the Pi (I rely on
>>>> speech support as I can't see a screen).
>>>>
>>>> Now to the hard bit - although this sounded like a great idea when I
>>>> came up with it, I know very little about Linux, nothing about
>>>> Raspberry Pis and even less about coding in Python!  So I'm sure I
>>>> will be coming to the list for help from time to time.
>>>>
>>>> Kind regards
>>>>
>>>> Phil
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: raspberry-vi-bounce@xxxxxxxxxxxxx
>>>> [mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Mike Ray
>>>> Sent: 21 August 2013 13:01
>>>> To: raspberry-vi@xxxxxxxxxxxxx
>>>> Subject: [raspberry-vi] Welcome Phil
>>>>
>>>> Hello list,
>>>>
>>>> I would like to welcome Phil to the list.
>>>>
>>>> Phil is a friend from another email list here in the UK for disabled
>>>> radio amateurs.  Phil has some ideas for a specific project to do
>>>> with the
>>> Pi.
>>>> Mike
>>>>
>>>>
>>>> --
>>>> Michael A. Ray
>>>> Analyst/Programmer
>>>> Witley, Surrey, South-east UK
>>>>
>>>> Don't just sit there, learn something
>>>>
>>>> Interested in accessibility on the Raspberry Pi?
>>>> Visit: http://www.raspberryvi.org/
>>>>
>>>>      From where you can join our mailing list for visually-impaired
>>>> Pi hackers
>>>>
>>>> ===========================================================
>>>> The raspberry-vi mailing list
>>>> Archives: //www.freelists.org/archives/raspberry-vi
>>>> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
>>>> -----------------------------------------------------------
>>>> Raspberry Pi and the Raspberry Pi logo are trademarks of the
>>>> Raspberry Pi Foundation.
>>>>
>>>> This list is not affiliated to the Raspberry Pi Foundation and the
>>>> views and attitudes expressed by the subscribers to this list do not
>>>> reflect those of the Foundation.
>>>>
>>>> Mike Ray, list creator, January 2013
>>>>
>>>> ===========================================================
>>>> The raspberry-vi mailing list
>>>> Archives: //www.freelists.org/archives/raspberry-vi
>>>> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
>>>> -----------------------------------------------------------
>>>> Raspberry Pi and the Raspberry Pi logo are trademarks of the
>>>> Raspberry Pi
>>> Foundation.
>>>> This list is not affiliated to the Raspberry Pi Foundation and the
>>>> views
>>> and attitudes expressed by the subscribers to this list do not
>>> reflect those of the Foundation.
>>>> Mike Ray, list creator, January 2013
>>>>
>>> ===========================================================
>>> The raspberry-vi mailing list
>>> Archives: //www.freelists.org/archives/raspberry-vi
>>> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
>>> -----------------------------------------------------------
>>> Raspberry Pi and the Raspberry Pi logo are trademarks of the
>>> Raspberry Pi Foundation.
>>>
>>> This list is not affiliated to the Raspberry Pi Foundation and the
>>> views and attitudes expressed by the subscribers to this list do not
>>> reflect those of the Foundation.
>>>
>>> Mike Ray, list creator, January 2013
>>>
>>> ===========================================================
>>> The raspberry-vi mailing list
>>> Archives: //www.freelists.org/archives/raspberry-vi
>>> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
>>> -----------------------------------------------------------
>>> Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
> Foundation.
>>> This list is not affiliated to the Raspberry Pi Foundation and the views
> and attitudes expressed by the subscribers to this list do not reflect those
> of the Foundation.
>>> Mike Ray, list creator, January 2013
>>>
>> ===========================================================
>> The raspberry-vi mailing list
>> Archives: //www.freelists.org/archives/raspberry-vi
>> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
>> -----------------------------------------------------------
>> Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
> Foundation.
>> This list is not affiliated to the Raspberry Pi Foundation and the views
> and attitudes expressed by the subscribers to this list do not reflect those
> of the Foundation.
>> Mike Ray, list creator, January 2013
>>
>
> --
> Michael A. Ray
> Analyst/Programmer
> Witley, Surrey, South-east UK
>
> Don't just sit there, learn something
>
> Interested in accessibility on the Raspberry Pi?
> Visit: http://www.raspberryvi.org/
>
>   From where you can join our mailing list for visually-impaired Pi hackers
>
> ===========================================================
> The raspberry-vi mailing list
> Archives: //www.freelists.org/archives/raspberry-vi
> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
> -----------------------------------------------------------
> Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
> Foundation.
>
> This list is not affiliated to the Raspberry Pi Foundation and the views and
> attitudes expressed by the subscribers to this list do not reflect those of
> the Foundation.
>
> Mike Ray, list creator, January 2013
>
> ===========================================================
> The raspberry-vi mailing list
> Archives: //www.freelists.org/archives/raspberry-vi
> Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
> -----------------------------------------------------------
> Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
> Foundation.
>
> This list is not affiliated to the Raspberry Pi Foundation and the views and 
> attitudes expressed by the subscribers to this list do not reflect those of 
> the Foundation.
>
> Mike Ray, list creator, January 2013
>

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: