* deal with extremes by squelching to values VRFS-1319
This commit is contained in:
parent
535a0da880
commit
aa62cc7d2a
|
|
@ -186,7 +186,7 @@
|
|||
context.JK.GA.trackSessionMusicians(context.JK.GA.SessionCreationTypes.create);
|
||||
},
|
||||
error: function() {
|
||||
app.notifyServerError(arguments0, "Unable to Create Session");
|
||||
app.notifyServerError(arguments, "Unable to Create Session");
|
||||
$('#btn-create-session').removeClass('button-disabled');
|
||||
$('#btn-create-session').unbind('click', false);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,6 +208,11 @@
|
|||
},
|
||||
|
||||
convertLinearToDb: function (input) {
|
||||
|
||||
// deal with extremes better
|
||||
if (input <= 1) { return -80; }
|
||||
if (input >= 99) { return 20; }
|
||||
|
||||
var temp;
|
||||
temp = 0.0;
|
||||
// coefficients
|
||||
|
|
|
|||
Loading…
Reference in New Issue