Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Circular Buffers

DSP related issues, mathematics, processing and techniques

Circular Buffers

Postby BobF » Mon Oct 19, 2015 8:07 pm

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.....
Last edited by BobF on Tue Oct 20, 2015 4:36 pm, edited 1 time in total.
BobF
 
Posts: 587
Joined: Mon Apr 20, 2015 9:54 pm

Re: Circular Buffers

Postby Spogg » Tue Oct 20, 2015 8:19 am

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
User avatar
Spogg
 
Posts: 2568
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Circular Buffers

Postby BobF » Tue Oct 20, 2015 9:45 pm

CircularBuffer.fsm
(489 Bytes) Downloaded 667 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.....
BobF
 
Posts: 587
Joined: Mon Apr 20, 2015 9:54 pm

Re: Circular Buffers

Postby martinvicanek » Wed Oct 21, 2015 3:01 am

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.
User avatar
martinvicanek
 
Posts: 1081
Joined: Sat Jun 22, 2013 8:28 pm

Re: Circular Buffers

Postby BobF » Wed Oct 21, 2015 2:23 pm

Hi martin,
Thanks for the feedback, much appeciated!
Later then, BobF.....
BobF
 
Posts: 587
Joined: Mon Apr 20, 2015 9:54 pm


Return to DSP

Who is online

Users browsing this forum: No registered users and 7 guests