To register and login, use your Google, Twitter, Facebook, LinkedIn, or OpenID credentials.

This is allowing us to stop most spam registrations. We've deleted most of the spam accounts that got through, and we're closely watching for more.

Libpd and OpenAL (C / C++)

fuzzylumpkinsfuzzylumpkins Posts: 1
edited February 2013 in Pd Everywhere

Having a hard time getting OpenAL to play any patch (using libpd). I was wondering if someone out there could help me out and explain what I'm doing wrong. I'm getting some output, but it's not the patch, it's just a repetitive buzz sound, which leads me to think that I'm doing something wrong per frame, rather than with initialization;

void update(double timeSinceLastFrame) {

pdBase->processFloat(1, inbuf, outbuf);
alBufferData(_bufferHandle, AL_FORMAT_STEREO16, outbuf, 128, srate); alSourcei(_sourceHandle, AL_BUFFER, _bufferHandle); alSourcePlay(_sourceHandle);


Is this the generally used method for getting OpenAL to play the output of a patch?


Sign In or Register to comment.