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

Auditory icons question



Bart,

Those functions --- queue_advance and friends, are from a failed
attempt circa 1998 to implement rewind/forward for TTS. They're
not used because it was hard to get them working right ---
-- 
Best Regards,
--raman

-- 
Best Regards,
--raman


On 4/12/11, Bart Bunting <bart@bunting.net.au> wrote:
> Hi Raman,
>
> I'm currently using queue but playing the icon as soon as it arrives
> rather than queueing it as it's currently giving the best results.
>
> Still tinkering with it though.
>
> We just got tones working nicely.  Last remaining thing I think is caps
> and allcaps beep.
>
>
> There are one or two niggling issues but nothing serious.
>
> I think in a week or two it will be ready to be included in emacspeak.
> Before this is done though I think I should write up some instructions
> on how to get emacspeak up and running on a mac as it wasn't an entirely
> straight forward thing to do.  Not emacspeak's fault, more to do with
> getting all the bits in place first.
>
> One other question.  I notice that in  tts lib there are functions like:
> queue_backup, queue_remove, queue_advance, queue_retreat although I
> can't find where they are used.
>
> Are they required?
>
> Cheers
>
> Bart
>
>  On Tue, 12 Apr 2011 19:31:42 -0700, "T.V. Raman" <tv.raman.tv@gmail.com>
> wrote:
>> Bart,
>>
>> Note that that option emacspeak-auditory-icon-function can take
>> one of three values --- well, more if you write more functions:
>>
>> Roughly:
>>
>> play -- plays it locally, calls aplay.
>> queue: queues it to the server using {a sound_icon_name}
>> serve -- sends it to the server as {p sound_icon_name}
>>
>>
>>
>> distinction between "queue" and "serve" is subtle -- it's there
>> because at some point in the past, "queue" didn't always work as
>> expected due to sound card latency.
>>
>> If it works, queue is ideal, since the icon comes at the right
>> point in the output stream. If not use "serve".
>> --
>> Best Regards,
>> --raman
>>
>> --
>> Best Regards,
>> --raman
>>
>>
>> On 4/11/11, Bart Bunting <bart@bunting.net.au> wrote:
>> > Hi Tim,
>> >
>> > Actualy it was that I had emacspeak-auditory-icon-function set to
>> > emacspeak-play-auditory-icon which works fine for me on linux using
>> > alsa.  I couldn't get this working on the mac but have changed it to
>> > emacspeak-queue-auditory-icon and had the speech server play it which is
>> > now working well.
>> >
>> > Thanks for the tips though!
>> >
>> > Also the mac server is now getting quite close to being ready for prime
>> > time so if anyone else out there wants to give it a spin it would be
>> > helpful.
>> >
>> > Cheers
>> >
>> > Bart
>> >
>> > On Tue, 12 Apr 2011 13:55:19 +1000, Tim Cross <theophilusx@gmail.com>
>> > wrote:
>> >> Hi Bart,
>> >>
>> >> I believe you are correct in that auditory icons are placed in the tts
>> >> queue
>> >> and processed along with other tts queue events.
>> >>
>> >> What server are you using? What is your emacspeak-play-program set to?
>> >> Can
>> >> your setup handle multiple sound sources at the same time i.e. using
>> >> dmix
>> >> or
>> >> pulse or a multi-channel card? Have you set emacspeak-default-theme?
>> >>
>> >> Using the emacspeak-play-program from the command line, can you play a
>> >> sound
>> >> icon from the shell when emacspeak is running? If not, does it work
>> >> when
>> >> it
>> >> is not running? If the latter and not the former, then my guess would
>> >> be
>> >> some sort of sound device contention.
>> >>
>> >> Tim
>> >>
>> >> On Thu, Apr 7, 2011 at 3:16 PM, Bart Bunting <bart@bunting.net.au>
>> >> wrote:
>> >>
>> >> > Hi all,
>> >> >
>> >> > Just a quick question.
>> >> >
>> >> > Are auditory icons handled in the speech server or is
>> >> > emacspeak-play-program called directly from emacs?
>> >> >
>> >> > From my reading of emacspeak-sounds I had thought that a "a" command
>> >> > was
>> >> > sent to the speech server.  This does not appear to be happening for
>> >> > me.
>> >> >
>> >> > Am I missing something here?
>> >> >
>> >> > Kind regards
>> >> >
>> >> > Bart
>> >> >
>> >> >
>> >> > -----------------------------------------------------------------------------
>> >> > To unsubscribe from the emacspeak list or change your address on the
>> >> > emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
>> >> > subject of "unsubscribe" or "help".
>> >> >
>> >> >
>> > Non-text part: text/html
>> >
>> > --
>> >
>> > Bart Bunting
>> >
>> > URSYS Pty. Ltd
>> > 461 Parramatta Rd. Leichhardt NSW  2040  Australia
>> > Ph.           +61 2 8745 2811
>> > Fax          +61 2 8745 2828
>> >
>> > -----------------------------------------------------------------------------
>> > To unsubscribe from the emacspeak list or change your address on the
>> > emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
>> > subject of "unsubscribe" or "help".
>> >
>> >
>
> --
>
> Bart Bunting
>
> URSYS Pty. Ltd
> 461 Parramatta Rd. Leichhardt NSW  2040  Australia
> Ph.           +61 2 8745 2811
> Fax          +61 2 8745 2828
>

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive