background image
About Newton Sound
14-1
C H A P T E R 1 4
Sound
14
Figure 14-0
Table 14-0
This chapter describes how to use sound in your application and how to manipulate
Newton sound frames to produce pitch shifting and other effects.
You should read this chapter if you are attempting to use sound in an application.
This chapter provides an introduction to sound, describing:
sounds, sound channels, and sound frames
specific tasks such as creating a sound frame, playing a sound, and manipulating
sound frames
methods, functions, and protos that operate on sound
About Newton Sound
14
This section provides detailed conceptual information on sound functions and
methods. Specifically, it covers the following:
overview of sound and the sound channel
sounds related to user events
a brief description of the sound frame
new functions, methods, and messages added for NPG System Software 2.0, as
well as extensions to sound code
Newton devices play only sampled sounds; sound synthesis is not supported.
However, a number of built-in sounds are supplied in the Newton ROM that you
can use in your application. See "Sound Resources" (page 11-10) in the Newton
Programmer's Reference
for complete details. You can also use the Newton Toolkit
(NTK) to create custom sounds on desktop computers.
A Newton sound is represented as a sound frame. You can easily associate any
sound with a certain events or play sound frames programmatically. The system
allows you to play sound frames synchronously or asynchronously.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна