ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/playing-an-arbitrary-part-of-a-soundfile

This is playing-an-arbitrary-part-of-a-soundfile in view mode; [Up]


Date: Sun 26-May-1989 19:51:20 From: Unknown Subject: playing an arbitrary part of a soundfile It seems that the playFrom selector described in the online documentation of the sound object is not included (yet?). Is there another way to play an arbitrary part of a soundfile? Aside from using SoundView? Paul Lansky >From: seibel@cgl.ucsf.edu (George Seibel)
Date: Sun 27-May-1989 23:53:27 From: Unknown Subject: Re: playing an arbitrary part of a soundfile In article <8714@phoenix.Princeton.EDU> Paul Lansky writes: >It seems that the playFrom selector described in the online documentation >of the sound object is not included (yet?). Is there another way to >play an arbitrary part of a soundfile? Aside from using SoundView? Use the copySamples:at:count: method to copy the desired portion of the sound to another sound object. You can then play that sound object for the same behaviour once provided by playFrom:count:. Before you say "but that sounds so inefficient," let me add that it isn't; the copy involves lots of Mach magic and not much real data copying is done (unless you somehow write into the data later, of course). Ali Ozer, NeXT Developer Support aozer@NeXT.com >From: awd@dbase.UUCP (Alastair Dallas)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.