トゲハテナブロック (hatena burokku) is Japanese for interrogation block ⍰.
.envand edit it.
npm i && npm run dev
npm run serveto start developing
- (service worker watch, optional)
npm run sw-watch
npx run test
npm run test-watch
npx run test-guifor Cypress GUI
npm run prod
Some audio operations with ffmpeg
Convert WAV to FLAC
ffmpeg -i my-sound.wav -c:a flac my-sound.flac
ffmpeg -i my-sound.wav -filter:a volumedetect -f null /dev/null to detect the volume profile (official doc) on your audio files. The audio profile of a file could be:
[Parsed_volumedetect_0 @xxx] mean_volume: -19.3 dB [Parsed_volumedetect_0 @xxx] max_volume: -2.7 dB [Parsed_volumedetect_0 @xxx] histogram_2db: 2 [Parsed_volumedetect_0 @xxx] histogram_3db: 8
Among your files, the loudest will have its
max_volume closer to 0 dB. You can normalize to whatever file you want by running a command on each audio file in order to increase or decrease their volume by a few dB.
If the audio file sounds too loud (
max_volume: -2.7 dB), we can normalize it to another one having (for example)
max_volume: -8 dB. The gap between the 2 files is 6 dB (5.3 dB rounded to the upper integer), so we’ll decrease the loudest file by 6 dB by running:
ffmpeg -i my-sound.wav -filter:a "volume=-6dB" my-sound-normalized.wav
Thanks to themushroomkingdom.net and all the people running Nintendo fans sites since the previous century!