Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!REEKES@applelink.apple.com From: REEKES@applelink.apple.com (Jim Reekes) Newsgroups: comp.sys.mac.programmer Subject: Re: Sound conversions under 7.0... Message-ID: <13998@goofy.Apple.COM> Date: 11 Jun 91 19:03:51 GMT References: <676362087.19@egsgate.FidoNet.Org> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 18 In article <676362087.19@egsgate.FidoNet.Org>, Jamal.Hannah@f98.n250.z1.FidoNet.Org (Jamal Hannah) writes: > > > To Jim Reekes: > > Jim, has anyone written a program to convert from "snd " resources to AIFF > format, or to directly play from AIFF? I knew a few people who tried to > write code to do this and they had alot of trouble. > > Does anyone else know where I could get some source code to do this? Well, SoundEdit will open both snd resources and AIFF files. You can "save as" any other type of sound too. Additionally, under System 7 we wrote all that code for you. You can play the snd resource using SndPlay and the AIFF file by calling SndStartFilePlay. If you're not using System 7, then you'll have to open the AIFF file yourself and create a standard sound header out of it. It's pretty easy, but I don't have any sample code to share.