You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.js
+17-24
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
// Configuration options
2
2
constinit_phones=["HTH67"],// Optional. Which graphs to display on initial load. Note: Share URLs will override this set
3
3
DIR="data/",// Directory where graph files are stored
4
-
data_format="AudioTools",// Accepts "AudioTools," "REW," or "other"
5
4
default_channels=["L","R"],// Which channels to display. Avoid javascript errors if loading just one channel per phone
6
5
default_normalization="dB",// Sets default graph normalization mode. Accepts "dB" or "Hz"
7
6
default_norm_db=60,// Sets default dB normalization point
@@ -28,8 +27,14 @@ const init_phones = ["HTH67"], // Optional. Which graphs to
28
27
targetDashed=false,// If true, makes target curves dashed lines
29
28
targetColorCustom=false,// If false, targets appear as a random gray value. Can replace with a fixed color value to make all targets the specified color, e.g. "black"
30
29
labelsPosition="default",// Up to four labels will be grouped in a specified corner. Accepts "top-left," bottom-left," "bottom-right," and "default"
31
-
stickyLabels=false,// "Sticky" labels
32
-
analyticsEnabled=false;// Enables Google Analytics 4 measurement of site usage
30
+
stickyLabels=true,// "Sticky" labels
31
+
analyticsEnabled=false,// Enables Google Analytics 4 measurement of site usage
32
+
extraEnabled=true,// Enable extra features
33
+
extraUploadEnabled=true,// Enable upload function
34
+
extraEQEnabled=true,// Enable parametic eq function
35
+
extraEQBands=10,// Default EQ bands available
36
+
extraEQBandsMax=20,// Max EQ bands available
37
+
extraToneGeneratorEnabled=true;// Enable tone generator function
33
38
34
39
// Specify which targets to display
35
40
consttargets=[
@@ -64,26 +69,13 @@ function watermark(svg) {
64
69
65
70
66
71
67
-
// Set up tsvParse (?) with default values for AudioTools and REW measurements
68
-
functioninitTsvParse(){
69
-
if(data_format.toLowerCase()==="audiotools"){
70
-
vardataStart=3,
71
-
dataEnd=482;
72
-
}elseif(data_format.toLowerCase()==="rew"){
73
-
vardataStart=14,
74
-
dataEnd=493;
75
-
}else{
76
-
// If exporting data from something other than AudioTools or REW, edit these vals to indicate on which lines of your text files the measurements data begins and ends
0 commit comments