concrete.audio package¶
-
class
concrete.audio.ttypes.
Sound
(wav=None, mp3=None, sph=None, path=None)¶ Bases:
object
A sound wave. A separate optional field is defined for eachsuppported format. Typically, a Sound object will only definea single field.Note: we may want to have separate fields for separate channels(left vs right), etc.Attributes:- wav- mp3- sph- path: An absolute path to a file on disk where the sound file can befound. It is assumed that this path will be accessable from anymachine that the system is run on (i.e., it should be a shareddisk, or possibly a mirrored directory).-
read
(iprot)¶
-
validate
()¶
-
write
(oprot)¶
-