Mercurial > code > home > repos > light9
changeset 1987:522d7bf9b5b2
spectrograms work even when music is ogg files
Ignore-this: 7a3ae40d1f6a7d331839087ceeb45e99
author | drewp@bigasterisk.com |
---|---|
date | Sun, 09 Jun 2019 04:46:46 +0000 |
parents | c8f0d1b9a171 |
children | 480ebd1e3428 |
files | light9/web/timeline/light9-timeline-audio.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/web/timeline/light9-timeline-audio.html Sun Jun 09 04:45:24 2019 +0000 +++ b/light9/web/timeline/light9-timeline-audio.html Sun Jun 09 04:46:46 2019 +0000 @@ -61,7 +61,7 @@ return; } - this.imgSrc = root + '/' + filename.replace('.wav', '.png'); + this.imgSrc = root + '/' + filename.replace('.wav', '.png').replace('.ogg', '.png'); }.bind(this), "timeline-audio " + this.song); }, _imgWidth: function(zoom) {