ISoundLoop
namespace Griff.Runtime;
public interface ISoundLoopA sound playing over and over, from Loop.
Properties
Section titled “Properties”IsPlaying
Section titled “IsPlaying”public abstract bool IsPlaying { get; }True until Stop.
public abstract float Pan { get; set; }-1 (left) to 1 (right).
public virtual float Pitch { get; set; }1 as recorded, 2 an octave up, 0.5 an octave down: a machine that revs, an engine that speeds up.
Volume
Section titled “Volume”public abstract float Volume { get; set; }0 to 1, on top of the game’s sound volume.
Methods
Section titled “Methods”public abstract void Stop()