All times are UTC+02:00




Post new topic  Reply to topic  [ 1012 posts ]  Go to page Previous 138 39 40 41 42102 Next
Author Message
PostPosted: Wed Feb 13, 2013 11:42 am 
User avatar

Joined: Thu Oct 25, 2012 3:22 pm
Posts: 237
Location: Poland
Graph is very very nice!!
BTW what type of filters was used in new MB?

_________________
Urban Junglist


Top
   
PostPosted: Wed Feb 13, 2013 1:09 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
@Brian: I agree that 'hard crashing' is not very polite, of course these are beta versions and the errors should be gone in the release but it might be good to add some protection around it. Don't agree about the information though.

Take for example this:

f(x) {return 1 / (x + 1);}
g(x) {return 1 / (x - 1);}
h(x) {return f(x) * g(x);}

As you can see, this can give a 'divide by 0' in both f and g. But a smart compiler, instructed to ignore exceptions (!), can, using the fact that 1/a * 1/b = 1/(a*b) which is faster because divide is much more expensive than multiply, rewrite h to:

h(x) {return 1 / ( (x+1) * (x-1) );}

Thus moving a possible exception to function h. And h is still small enough to be inlined, moving exceptions further up the chain.


Also, take this code:
f(x) {return x / x;}

If I instruct the compiler to ignore exceptions it can replace ANY reference to f() by 1. Which is of course MUCH faster.


Exceptions can also move in the opposite direction:

a = h(x)
b = 50
i(a, b)

with
i(a, b) {return (b < 20) ? a : 0;}

This will be rewrittten to:
(b < 20) ? h(x) : 0

So the exception caused by the calculation of a if x is +1 or -1 is moved into the function i and only occurs if b < 20.


If I instruct the compiler to keep track of where these exceptions occur, ALL these optimizations would immediately be disabled.


Top
   
PostPosted: Wed Feb 13, 2013 1:50 pm 
User avatar

Joined: Tue Sep 28, 2010 10:56 pm
Posts: 326
Location: Usa
After a long time playing with Bands... program HALT :( It worked with sound but the ST window do not drawing.

_________________
Sexy Girls in your city


Top
   
PostPosted: Wed Feb 13, 2013 1:53 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Quote:
After a long time playing with Bands... program HALT :( It worked with sound but the ST window do not drawing.
Any idea what you did when this happened? Maybe changed the number of bands?


Top
   
PostPosted: Wed Feb 13, 2013 2:08 pm 
User avatar

Joined: Tue Sep 28, 2010 10:56 pm
Posts: 326
Location: Usa
Quote:
Quote:
After a long time playing with Bands... program HALT :( It worked with sound but the ST window do not drawing.
Any idea what you did when this happened? Maybe changed the number of bands?
yes i was changing the bands number for a long time.

_________________
Sexy Girls in your city


Top
   
PostPosted: Wed Feb 13, 2013 8:08 pm 

Joined: Sun Dec 12, 2010 2:26 pm
Posts: 885
Quote:
If I instruct the compiler to keep track of where these exceptions occur, ALL these optimizations would immediately be disabled.
All of what you posted sounds nice, but here's the thing - I haven't been able to find any sort of documentation that explicitly backs up what you're saying over the course of about 4 hours of searching.

The only thing I have been able to find so far is a potential implicit issue if you use -fp-model fast. That said though, the documentation for that model says that exception specifications are disabled by default. If exception specifications are disabled, then I would think that the compiler would still do all the "smart" things. BTW, I've also read that exception specifications are not so good, so this might be where your reservations come from. However, there are other ways to do exception handling, specifically table generation / zero-cost.

Several weeks ago, I had asked if you could PM me your compiler options used. I got no response.

Just like with asking for the debug info, I think you're hung up on the idea that I want to steal your code. I don't.


Top
   
PostPosted: Wed Feb 13, 2013 8:35 pm 

Joined: Fri Nov 23, 2012 4:34 pm
Posts: 217
Quote:
Image
When I looked at the adjustment sliders for the band steepness I was briefly confused by the terms 'Steepness left' and 'Steepness right' thinking you were referring to the left and right channels.

How about terms like 'steepness lower' and 'steepness upper' to refer to the steepness of the lower and upper edges of the bands?

Maybe I'm totally off the mark here...


Top
   
PostPosted: Wed Feb 13, 2013 8:49 pm 

Joined: Wed Dec 19, 2012 8:19 am
Posts: 140
In compressor window, the ''treshold level relative to agc'' slider isn't working like all other sliders, for example using the mousewheel

_________________
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: Thu Feb 14, 2013 1:21 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Quote:
How about terms like 'steepness lower' and 'steepness upper' to refer to the steepness of the lower and upper edges of the bands?

Maybe I'm totally off the mark here...
You're the second person saying this so it needs to be changed. But lower and upper... I wanted to change it, but then I thought - for me it would make sense that 'lower' is where the signal gets lowered, so the right side. So I find this term confusing as well. Any other ideas? Rising and Falling comes to mind but my logic might differ from other people's logic.


Top
   
PostPosted: Thu Feb 14, 2013 1:22 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Quote:
In compressor window, the ''treshold level relative to agc'' slider isn't working like all other sliders, for example using the mousewheel
I need to remember to check all the new sliders for things like this before releasing this.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1012 posts ]  Go to page Previous 138 39 40 41 42102 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