Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /


Chapter 7 Sound

This chapter describes the enhancements to the sound interface for the Newton 2.1 OS, including the sound input interface, and improvements to playback and sound compression.


Chapter Contents
About Sound
Terminology
Compatibility
Hardware Volume Support
User Interface
Sound Input
Sound Compression
Synthesized Sound
Devices and Channels
Sampling Rates
New NTK Sound Import Function
Using Sound
Using the protoRecorderView
Using the Built-in Sound Recorder Slip
Using the NewtonScript API to Record Sound
Setting the Input Gain
Compressing Sound
Using Codecs to Compress and Decompress Sound
Synthesizing Sound
Using Global Sound Preferences
Getting and Setting Input Gain Preference
Getting and Setting Default Input or Output Devices
PlaySound Errata
Using the Sound Registry
Sound Reference
Constants
Device Constants
Codec Constants
Compression Constants
Data Type Constants
Data Structures
Sound Frame
Callback
Sound Result Frame
User Configuration Variables
Synthesized Sound Data Format
soundRecorder Object
OpenRecord
OpenPlay
Protos
protoRecorderView
GetSounds
SetState
protoSoundChannel
Close
GetInputGain
GetVolume
IsActive
IsOpen
IsPaused
NewInputBlock
NewRecording
Open
Pause
Schedule
SetInputGain
SetVolume
Start
Stop
protoSoundFrame
GetPlayingTime
GetSampleCount
GetSampleSize
GetSamplingRate
SetRecordingLength
Functions
GetRegisteredSound
PlaySound
PlaySoundEffect
RegSound
SoundList
UnRegSound
Sound Error Codes
Summary of Sound
Constants
Data Structures
Sound Frame
Sound Result Frame
User Configuration Variables
Synthesized Sound Data Format
soundRecorder Object
Protos
protoRecorderView
protoSoundChannel
protoSoundFrame
Functions

Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help