Hi James,

i had a look at that issue, but i stopped looking into your patch when i 
couldn't reproduce the problem :-/ I will try to reproduce it on my 
linux machine (last time i used OS X) and i will see if i can make sense 
of it.

I'm sorry that the patch is gone from the forum :-/ I guess it was 
deleted by our spam filter somehow. We won't delete any contribution 
from anyone! It is possible that your message was flagged as "publish", 
but also as "spam" (by our spam-filter). Some weeks later wolke (who 
runs the server) configured the spam filter to delete all messages 
marked as "spam" after some days. So the problem seemed to be that 
someone of us moderators published your post, but didn't remove the 
"spam" mark on it. If you still have that patch, just send it to this 
list or put it on gist (https://gist.github.com/). Or, if you have the 
time and knowledge, create a git pull request. I'm sorry for the 
trouble, but the anti-spam stuff is quite important for us since we 
receive a lot of spam every day.  The whole spam situation is quite 
frustrating, since you have to spend more time for moderating forum 
posts then to do for real work on hydrogen :-/

Best regards,
Sebastian



On 2013-09-03 21:47, James Stone wrote:
> Hi everyone,
> 
> Has anyone had a chance to look at the weird behavior with clicking on
> timeline in songs with variable BPM (Bug #103)? I note my post on this
> was deleted, so I guess this wasn't the best solution?
> 
> James
> 
> On Sat, Jun 22, 2013 at 8:39 AM, James Stone <[email protected]> 
> wrote:
>> Hey,  thanks for this Sebastian.  I will try to use the pull request 
>> in the
>> future.
>> 
>> I don't think the other patch is quite ready for inclusion though. I 
>> would
>> need some advise on variable naming in Hydrogen. Also, the way it 
>> requires
>> an extra function for positioning the cursor when the song is stopped 
>> seems
>> a rather ugly solution but because the gui is unaware of bpm timeline 
>> issues
>> I couldn't work out a bettr way. I guess the ideal would be for the 
>> gui to
>> use this info too.. but that was beyond my understanding.
>> 
>> J
>> 
>> On Jun 21, 2013 9:39 PM, <[email protected]> wrote:
>>> 
>>> Hi James!
>>> 
>>> Thanks for your patches, it's great to see that some of these nasty
>>> audio-engine bugs are now getting fixed. Great work! Especially for a
>>> non-programmer. Your analysis is correct, the root of the problem of 
>>> bug
>>> 1 is the mixed use of floating point and integer numbers in the
>>> calculation of ticks and the evaluation of the note queue. I will 
>>> commit
>>> your patch in the next days as a first workaround, but i guess we 
>>> have
>>> to look a little bit deeper for a better solution. At the moment i'm 
>>> not
>>> sure how the ticks should be handled and if there is a cause to 
>>> handle
>>> them once as floats and once as integers. I had no look at the second
>>> patch yet, but will do so..
>>> 
>>> Btw, if you can use git pull request on github to send in the patches
>>> directly. Then they will also show up in our issue tracker. Here's a
>>> short howto: https://help.github.com/articles/using-pull-requests
>>> But it's no problem to send the patches to the list or the forum, if 
>>> you
>>> don't like the git workflow for some reasons.
>>> 
>>> Best regards,
>>> Sebastian
>>> 
>>> 
>>> On 2013-06-21 1:12, James Stone wrote:
>>> > HI there,
>>> >
>>> > (first of all, I am no programmer so please take everything I say with
>>> > a huge pinch of salt!!)
>>> >
>>> > I have been struggling to get hydrogen to do the right thing in terms
>>> > of BPM changes - it plays double beats when changing tempo from fast
>>> > to slow, and also, clicking on the timeline is messed up when hydrogen
>>> > is stopped - the cursor appears in the right place, but then jumps to
>>> > another part of the song when you press play.
>>> >
>>> > The first issue seems to be to do with the changing of the ticksize
>>> > (which is calculated as a float), and audioEngine_updateNoteQueue
>>> > playing a tick twice (as ticks are treated as integers in this
>>> > function)..
>>> >
>>> >  The second issue I think, is due to the variable m_nSongPos being set
>>> > by the GUI when it is unaware of BPM changes in the song, then this
>>> > variable being used by the playback engine to define position in the
>>> > song.
>>> >
>>> > I have written a couple of patches, which I posted to the forum here:
>>> >
>>> > http://www.hydrogen-music.org/hcms/node/4502 [1]
>>> >
>>> > and here:
>>> >
>>> > http://www.hydrogen-music.org/hcms/node/4523 [2]
>>> >
>>> > .. both are probably considered dirty hacks - and are probably not the
>>> > "right way" to do these things - but on the other hand, they do
>>> > improve functionality significantly.
>>> >
>>> > I would appreciate thoughts from devs who know the codebase (and
>>> > programming) much better than me :)
>>> >
>>> > James
>>> >
>>> >
>>> > Links:
>>> > ------
>>> > [1] http://www.hydrogen-music.org/hcms/node/4502
>>> > [2] http://www.hydrogen-music.org/hcms/node/4523
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > This SF.net email is sponsored by Windows:
>>> >
>>> > Build for Windows Store.
>>> >
>>> > http://p.sf.net/sfu/windows-dev2dev
>>> >
>>> > _______________________________________________
>>> > Hydrogen-devel mailing list
>>> > [email protected]
>>> > https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Windows:
>>> 
>>> Build for Windows Store.
>>> 
>>> http://p.sf.net/sfu/windows-dev2dev
>>> _______________________________________________
>>> Hydrogen-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft 
> technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to