|
@@ -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
|
|
|
```
|