From 49ac525dad91545c311e4d60fe017bf732548115 Mon Sep 17 00:00:00 2001 From: Xavier Date: Thu, 9 Feb 2023 08:42:10 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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