http:// http://VideoGameAudio.com VideoGameAudio.com
- The Dynamic Audio of Vessel
The Dynamic Audio of Vessel The Dynamic Audio of Vessel Leonard J. - - PowerPoint PPT Presentation
The Dynamic Audio of Vessel The Dynamic Audio of Vessel Leonard J. Paul Leonard J. Paul Chairman, Lotus Audio Corp. Chairman, Lotus Audio Corp. http://VideoGameAudio.com VideoGameAudio.com http:// Resources: Resources: Email: Email:
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 2 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 3 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 4 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 5 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 6 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 7 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 8 of 31
Game Audio Code FMOD Designer Lua Lua FMOD Library = Behaviour = Data
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 9 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA
0 ms 2500 ms 5000 ms 200 ms 250 ms 300 ms
Envelope
200ms 250 ms 300 ms
Original Waveform 100ms Segment Envelope function Grain output
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 11 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 12 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 13 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 14 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 15 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 16 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 17 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 18 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 19 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 20 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 21 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 22 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 23 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 24 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 25 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 26 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 27 of 31
if (this.CurrentSpeed > 0.1) then if (not isSoundPlaying) then this.PlaySound(bellowsSoundName) isSoundPlaying = true end this.SetSoundParameterValue(bellowsSoundName, "percentage", (percent * 100)) else if (isSoundPlaying) then this.StopSound(bellowsSoundName) isSoundPlaying = false end end
if (this.CurrentSpeed > 0.1) then if (not isSoundPlaying) then this.PlaySound(bellowsSoundName) isSoundPlaying = true end this.SetSoundParameterValue(bellowsSoundName, "percentage", (percent * 100)) else if (isSoundPlaying) then this.StopSound(bellowsSoundName) isSoundPlaying = false end end
function Update() print ("Counter=" .. counter)
this.debounceCounter = this.debounceCounter - 1 if (this.debounceCounter < 0) then this.debounceCounter = 0 end if (counter > this.threshold) then if (this.debounceCounter <= 0) then this.PlaySound(this.soundName) this.debounceCounter = this.timeDelay this.SetSoundParameterValue(this.soundName, "size", counter )
counter = 0 end end end function Update() print ("Counter=" .. counter)
this.debounceCounter = this.debounceCounter - 1 if (this.debounceCounter < 0) then this.debounceCounter = 0 end if (counter > this.threshold) then if (this.debounceCounter <= 0) then this.PlaySound(this.soundName) this.debounceCounter = this.timeDelay this.SetSoundParameterValue(this.soundName, "size", counter )
counter = 0 end end end
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 28 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 29 of 31
VideoGameAudio.com info {at} VideoGameAudio.com GDC 2012 San Francisco, USA Slide 31 of 31