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

Ppq / Beats / Bars -aware sample loop player.

For general discussion related FlowStone

Ppq / Beats / Bars -aware sample loop player.

Postby lalalandsynth » Wed May 22, 2019 12:38 am

I am working on a sample loop player ,so far I have managed to have it sync to tempo regardless of original tempo.

I am wondering if it would be possible to - say I start 2 beats into a bar in the DAW that the loop would be aware of that and start playing two beats in ?

I might also start playing at a random spot in the bar and would like it to either sync up at the next beat or preferably start playing at the right spot no matter where in the bar i push play.

Now the loop is currently played with a 64 bit precision counter and I wonder how I could approach this .

The loop length in samples and DAW bpm is known so I am thinking If I could somehow Offset the precision counters start point ..I do have a start point input the the counter , but unsure how to get the PPQ position and translate that into the initial start position offset .

Or Maybe I am thinking this all wrong and there is a way to have sample accurate ramp to control this somehow ?
I do have a synced Ramp that would work but unsure how to translate that value to play the index for the wave reader. If i could somehow translate that 0-1 ramp to play the 4 bar 176400 sample (in this particular case) then I guess that would work.

Am I making sense ?
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Ppq / Beats / Bars -aware sample loop player.

Postby lalalandsynth » Wed May 22, 2019 1:48 am

I think I might have solved this.
will report when I have verified.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Ppq / Beats / Bars -aware sample loop player.

Postby wlangfor@uoguelph.ca » Wed May 22, 2019 12:38 pm

So, like a randomizing feature? like slide.. or? Anyways, I was going to make an 808 vsti so I look forward to seeing what You come up with.
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
User avatar
wlangfor@uoguelph.ca
 
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada

Re: Ppq / Beats / Bars -aware sample loop player.

Postby lalalandsynth » Wed May 22, 2019 2:55 pm

No essentially I wanted to make sure that the loop would start playing at beat 2 if I start playing at beat 2 in the daw.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Ppq / Beats / Bars -aware sample loop player.

Postby wlangfor@uoguelph.ca » Thu May 23, 2019 3:23 pm

Oh, yes of Course. It's a shame that some of the DAW releated stuff from synthmaker no longer seems effective. Like playing. Though I suppose a mono float instance is relevant enough assuming You're not accommodating dc.
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
User avatar
wlangfor@uoguelph.ca
 
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada


Return to General

Who is online

Users browsing this forum: No registered users and 89 guests