SessionRenderer

class supriya.tools.nonrealtimetools.SessionRenderer(session, header_format=HeaderFormat.AIFF, print_transcript=None, render_directory_path=None, sample_format=SampleFormat.INT24, sample_rate=44100, transcript_prefix=None)[source]

Renders non-realtime sessions as audio files.

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } subgraph cluster_nonrealtimetools { graph [label=nonrealtimetools]; "supriya.tools.nonrealtimetools.SessionRenderer.SessionRenderer" [color=black, fontcolor=white, group=1, label=<<B>SessionRenderer</B>>, shape=box, style="filled, rounded"]; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" [color=3, group=2, label=AbstractBase, shape=box]; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" [color=3, group=2, label=SupriyaObject, shape=box]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" -> "supriya.tools.systemtools.SupriyaObject.SupriyaObject"; } "builtins.object" -> "supriya.tools.systemtools.SupriyaObject.AbstractBase"; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" -> "supriya.tools.nonrealtimetools.SessionRenderer.SessionRenderer"; }

Bases

Attribute summary

compiled_sessions
get_path_relative_to_render_path(...)
header_format
prerender_tuples
print_transcript
render([output_file_path, debug, duration, ...])
render_directory_path
renderable_prefixes
sample_format
sample_rate
session
session_input_paths
to_lists([duration])
to_osc_bundles([duration])
transcript
transcript_prefix
trellis
__eq__(expr) Is true when ID of expr equals ID of Supriya object.
__format__([format_specification]) Formats Supriya object.
__hash__() Hashes Supriya object.
__repr__() Gets interpreter representation of Supriya object.

Read-only properties

SessionRenderer.compiled_sessions
SessionRenderer.header_format
SessionRenderer.prerender_tuples
SessionRenderer.print_transcript
SessionRenderer.render_directory_path
SessionRenderer.renderable_prefixes
SessionRenderer.sample_format
SessionRenderer.sample_rate
SessionRenderer.session
SessionRenderer.session_input_paths
SessionRenderer.transcript
SessionRenderer.transcript_prefix
SessionRenderer.trellis

Methods

SessionRenderer.render(output_file_path=None, debug=None, duration=None, build_render_yml=None, **kwargs)[source]
SessionRenderer.to_lists(duration=None)[source]
SessionRenderer.to_osc_bundles(duration=None)[source]

Class & static methods

classmethod SessionRenderer.get_path_relative_to_render_path(target_path, render_path)[source]

Special methods

(SupriyaObject).__eq__(expr)

Is true when ID of expr equals ID of Supriya object. Otherwise false.

Returns boolean.

(SupriyaObject).__format__(format_specification='')

Formats Supriya object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

(SupriyaObject).__hash__()

Hashes Supriya object.

Required to be explicitely re-defined on Python 3 if __eq__ changes.

Returns integer.

(SupriyaObject).__repr__()

Gets interpreter representation of Supriya object.

Returns string.