Page 1 of 1

Circular Buffers

PostPosted: Mon Oct 19, 2015 8:07 pm
by BobF
Hello all, well mostly programmers. While doing some research for a Flowstone module I am working on I kept cumming across talk about "Circular Buffers". From what I have read they can be used for Delays, Revere Delays, Tapped Delays, Stretched and Compressed Audio, Pitch Shifting, and more.
So I was wondering, could a generic "Circular Buffer" be made as a module with some pointers on how to us it for the above mentioned effects and so on?

Martin, tulamide, MyCo, KG_, any ideas or suggestions?

Now I am sorry because I am defiantly not a programmer and can not join in on this project, but I sure hope other will!

Well that's it. Later then, BobF.....

Re: Circular Buffers

PostPosted: Tue Oct 20, 2015 8:19 am
by Spogg
Hear hear!

One of my future projects will be to fool around with a multi-tapped delay. If I get interesting results I'll make a module. There's nothing done towards this yet so your idea may lead to some useful ingredients. Otherwise it's just several existing delays in series and there may be a better way.
I've looked into commercial multi-taps and the approach varies considerably; there doesn't seem to be a consensus on the "best" way to do it so this will also interest me.

Even if I don't use what's uploaded it will doubtless be fascinating!

So guys... we're all waiting... :D

Cheers

Spogg

Re: Circular Buffers

PostPosted: Tue Oct 20, 2015 9:45 pm
by BobF
CircularBuffer.fsm
(489 Bytes) Downloaded 1374 times

Ok Gang,

After hours of searching on the net I found this in a OLD Synthmaker blog. I typed it into the DSP box, but as you can see , it does not work. I do NOT know who wrote it, how it was supposed to work, or if it is even complete, but it was said to be a "Circular Buffer"

So if anyone who knows this stuff would PLEASE take a like at it, we would really be grateful (I guess Spogg and I, so far) Many thanks in advance!

Later then, Bob.....

Re: Circular Buffers

PostPosted: Wed Oct 21, 2015 3:01 am
by martinvicanek
The declaration shouldread
float buffer[44100];
to make it work. Ring buffers are omnipresent, just look inside the stock delay. For more efficiency you want to go asm, refer to KG's post on FS Guru.

Re: Circular Buffers

PostPosted: Wed Oct 21, 2015 2:23 pm
by BobF
Hi martin,
Thanks for the feedback, much appeciated!
Later then, BobF.....