Apple Newton Utilities Guide de l'utilisateur Page 565

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 564
CHAPTER 14
Sound
Summary of Sound 14-11
Summary of Sound 14
Data Structures 14
SndFrame Structure 14
mySndFrame := {
_proto: mySndFrame,
sndFrameType : symbol, // specifies format
samples : frame, // contains sampled binary data
samplingRate : integer /floating point, // specifies playback rate
compressionType : integer, // indicates no compression
dataType : integer, // indicates size of sample in bits
start : integer, // index of first sample to play
count : integer, // number of samples to play
loops : integer, // time to repeat sound
Callback : function, // indicates the state of the sound
SndResult Structure 14
mySndResult := {
_proto: mySndResult,
sound : integer, // reference to soundFrame that was paused
index : function, // index of sample that was paused/stopped
Protos 14
protoSoundChannel 14
aProtoSoundChannel := {
_proto: protoSoundChannel,
Open : function, // opens sound channel
Close : function, // closes sound channel
Schedule : function, // queues sound for play
Start : function, // starts sound channel
Stop : function, // stops sound channel
Pause : function, // pauses playback
IsPaused : function, // checks if sound channel is paused
IsActive : function, // checks if sound channel is active
...
}
Vue de la page 564
1 2 ... 560 561 562 563 564 565 566 567 568 569 570 ... 941 942

Commentaires sur ces manuels

Pas de commentaire