diff --git a/project/README.md b/project/README.md index c6f7c2f..84dc7fe 100644 --- a/project/README.md +++ b/project/README.md @@ -10,5 +10,11 @@ The command line "podcast" allows recording of microphone input and soundcard at `mv podcast .local/bin/podcast` run in terminal: `podcast` + +###pre.. +sudo apt-get install pavucontrol +sudo apt-get install pulseaudio pulseaudio-module-zeroconf alsa-utils avahi-daemon +sudo apt-get install ffmpeg + ## Srttojs python3 srttojs.py description-alex1-A.srt diff --git a/project/scripts/podcast b/project/scripts/podcast deleted file mode 100755 index 74f6677..0000000 --- a/project/scripts/podcast +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -output=${1:-podcast} -arecord -Dpulse_monitor -f cd ${output}_sc.wav & -arecord -Dpulse -f cd ${output}_mic.wav -ffmpeg -i ${output}_mic.wav -i ${output}_sc.wav -filter_complex amerge -ac 2 -c:a libmp3lame -q:a 4 ${output}.mp3 - -today=$(date +%Y%m%d-%H%M); -mkdir -p "podcast.$today" -mv podcast.$today podcasts/; -mv -v ${output}_sc.wav podcasts/podcast.$today/${output}_sc.$today.wav; -mv -v ${output}_mic.wav podcasts/podcast.$today/podcast_mic.$today.wav; -mv -v ${output}.mp3 podcasts/${output}.$today.mp3;