Article View: comp.sys.mac
Article #20109Re: A Macintalk Question
From: Brian Rauchfuss
Date: Sat, 10 Oct 1987 04:00
Date: Sat, 10 Oct 1987 04:00
16 lines
1407 bytes
1407 bytes
>Is it possible to get at the waveform (i.e., as an array of integers) that
>the Macintalk driver generates?
The Macintalk driver uses the sound buffer in high memory to output its
words, the problem is that it refills the buffer continuously, so after
a sentance, all that would be in the buffer is the last part of it.
If you want to be clever, all you have to do is write a program which
replaces the pointer to the sound routine in the jump table with a pointer
to a routine of your own. When Macintalk wants to output the sound, it
calls you and you copy the sound buffer to a safe place, and then either
go ahead and call the original sound routine or return. This is not a
dubious hack, it is the respected and correct way to modify a system
routine and is documented in Inside Mac.
Brian (Smokefoot) Rauchfuss
Technical Details
Message-ID:
<10620003@hpfclm.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!hpcea!hpfcdc!hpfclm!brianReferences:
<17372@yale-celray.yale.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!hplabs!hpcea!hpfcdc!hpfclm!brian From: brian@hpfclm.HP.COM (Brian Rauchfuss) Newsgroups: comp.sys.mac Subject: Re: A Macintalk Question Message-ID: <10620003@hpfclm.HP.COM> Date: Sat, 10-Oct-87 00:00:06 EDT Article-I.D.: hpfclm.10620003 Posted: Sat Oct 10 00:00:06 1987 Date-Received: Mon, 12-Oct-87 21:38:07 EDT References: <17372@yale-celray.yale.UUCP> Organization: Hewlett-Packard - Fort Collins, CO Lines: 16