Skip to content

Commit

Permalink
Bumped version
Browse files Browse the repository at this point in the history
Fixed #81
  • Loading branch information
Mattk70 committed Mar 28, 2024
1 parent 00240d6 commit e997344
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion js/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class State {
this.list = 'everything',
this.customList = undefined,
this.local = true,
this.incrementor = 250,
this.incrementor = 1,
this.UUID = 0,
this.track = true
}
Expand Down
2 changes: 1 addition & 1 deletion js/tracking.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DEBUG = false;
const ID_SITE = 3;
const ID_SITE = 2;


function trackEvent(uuid, event, action, name, value){
Expand Down
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4322,7 +4322,7 @@ DOM.gain.addEventListener('input', () => {
}
case 'colourmap': {
config.colormap = element.value;
if (wavesurfer) {
if (wavesurfer && currentFile) {
initSpectrogram();
// refresh caches
updateElementCache()
Expand Down
20 changes: 10 additions & 10 deletions js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ const fetchAudioBuffer = async ({
command.audioFilters(
{
filter: 'loudnorm',
options: "I=-16:LRA=11:TP=-1.5:offset=" + STATE.audio.gain
options: "I=-16:LRA=11:TP=-1.5"
}
)
}
Expand Down Expand Up @@ -1427,7 +1427,7 @@ const fetchAudioBuffer = async ({
});
}
});

command.run();
});
}
Expand Down Expand Up @@ -1749,14 +1749,14 @@ const bufferToAudio = async ({
}
)
}
if (STATE.audio.normalise){
ffmpgCommand = ffmpgCommand.audioFilters(
{
filter: 'loudnorm',
options: "I=-16:LRA=11:TP=-1.5:offset=" + STATE.audio.gain
}
)
}
// if (STATE.audio.normalise){
// ffmpgCommand = ffmpgCommand.audioFilters(
// {
// filter: 'loudnorm',
// options: "I=-16:LRA=11:TP=-1.5:offset=" + STATE.audio.gain
// }
// )
// }
ffmpgCommand.on('start', function (commandLine) {
DEBUG && console.log('FFmpeg command: ' + commandLine);
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chirpity",
"version": "1.6.2",
"version": "1.6.3",
"description": "Chirpity Nocmig",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit e997344

Please sign in to comment.