home *** CD-ROM | disk | FTP | other *** search
- on Audioint AName, Kanal, DLaut
- global _Lautstaerke, _Audioticks
- anz = AName.chars.count
- _Audioticks = EMPTY
- if Kanal = 1 then
- _Audioticks = the ticks
- end if
- if AName.char[anz - 2..anz] = "swa" then
- member(AName).volume = _Lautstaerke + DLaut
- play frame member(AName)
- else
- set the volume of sound Kanal to _Lautstaerke + DLaut
- puppetSound(Kanal, AName)
- end if
- end
-