Skip to content

fl.sink~ NRT buffer writing #123

Description

@jamesb93

When you use a NRT network with fl.sink~ to write frames to a buffer, you are not getting the last event as you would see it in Max, but the frames are written "in time" which corrupts the analysis.

What I want is to get the last produced frame unpolluted and be able to write it into a buffer. Essentially, something like fl.write~ which gives me controlled writing of a frame to a buffer, ala poke~.

The way to achieve what I want is to use fl.tomax~ and put the list in a buffer, but it would be nicer if there were idiomatic ways. Some ideas:

  • fl.tomax~ @output buffer|list|array /interpolation cubic /etc /etc
  • fl.write~ @buffer my_buffer /interpolation cubic /etc /etc

nrt-buffer-writing-example.maxpat.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions