All times are UTC+02:00




Post new topic  Reply to topic  [ 287 posts ]  Go to page Previous 123 24 25 26 2729 Next
Author Message
PostPosted: Sat Feb 15, 2014 6:48 pm 

Joined: Mon Feb 04, 2013 11:49 pm
Posts: 187
Does this additional logging benefit what I am doing Hans? Should I upgrade to this version and restart the clock (again)?


Top
   
PostPosted: Sat Feb 15, 2014 8:37 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
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.


Top
   
PostPosted: Sat Feb 15, 2014 10:17 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
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


Top
   
PostPosted: Sat Feb 15, 2014 11:42 pm 

Joined: Wed Dec 19, 2012 8:19 am
Posts: 140
here the new log
Attachment:
asio.rar [4.79 KiB]
Downloaded 392 times

_________________
The Power of Sound

''Music is a moral law. It gives soul to the universe, wings to the mind, flight to the imagination, and charm and gaiety to life and to everything.'' - Plato


Top
   
PostPosted: Sat Feb 15, 2014 11:43 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
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...


Top
   
PostPosted: Sat Feb 15, 2014 11:54 pm 

Joined: Mon Jan 21, 2013 3:01 pm
Posts: 126
Great. I have just installed this version, but I see you have the information you need already


Top
   
PostPosted: Sun Feb 16, 2014 12:06 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
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?


Top
   
PostPosted: Sun Feb 16, 2014 12:08 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
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.


Top
   
PostPosted: Sun Feb 16, 2014 9:40 am 

Joined: Sun Feb 03, 2013 2:39 pm
Posts: 334
Quote:
Which would lead to:
min(m, b / (b-a))
It's if(c < a/b, m, b/(b - a)).


Top
   
PostPosted: Sun Feb 16, 2014 11:15 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 287 posts ]  Go to page Previous 123 24 25 26 2729 Next

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited