[email protected] wrote: > this problem is solved if you subtract the buffersize on two places in code > (only time > master relevant peaces of the code). this is completely independent from any > ardour
Actually, we're always 1 buffer late. Tellyouwhat... instead of spending a lot of time trying to fix this transport, I'm willing to call this one "close enough" and move on to the new transport design. Being 1 buffer late is not audible when live, and it's easy to fix the track alignment when recording. > perhaps he become crazy I know *I* have. :-) > and for me it's since 1 week uninteresting too, to have an working transport > master in > h2. because the fx_and_sample blahblah... have a nice working midi output. > now i can > drive up to 16 amsynths or hexters :-DD hehehe. so i need no arg...hrg gurgel > grunz jack transport master anymore. und er sagte "na dann ist ja gut" (and > he said 'well then yes') Sounds like fun. I recently got an MS2000R synth that I've been having fun with. I'm dying to get InConcert working -- as well as a transport slave that sends out MIDI clock pulses (the MS2000R only takes midi clock). >> notification of the change. So, if Ardour takes over as master... but H2 >> still >> *thinks* he's the master --- we're screwed. Right? We're making decisions > > this won't work! it's only 1 master possible. see "int conditional" on api > http://jackaudio.org/files/docs/html/group__TransportControl.html#g2f778b068a7c71b6eb0d6f2a674777db If the int conditional is 0, then it's a coup d'etat. Move over, Hydrogen! I'm in control, now! The docs also say, "When a new client takes over, the former timebase_callback is no longer called." It *is* possible for someone to take over, and we won't be notified. >> Hydrogen wrote to the jack_position_t struct. Hydrogen wrote bpm, bar, >> beat, >> and tick. (H2 doesn't supply bbt_offset, so it's assumed 0, per the Jack >> docs.) > > really, the ticks including no information. if i write the master calback > for h2, at first i drive him only with the n_frames_t and bpm!! But the ticks are _supposed_ to have _real_ information. > what do the ticks? every appt have his own resulution. So, we have to translate. Thats why there is jack_position_t.ticks_per_beat. There isn't any jack_position_t.frames_per_beat... otherwise we could do what you're saying. Peace, Gabriel ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
