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

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Sample Accurate Triggers: Holy Grail? Or...

For general discussion related FlowStone

Sample Accurate Triggers: Holy Grail? Or...

Postby trogluddite » Tue May 03, 2022 2:23 am

In a recent thread, the age old debate about synchronisation between 'green', Ruby, and audio streams has once again been visited. And anyone who's been around FlowStone for very long will no doubt be aware that, since the earliest days of SynthMaker, there has been an almost Arthurian (or Pythonesque) quest for 'green' triggers which can be placed more rapidly and precisely than usual (ideally with single-sample precision).

After my 15-odd years of using this software, and some rather useless attempts at making plugins using conventional code, I have a pretty firm hypothesis about sample-accurate triggers, and I thought I'd post it just to see what anyone thinks (maybe nothing! - I totally understand that a lot of people have no interest or time for musings about FlowStone's inner workings - the whole point of FS is that you shouldn't really need to know!)

So here's my hypothesis, and we'll see if anyone bites!:

Sample-precise triggers are not a myth; they have existed since the very beginning of SynthMaker; they are all around us and are essential to nearly every schematic. However; they live only in the shadows, or disguise themselves as run-of-the-mill sluggish triggers. Apparatus could be devised by which FlowStoners might access their power, but DSPr have judged that we should "be careful what we wish for" - for the consequences of using them recklessly or without the requisite training could be dire. Thus we are forbidden from explicitly conjuring them up.

"From whence do I derive such conspiracy theories?", I hear you ask. [auditory hallucinations can be very confrontational sometimes!]

Well, there are certainly some technical details which can be, indeed have been, empirically tested. Other parts can be deduced from the way that VST works and general software engineering principles. However; DSPr restraining us from shooting off our own feet? - that's rather more conjectural, though with some basis in dealings that I had with the dev's when I was a SynthMaker beta-tester many years ago.

In any case, I am confident that the current limitations of triggers are not something that can ever be overcome by any kind of clever building, coding, or hacking on our part (and nor does Ruby live up to its hype in this regard). FWIW, I think that most of the use-cases for sample-precise triggers could be implemented with only a handful of new primitives (and extremely careful use of them!) - but either DSPr let us into the magic or they don't, and I think that's all there is to it.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby adamszabo » Tue May 03, 2022 7:20 am

Hi Trog, its great to have you back! Yes I agree, there are no sample accurate green triggers, one has to do them in dsp form for that.
adamszabo
 
Posts: 657
Joined: Sun Jul 11, 2010 7:21 am

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby Spogg » Tue May 03, 2022 8:04 am

trogluddite wrote:... However; DSPr restraining us from shooting off our own feet? - that's rather more conjectural, though with some basis in dealings that I had with the dev's when I was a SynthMaker beta-tester many years ago. ...


I’m also not totally convinced that it’s for our safety that DSPR have denied access to possible features. I say this because we are warned in the manual that ASM could wreak havoc if used without due care and attention.

I’m completely guessing that any conscious denial of a requested feature might involve a huge amount of code re-working, effort and time which would be of little benefit to the “average user”, whoever that might be.
User avatar
Spogg
 
Posts: 3323
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby tulamide » Wed May 04, 2022 10:10 am

trogluddite wrote:FWIW, I think that most of the use-cases for sample-precise triggers could be implemented with only a handful of new primitives (and extremely careful use of them!) - but either DSPr let us into the magic or they don't, and I think that's all there is to it.

I think so too. To get "sample accurate", we need access to buffers, either directly or -as you proposed- via primitives. I can't imagine any useful implementation of direct buffer access (see Ruby Frames), and it also defeats the purpose of Flowstone's "one sample at a time" layout. So primitives would be the only way, that makes sense.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2687
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby billv » Thu May 05, 2022 12:09 pm

trogluddite wrote:FlowStone's inner workings

Ahh..the Land of Shadow...where malcolm lives...as a International man of Mystery... :geek:
billv
 
Posts: 1145
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby nix » Sun May 08, 2022 2:43 pm

all we need to do is poll the samplerate at more than samplerate,
then maybe?
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby tulamide » Mon May 09, 2022 5:59 am

nix wrote:all we need to do is poll the samplerate at more than samplerate,
then maybe?

And that's exactly, why you need (direct or indirect) access to the buffer. It is the only way to poll faster than sample rate in DSP.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2687
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby trogluddite » Mon May 09, 2022 11:57 am

Hi again, everyone. This is just a quick post to say: (a) I haven't run away again; (b) Some interesting replies so far; and (c) Sorry about being slow to respond, but I have few urgent IRL things to attend to, and will post more when I reach calmer waters.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Sample Accurate Triggers: Holy Grail? Or...

Postby nix » Wed May 11, 2022 8:45 am

if that sounds like the way to do it fellas,
in a crude way the analyzer prim could approach that possibly

-we could also request it of Ruby, like it could be commanded,
the cpu is still not negotiable though even in my 20 core 4.5ghz afaik
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 30 guests