Skip to content

Reference library > Buffer

Buffer

  • BeatCutter: Cuts a buffer into segment_count segments, and stutters/jumps with the given probabilities.
  • BufferLooper: Read and write from a buffer concurrently, with controllable overdub.
  • BufferPlayer: Plays the contents of the given buffer. start_time/end_time are in seconds. When a clock signal is received, rewinds to the start_time. Set clock to 0 to prevent the buffer from being triggered immediately.
  • BufferRecorder: Records the input to a buffer. feedback controls overdub.
  • FeedbackBufferReader: Counterpart to FeedbackBufferWriter.
  • FeedbackBufferWriter: Counterpart to FeedbackBufferReader.
  • HistoryBufferWriter: Writes a rolling history buffer of a given duration. At a given moment in time, the contents of the buffer will be equal to the past N seconds of the audio generated by input. This is useful for (e.g.) a visual display of a rolling waveform or LFO window. downsample can be used to downsample the input; for example, with downsample of 10, a 1-second buffer can be used to display 10 seconds of historical audio.
  • SegmentPlayer: Trigger segments of buffer at the given list of onsets positions, in seconds. index determines the index of the onset to play back at, which can also be passed as an argument to trigger(). rate determines the playback rate, and clock can be used to retrigger based on the output of another Node. If continue_after_segment is non-zero, playback will continue after the subsequent onset.

Last update: 2024-09-11
Created: 2023-11-09