buffers

class Buffer(session, session_id, buffer_group=None, channel_count=None, frame_count=1, duration=None, start_offset=None, file_path=None, starting_frame=None)

Bases: supriya.nonrealtime.bases.SessionObject

A non-realtime buffer.

property buffer_group
property channel_count
close(offset=None)
copy(target_buffer_id, frame_count=None, source_starting_frame=None, target_starting_frame=None, offset=None)
property duration
property file_path
fill(index_count_value_triples=None, offset=None)
fill_via_chebyshev(amplitudes, as_wavetable=True, should_normalize=True, should_clear_first=True, offset=None)
fill_via_sine_1(amplitudes, as_wavetable=True, should_clear_first=True, should_normalize=True, offset=None)
fill_via_sine_2(amplitudes, frequencies, as_wavetable=True, should_clear_first=True, should_normalize=True, offset=None)
fill_via_sine_3(amplitudes, frequencies, phases, as_wavetable=True, should_clear_first=True, should_normalize=True, offset=None)
property frame_count
normalize(as_wavetable=None, buffer_id=None, new_maximum=1.0, offset=None)
read(file_path, channel_indices=None, frame_count=None, leave_open=None, starting_frame_in_buffer=None, starting_frame_in_file=None, offset=None)
property session_id
set(index_value_pairs=None, offset=None)
set_contiguous(index_values_pairs=None, offset=None)
property start_offset
property starting_frame
property stop_offset
write(file_path, frame_count=None, header_format='aiff', leave_open=False, sample_format='int24', starting_frame=None, offset=None)
zero(offset=None)
class BufferGroup(session, buffer_count=1, duration=None, channel_count=1, frame_count=1, start_offset=None)

Bases: supriya.nonrealtime.bases.SessionObject

A non-realtime buffer group.

__contains__(item)
__getitem__(item)
__iter__()
__len__()
property buffer_count
property buffers
property channel_count
property duration
property frame_count
index(buffer_)
property start_offset
property stop_offset