Article View: comp.sys.next.misc
Article #940Re: Phone tones as NeXT sound files.
From: Curt Welch
Date: Mon, 10 Aug 1992 15:30
Date: Mon, 10 Aug 1992 15:30
32 lines
1961 bytes
1961 bytes
In comp.sys.next.misc, jalegre@htlv.med.umn.edu (John Alegre) writes: >Are the standard phone tones for touch tone dialing available >anywhere as NeXT sound files? I haven't seen them anywhere. But.. I wrote an application called PhoneTones that generates the tones. It's a simple phone number directory and auto-dialer. The application is free, it's on sonata. You can use it to generate the tones, but I don't know any way to use the application to make sound files. (Well actually - I guess if you could recorded the speaker output through the microphone - but the quality wouldn't be too good that way.) However, I sell the source (see the Info panel or write me for details), which includes a touchtone object that you can use in your application for generating the dial sounds, or for generating sound files. The object is a subclass of Sound so using it to make a sound file is simple. It generates the entire dial string as one sound object and plays it every time you press the DIAL button. It works much better if you do it as one sound object instead of trying to play a sequence of separate sounds. Creating the tones isn't that hard if you want to do it yourself. The tricky part is doing it quickly. The DTMF dial tones are just simple sine waves. Each DTMF tone is just two sine waves, of different frequencies added together. Each button is assigned a unique pair of frequences. I could send you the list of frequencies if you don't have them and are interested in them. Curt Welch curt@kcwc.com (703) 938-4152
Technical Details
Message-ID:
<23434@oasys.dt.navy.mil>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!dtix!oasys!curtReferences:
<1992Aug10.140357.8848@news2.cis.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!dtix!oasys!curt From: curt@oasys.dt.navy.mil (Curt Welch) Newsgroups: comp.sys.next.misc Subject: Re: Phone tones as NeXT sound files. Message-ID: <23434@oasys.dt.navy.mil> Date: 10 Aug 92 15:30:44 GMT References: <1992Aug10.140357.8848@news2.cis.umn.edu> Reply-To: curt@kcwc.com (Curt Welch) Organization: KCW Consulting Lines: 32