Sound.doppler read/write property


Get or set the sound doppler effect. This property default value is set to 1.0

If you don't want to use sound spatialization, just ignore this property

Example

local audio = require "audio" local console = require "console" local sound = audio.Sound("music.mp3") print(sound.doppler)