soundfiles

Tools for interacting with soundfiles.

class Say(text, voice=None)

Bases: supriya.system.SupriyaValueObject

Wrapper for OSX say command.

>>> say = supriya.Say("Hello World!", voice="Daniel")
>>> supriya.play(say)  
__render__(output_file_path: Optional[os.PathLike] = None, render_directory_path: Optional[os.PathLike] = None, print_transcript: bool = False, **kwargs) pathlib.Path
property text
property voice
class SoundFile(file_path)

Bases: supriya.system.SupriyaObject

at_frame(frame)
at_percent(percent)
at_second(second)
property channel_count
property file_path
property file_type
property frame_count
property sample_rate
property sample_width
property seconds