diff --git a/README.md b/README.md index 01c24ec..e5b0f20 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,15 @@ You can use basic and some advanced functions of your radio. You use the speaker and microphone of your computer to communicate. This project is more oriented for voice (phone) or CW. -Please send me an email with your success story. olivier@f4htb.fr
-Modification pour compatible audio F4IYT Xavier +Modification pour compatible audio F4IYT Xavier
+Add:
+#self.inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE, alsaaudio.PCM_NORMAL, channels=1, rate=8000, format=alsaaudio.PCM_FORMAT_FLOAT_LE, periodsize=256, device=config['AUDIO']['inputdevice'])
+ self.inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE, alsaaudio.PCM_NORMAL, device=config['AUDIO']['inputdevice'])
+ self.inp.setchannels(1)
+ self.inp.setrate(8000)
+ self.inp.setformat(alsaaudio.PCM_FORMAT_FLOAT_LE)
+ self.inp.setperiodsize(256)
+
More info on the wiki page: https://github.com/F4HTB/Universal_HamRadio_Remote_HTML5/wiki