main
Ingolf Wagner 2022-02-07 18:15:03 +01:00
commit bd8dec34e3
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 71 additions and 0 deletions

32
README.md Normal file
View File

@ -0,0 +1,32 @@
# How to create proper recordings (with Zoom H5)
* Select an Empty folder (Stereo is recommended)
* Press (Record) and start createing a Note
* Press (Play) and (Play) again to Speak the whole Note again, if you made a mistake (this will create Markers)
* Press (Record) to finish the Note
* Once the Topic is done (which is a collection of Notes)
* Got though the the list of Samples and trim the beginnings way to the last marker (only if markers in the files exist)
* **Menu** -> **Edit** -> **Trim**
* (>>) and (<<) to jump between markers
* (Record) to execute Deletion
Now you have a bunch of already cut Recordings, which can be merged to a proper Topic with the `script.sh`
# How to create final MP3s
* Create folder for a topic/note-session
* move all wav files in there
* cd in that folder
* run
```shell
bash ../script.sh
```
* Now you have a mp3 with the name of the folder

39
script.sh Normal file
View File

@ -0,0 +1,39 @@
#!/usr/bin/env bash
OUTPUT_DIR=.output
OUTPUT_FILE=../$(basename $PWD).mp3
SILENCE=.silence.wav
MIX_LIST=.mix.txt
rm -rf $OUTPUT_DIR $OUTPUT_FILE
mkdir -p $OUTPUT_DIR
sox -n -r 44100 -c 2 $SILENCE trim 0.0 1.0
for wav in $( ls | egrep -i ".*wav$" )
do
echo $wav
# remove silence
# reverse sample
# remove silence
# reverse sample
# => remove silence from beginning and end
sox $wav $OUTPUT_DIR/$wav \
silence 1 0.05 0.5% \
fade 0.01
done
rm -rf $MIX_LIST
for wav in $( ls $OUTPUT_DIR )
do
echo $SILENCE >> $MIX_LIST
echo $OUTPUT_DIR/$wav >> $MIX_LIST
done
sox $( cat $MIX_LIST ) -t wav - rate -v -L 44100 dither | lame -S -h -b 320 --ignore-tag-errors - $OUTPUT_FILE