Skip to content

integration examples in readme no longer work #7

Description

@emenel

The examples for integration with cl-collider and cl-patterns no longer seem to work. I don't get any errors, but there is also no sound. When I define my own simple buffer player synthdef like this:

(defsynth :sample ((buffer 0) (rate 1) (start 0) (amp 0.5) (out 0))
  (let ((sig (play-buf.ar 2 buffer (* rate (buf-rate-scale.ir buffer))
                          :start-pos (* start (buf-frames.ir buffer))
                          :act :free)))
    (out.ar out (* amp sig))))

and play it:

(bdef :test "testsound.wav")
(synth :sample :buffer (bdef :test))

I hear the audio file as expected.

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