Sound: objectA soundMethodpublic Sound.Constructor(duration, int channels=null, int samplerate=null)public readonly int Sound.ChannelsChannel countpublic virtual int object.Compare(value)Compares this object with another and returns (-1, 0, or 1)public readonly double Sound.DurationDuration in secondspublic double[] Sound.GetChannel(int channel)Copy a channel into an arraypublic virtual Icon object.GetIconReturn a icon for this objectpublic virtual object.GetLayoutBlockReturn a layout inside a blockpublic virtual object.GetLayoutSpanReturn a layout inside a spanpublic virtual object.GetLayoutTipReturn a layout for the hint popuppublic double Sound.GetSample(int index, int channel)Get a single sample valuepublic virtual object.GetSourceReferenceReturn a source reference for this objectpublic virtual void object.GetTexSource(source)LaTeX source code for this objectpublic void Sound.Mix(Sound sound, double start=null, double volume=null, double length=null, double offset=null)Merge sound intopublic static Sound Sound.Read(path_or_blob, double volume=null)Read a WAV filepublic readonly int Sound.SampleCountSamples per channelpublic readonly int Sound.SampleRateSamples per secondpublic void Sound.SetSampleValues(value, int index=null, int channel=null)
Set the values of a channelpublic bool Sound.Write(path, double start=null, double volume=null, double length=null)Write a wav file