Page 1 of 1

Sync sampler player with midi piano roll

Posted: 29 Sep 2022, 03:12
by Ariajazz
Hi all, How do I put the sampler player and the midi piano roll in sync?, I believe is done using SMPTE. I tried using "pos" and "ppQP" in both master and slave modes and it did not work, most probably is that I don't know how to do it correctly. Any help wil be appreciated.

Re: Sync sampler player with midi piano roll

Posted: 29 Sep 2022, 11:22
by SylvainT
Hi,

Not so easy to synchronize two modules which don't deal with the same timestamp. One refers to is own time, in ms, the others to beat clock.

If you plug the sampler pos*duration/1000 to ppQpos, your pianoroll will play at tempo 60 but following the sample.

So, if your samples have a length which is exactly a mult of the tempo, you probably can adapt something with some simple maths. Otherwise, it would be difficult.

Hope it helps

Sylvain

Re: Sync sampler player with midi piano roll

Posted: 29 Sep 2022, 16:03
by Ariajazz
Thanks Sylvain for your repply. I am aware of that factor. The samples (tracks) played are recorded midiwise, so every track has its own specific perfect tempo, I think it woud be easely done. I do not understand the following:

"If you plug the sampler pos*duration/1000 to ppQpos, your pianoroll will play at tempo 60 but following the sample"

Re: Sync sampler player with midi piano roll

Posted: 29 Sep 2022, 17:53
by SylvainT
Sorry
A small patch would be better than a doudtful explanation.
sampler-pianoroll in sync.pat
(31.06 KiB) Downloaded 751 times