Re: help, please, with 3.10.4 install

2022-05-29 Thread dn
On 29/05/2022 14.11, Jack Gilbert wrote: > I downloaded 3.10.4 on a 64 bit , 8.1 > I can see IDLE shell 3.10.1, I see Python 3.10.4 (tags/v3.10.4:9d38120, Mar > 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 > > also, the same line: Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, >

Re: matplotlib basemap colorbar exception : Given element not contained in the stack

2022-05-29 Thread MRAB
On 2022-05-29 13:57, iMath wrote: please see the formated code at https://stackoverflow.com/questions/72423464/matplotlib-basemap-colorbar-exception-given-element-not-contained-in-the-stack The problem might be that you're passing "ax=self.ax" when you create the basemap, and you have:

Re: Automatic Gain Control in Python?

2022-05-29 Thread Benjamin Schollnick
> I doubt you even need to write any code to do that. Sox can normalize > audio levels in files with a single command. Correct. My phrasing was slightly misleading. There are plenty of applications that should do that. I was thinking of one that Marco Arment makes, but I can’t locate it for

Re: Automatic Gain Control in Python?

2022-05-29 Thread Grant Edwards
On 2022-05-29, Benjamin Schollnick wrote: > Why not just right a 3rd party package to normalize the audio levels > in the digital file? It’ll be faster, and probably easier than > trying to do it in real time… I doubt you even need to write any code to do that. Sox can normalize audio levels

Re: Automatic Gain Control in Python?

2022-05-29 Thread Benjamin Schollnick
Well, maybe a different approach might be better? https://www.amazon.com/LEMONKTV-Control-Device-Karaoke-Machine/dp/B07H49JB8S I’m unclear on how bringing the audio track into a computer to examine detect the audio

Re: Automatic Gain Control in Python?

2022-05-29 Thread Michael F. Stemper
On 29/05/2022 10.04, Steve GS wrote: What you seem to be missing is that you could get the podcasts from a browser, and all a browser is is a program. It isn't that much work to write a rudimentary browser in python, especially if you don't actually need to display the results to a user, but

RE: Automatic Gain Control in Python?

2022-05-29 Thread Steve GS
No, not a digital file. I am playing the podcast/broadcast live to the community using a separate network of smart speakers (Amazon Echo). Commands are being sent hourly through a speaker to the SS from an excel program. I want to monitor the audio level between the line-out of the SS and the

Re: matplotlib basemap colorbar exception : Given element not contained in the stack

2022-05-29 Thread iMath
please see the formated code at https://stackoverflow.com/questions/72423464/matplotlib-basemap-colorbar-exception-given-element-not-contained-in-the-stack -- https://mail.python.org/mailman/listinfo/python-list

Re: Automatic Gain Control in Python?

2022-05-29 Thread Christian Gollwitzer
Am 29.05.22 um 00:45 schrieb Stefan Ram: "Steve GS" writes: Subject: Automatic Gain Control in Python? Automatic Gain Control in Python is trivial. You have a list of samples and normalize them, i.e., divide by max. Slightly simplified [ s/max( samples )for s in samples ]

Re: Automatic Gain Control in Python?

2022-05-29 Thread Martin Schöön
Den 2022-05-29 skrev Christian Gollwitzer : > Am 29.05.22 um 00:45 schrieb Stefan Ram: >> "Steve GS" writes: >>> Subject: Automatic Gain Control in Python? >> >>Automatic Gain Control in Python is trivial. You have a list >>of samples and normalize them, i.e., divide by max. Slightly >>

help, please, with 3.10.4 install

2022-05-29 Thread Jack Gilbert
I downloaded 3.10.4 on a 64 bit , 8.1 I can see IDLE shell 3.10.1, I see Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 also, the same line: Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 in CMD

[Python-announce] Sphinx-5.0.0 is out

2022-05-29 Thread Komiya Takeshi
Hi all, I'm delighted to announce the release of Sphinx 5.0.0 final, now available on the Python package index at . It includes many changes including incompatible ones. Please confirm it working fine on your documents. In detail, please see CHANGES:

Re: Automatic Gain Control in Python?

2022-05-29 Thread MRAB
On 2022-05-29 16:17, Benjamin Schollnick wrote: Okay, you are capturing the audio stream as a digital file somewhere, correct? Why not just right a 3rd party package to normalize the audio levels in the digital file? It’ll be faster, and probably easier than trying to do it in real time…

Re: Automatic Gain Control in Python?

2022-05-29 Thread Benjamin Schollnick
Okay, you are capturing the audio stream as a digital file somewhere, correct? Why not just right a 3rd party package to normalize the audio levels in the digital file? It’ll be faster, and probably easier than trying to do it in real time… eg.

RE: Automatic Gain Control in Python?

2022-05-29 Thread Steve GS
>> From your description, your fundamental problem is you are trying to >> automatically "control" things that weren't designed to be automatically >> controlled in the way you are attempting. How so? I am sending commands to a smart speaker and it plays podcasts and broadcasts. How is this a

Re: Automatic Gain Control in Python?

2022-05-29 Thread Richard Damon
From your description, your fundamental problem is you are trying to automatically "control" things that weren't designed to be automatically controlled in the way you are attempting. The smart speaker assumes the "user" will adjust the volume either with the controls or with verbal commands,