- From: Peter van der Noord <peterdunord@gmail.com>
- Date: Sat, 21 Jul 2012 19:20:41 +0200
- To: Chris Wilson <cwilso@google.com>
- Cc: "public-audio@w3.org" <public-audio@w3.org>
oh wait, the convolver doesn't even produce any sound when there's no buffer set. shouldn't it just produce unaltered sound? i can probably work around this all (unsetting their buffer) by creating a buffer with just one 0 in it , but i still feel that the ability to unset both would be logical. somewhat related: would it be an idea to give a lot of the nodes a bypass option? Peter 2012/7/21 Peter van der Noord <peterdunord@gmail.com>: > (You might have to clear your cache before that link works correctly) > > 2012/7/21 Peter van der Noord <peterdunord@gmail.com>: >> http://www.petervandernoord.nl/patchwork_js >> >> my buffersourcemodule has a pulldown to select a buffer you created >> (add a buffer, enter a url or select a preset url with the pulldown). >> >> if i'm busy editing a patch, it would be nice to be able clear the >> buffer of a buffersource module. I think that if you can set it, you'd >> have to be able to unset it. There's no way to go back the the state >> it was before i set a buffer. >> >> apart from that: my convolver module uses the same buffer-selector to >> give it a buffer, and i cant seem to unset that one as well. with that >> module, it probably makes more sense todo that. i can listen to thee >> ffect of different responses, but i can't listen to the original sound >> (without impulse response) anymore without completely removing the >> module. >> >> also, there's an insonsistancy: setting the convolvernode's buffer to >> null doesn't give me an error (and doesn't remove the buffer either). >> >> i think both should behave the same, and both should be able to clear >> their buffer by setting it to null, or having a clearBuffer() method. >> >> >> Peter >> >> 2012/7/21 Chris Wilson <cwilso@google.com>: >>> Since buffersourcenodes are one-shot anyway, I'm not sure this would make sense. >>> >>> On Jul 21, 2012, at 8:08 AM, Peter van der Noord <peterdunord@gmail.com> wrote: >>> >>>> Is there a way to remove the buffer of a buffersource? i tried setting >>>> the buffer property to null, but then i get the error: >>>> >>>> Uncaught TypeError: Value is not of type AudioBuffer >>>> >>>> >>>> Peter >>>>
Received on Saturday, 21 July 2012 17:21:09 UTC