Stereo Tool
https://forums.stereotool.com/

Stereo Tool 7.41 BETA
https://forums.stereotool.com/viewtopic.php?t=5456
Page 25 of 29

Author:  bob53bob [ Sat Feb 15, 2014 6:48 pm ]
Post subject:  Re: Stereo Tool 7.41 BETA

Does this additional logging benefit what I am doing Hans? Should I upgrade to this version and restart the clock (again)?

Author:  hvz [ Sat Feb 15, 2014 8:37 pm ]
Post subject:  Re: Stereo Tool 7.41 BETA

Quote:
Does this additional logging benefit what I am doing Hans? Should I upgrade to this version and restart the clock (again)?
No! This is a completely different issue, and it only logs a few lines upon startup.

Author:  hvz [ Sat Feb 15, 2014 10:17 pm ]
Post subject:  Re: Stereo Tool 7.41 BETA

ONLY for Edgar and PowerSound: Version with more extra logging to figure out what's wrong with my ASIO code:
http://www.stereotool.com/download/ster ... 1-033A.exe

Author:  PowerSound [ Sat Feb 15, 2014 11:42 pm ]
Post subject:  Re: Stereo Tool 7.41 BETA

here the new log
Attachment:
asio.rar [4.79 KiB]
Downloaded 393 times

Author:  hvz [ Sat Feb 15, 2014 11:43 pm ]
Post subject:  Re: Stereo Tool 7.41 BETA

Thanks! I also just received (via Skype) a log from Eldoradofm, and it's clear what's wrong. Should be easy to fix. I just still don't understand why it worked before...

Author:  Edgar [ Sat Feb 15, 2014 11:54 pm ]
Post subject:  Re: Stereo Tool 7.41 BETA

Great. I have just installed this version, but I see you have the information you need already

Author:  hvz [ Sun Feb 16, 2014 12:06 am ]
Post subject:  Re: Stereo Tool 7.41 BETA

I have also posted this on Facebook, but maybe there's someone here who sees what I'm doing wrong:

I hope someone here is more awake than I am. I want to optimize some code which performs the following calculation:
1 / (1 - min(a / b, c) )
Now if I ignore the min(), it's easy:
1 / (1 - a/b) = b / (b-a)
And of course it's easy to calculate the maximum value:
m = 1 / (1 - c)
Which would lead to:
min(m, b / (b-a))

Now, filling this in for:
a = 0, b = 1 1/(1-0) = 1 == 1/(1-0) = 1. Match!
a = 1, b = 2 1/(1-.5) = 2 == 2/(2-1) = 2, Match!
a = 1, b = 0 1/(1-min(inf,c)) = 1/(1-c). BUT: b/(b-a) = 0. Different!

Does anyone see what I'm doing wrong?

Author:  hvz [ Sun Feb 16, 2014 12:08 am ]
Post subject:  Re: Stereo Tool 7.41 BETA

Quote:
Thanks! I also just received (via Skype) a log from Eldoradofm, and it's clear what's wrong. Should be easy to fix. I just still don't understand why it worked before...
Ooooooooo! Lol! Stupid. In the old code there were 2 bugs which cancelled each other. I fixed one of them :)

I will fix the other now.


Edit: I think I have fixed it now. Will build a new version, I'll keep the logging in until I'm sure that it's fixed.

Author:  \_/ [ Sun Feb 16, 2014 9:40 am ]
Post subject:  Re: Stereo Tool 7.41 BETA

Quote:
Which would lead to:
min(m, b / (b-a))
It's if(c < a/b, m, b/(b - a)).

Author:  hvz [ Sun Feb 16, 2014 11:15 am ]
Post subject:  Re: Stereo Tool 7.41 BETA

Quote:
ONLY for Edgar and PowerSound: Version with more extra logging to figure out what's wrong with my ASIO code:
http://www.stereotool.com/download/ster ... 1-033A.exe
@PowerSound, Edgar: Please try this version:
http://www.stereotool.com/download/ster ... 1-033B.exe

Page 25 of 29 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/