Is there any documentation for the C&G Waveplayer~ object?

The title says it all. I’m trying to modify an ORAC patch that uses the C&G libraries, specifically Waveplayer~. I’m wondering what kind of arguments it accepts or if it accepts any at all. Specifically I am wondering if I can modify the start and end time of the object using messages. I would try to dig through the source code but going through Pure Data patches is about as far as my programming knowledge goes. Any and all help would be greatly appreciated!

There isn’t much official documentation, but there is a github repository with the source code and a test patch:

The test patch test.pd (1.5 KB) has all possible messages. There are only a few like speed and opening and closing files. I’d like to add some others like start/end point and transport controls, but haven’t gotten around to it.

I’m curious to know if there is something you couldn’t achieve with the Vanilla objects that made you code your own external? . nothing against it!, just curiosity… I often find myself doing ‘hacks’ to overcome limitations or annoyances in plain vanilla.

I did! I made this thread when I was developing OracLoops which is ported from BerryLoops and uses the waveplayer~ object. I was hoping that I would be able to simply just pass it some messages for start and stop position and have it work but that was not the case. I tried to teach myself C and was prepared to try to modify it to include additional parameters but it proved to be a little over my head :laughing: I instead lifted the sample engine from Samplement which gave me speed, pitch, different sample playback options, and the start and stop points

1 Like