beautypg.com

Functions and methods 14, Sound resources 14 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 566

background image

C H A P T E R 1 4

Sound

14-12

Summary of Sound

Functions and Methods

14

view

:Dial(

numberString

,

where

)

GetVolume()

PlaySoundSync(

soundFrameRef

)

RawDial(

number

,

where

)

SetVolume(

volume

)

PlaySoundAtVolume(

soundFrameRef

,

volume

)

PlaySoundIrregardless(

soundFrameRef

)

PlaySoundIrregardlessAtVolume(

soundFrameRef

,

volume

)

PlaySoundEffect(

soundFrameRef

,

volume

,

type

)

Clicker()

Sound Resources

14

ROM_alarmWakeup // alarm sound

ROM_click // click sound

ROM_crumple // paper crumpling sound

ROM_drawerClose // drawer closing sound

ROM_drawerOpen // drawer opening sound

ROM_flip // page flipping sound

ROM_funBeep // trill sound

ROM_hiliteSound // squeek sound

ROM_plinkBeep // xylo sound

ROM_simpleBeep // bell sound

ROM_wakeupBeep // power on sound

ROM_plunk // paper hitting trash sound

ROM_poof // puff of air sound