synchronization issue on wav files created by using jack_smf_player and jack_capture

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
fujitets
Established Member
Posts: 8
Joined: Mon May 02, 2016 4:21 pm

synchronization issue on wav files created by using jack_smf_player and jack_capture

Post by fujitets »

Hi,

I'd like to record .mid file's audio for each instrument, and mix these .wav files.
I'm using jack_smf_player for playing .mid file and jack_capture for recording this audio (using jack-transport start/stop).

But unfortunately these .wav files' tempo is not the same, and not synchronized.
(Of course, I use same tempo setting for these .mid files.)

When I used qtractor for playing each track and jack_capture for recording these audio, each wav file has same tempo and synchronized.

I'd like to know why. Please anyone explain me why.
User avatar
rncbc
Established Member
Posts: 1071
Joined: Mon Apr 19, 2010 12:20 pm
Has thanked: 45 times
Been thanked: 279 times
Contact:

Re: synchronization issue on wav files created by using jack_smf_player and jack_capture

Post by rncbc »

fujitets wrote:When I used qtractor for playing each track and jack_capture for recording these audio, each wav file has same tempo and synchronized.

I'd like to know why. Please anyone explain me why.
qtractor only takes tempo from first SMF you import into it into a new session.
on all other SMF that you may add later, will get their tempo and time-signature ignored.

you can make that quite evident if you switch the order you import either file first or second time onto an empty new qtractor session.

hth.
cheers
fujitets
Established Member
Posts: 8
Joined: Mon May 02, 2016 4:21 pm

Re: synchronization issue on wav files created by using jack_smf_player and jack_capture

Post by fujitets »

you can make that quite evident if you switch the order you import either file first or second time onto an empty new qtractor session.
Thank you for the comment.
When I use qtractor, I use mute/solo control, so there's no problem.

Anyway, maybe I found the solution.
I checked and noticed that all of my processes (such as jackd, linuxsampler, jack_smf_player, jack_capture) have usual priority.
So, I changed these priority to realtime priority 80 (I use "chrt -r 80" for each command), then, recorded wav files are synchronized!!

Thanks.
Post Reply