ftp.nice.ch/pub/next/audio/editor/Resound.2.5.NIHS.b.tar.gz#/Resound.2.5/API/ModuleSoundView.rtf

This is ModuleSoundView.rtf in view mode; [Download] [Up]

Release 2.5, Copyright ©1997 by Sean Luke.  All Rights Reserved.


ModuleSoundView






Category Of:	Sound


Declared In:	ModuleSoundView.h





Category Description

This category contains specific methods which Resound has added to its internal subclass of the SoundView object, which module designers may find useful.

It is important to note that you should not directly access a sound's info string with the standard SoundKit methods and functions.  Due to bugs in the SoundKit, Resound must maintain the Sound object's Info String separately in Resound's custom SoundView.  Below are methods for accessing Resound's special Info String.


Method Types

Sound Info String Access	± info
	± setInfo:

Data Format Conversion	± convertToFormat:samplingRate:channelCount:


Instance Methods

convertToFormat:samplingRate:channelCount:
- (int)	convertToFormat:(int)newFormat
		samplingRate:(double)newRate
		channelCount:(int)newChannelCount

Converts the SoundView's sound to the given format, sampling rate, and channel count, but attempts to preserve the SoundView selection to still select the equivalent part of the sound.

info
- (char*) info

Returns the info string of the SoundView's sound.  See above.

setInfo:
- setInfo:(const char*)this

Sets the info string of the SoundView's sound to this.  See above.

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