update readme

This commit is contained in:
encrypt 2020-04-15 16:25:01 +02:00
parent 39c2590630
commit 17ec4d3bf7

View file

@ -7,7 +7,6 @@ install
--------
```
pip install --user pyaudio # che in realta non serve poi lo levo
git clone https://github.com/azlux/pymumble # quest non sta su pypy
cd pymumble
pip3 install --user -r requirements.txt
@ -20,5 +19,12 @@ ascolta
con pulseaudio
```
python3 bot.py | paplay --raw --rate=48000 --format=s16le --channels=1
python3 bot.py | paplay --raw --rate=48000 --format=s16le --channels=2
```
streama
-------
```
python3 bot.py | ffmpeg -ac 2 -ar 48000 -f s16le -i pipe: -codec:a libvorbis -qscale:a 3 -content_type 'audio/ogg' -vn -f ogg icecast://username:passwordsicura@ice.cast:8000/test.ogg
```