mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Added 10% and 100% fake rates for audio
This commit is contained in:
parent
720a9bc9a5
commit
07c5585f5a
@ -634,6 +634,14 @@
|
||||
"message": "1% der Werte",
|
||||
"description": ""
|
||||
},
|
||||
"audiofakerate_options.10%": {
|
||||
"message": "10% der Werte",
|
||||
"description": ""
|
||||
},
|
||||
"audiofakerate_options.100%": {
|
||||
"message": "100% der Werte",
|
||||
"description": ""
|
||||
},
|
||||
"audionoiselevel_title": {
|
||||
"message": "Rauschlevel",
|
||||
"description": ""
|
||||
|
@ -634,6 +634,14 @@
|
||||
"message": "1% of the values",
|
||||
"description": ""
|
||||
},
|
||||
"audiofakerate_options.10%": {
|
||||
"message": "10% of the values",
|
||||
"description": ""
|
||||
},
|
||||
"audiofakerate_options.100%": {
|
||||
"message": "100% of the values",
|
||||
"description": ""
|
||||
},
|
||||
"audionoiselevel_title": {
|
||||
"message": "Noise level",
|
||||
"description": ""
|
||||
|
@ -27,6 +27,8 @@
|
||||
"1000": function(array){return 1000;},
|
||||
"0.1%": function(array){return array.length / 1000;},
|
||||
"1%": function(array){return array.length / 100;},
|
||||
"10%": function(array){return array.length / 10;},
|
||||
"100%": function(array){return array.length;},
|
||||
};
|
||||
return function getAudioFakeRate(array, prefs){
|
||||
var func = audioFakeRate[prefs("audioFakeRate")];
|
||||
|
@ -179,7 +179,7 @@
|
||||
{
|
||||
name: "audioFakeRate",
|
||||
defaultValue: "100",
|
||||
options: ["1", "10", "100", "1000", "0.1%", "1%"]
|
||||
options: ["1", "10", "100", "1000", "0.1%", "1%", "10%", "100%"]
|
||||
},
|
||||
{
|
||||
name: "audioNoiseLevel",
|
||||
|
Loading…
x
Reference in New Issue
Block a user