[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] plotting a buffer in a gui panel



Hey Dan,

I don't think you can do this in a straightforward way. I suppose a modified SCScope could do this and would be useful, but I don't think it would work in its current form.

There is of course Buffer:plot, but that's a lot of data to throw around if you want it to update as recording is happening. Probably best would be to mirror the data clientside in an array, and update/ draw that with getn, taking a small chunk at a time. That might work.

S.

On 22 Oct 2007, at 15:38, Dan Stowell wrote:

Hi -

I have a GUI for a setup in which audio is recorded/played back on
buffers. Would like to have little ".plot"-like panels showing each
waveform. What's the best way of doing this?

I'm not sure if SCSoundFileView is right because I'm not working with
audio that's on disk, just audio that exists in buffers. I tried to do
it with SCSoundFileView anyway and got a bit stuck. I'd be grateful
for a simple example, or just some guidance...

Thanks
Dan
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users