RE: Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
You really need to understand what I am trying to do. It is not a simple lesson in use of podcasts. This is an automated system. I call it my NPR Jukebox. 15 years ago, I started with hourly URL calls to a browser to record specific NPR programs. It took a lot of coordination. I had to use IE

RE: Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
>> Why would post-record editing be "horrendous"? This has to be done on-the-fly before it is recorded. After the AGC is applied, it will be played, live, to the community. It is played during the week to a much smaller audience, almost as background noise. Post recording editing would be a waste

Re: Automatic Gain Control in Python?

2022-05-28 Thread MRAB
On 2022-05-29 01:17, Steve GS wrote: "My first thought is you are solving the wrong problem. What seems a better option would be to get your code to actually connect up to the podcast and just download the audio directly, rather than trying to get the smart speaker to play the audio and record it

RE: Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
"My first thought is you are solving the wrong problem. What seems a better option would be to get your code to actually connect up to the podcast and just download the audio directly, rather than trying to get the smart speaker to play the audio and record it with a microphone." The smart-speaker

Re: Automatic Gain Control in Python?

2022-05-28 Thread Richard Damon
On 5/28/22 5:29 PM, Steve GS wrote: I have an extensive Excel/VBA program that hourly calls and plays podcasts through a "smart" speaker. The output of the speaker feeds into another computer that records the m\audio using Audacity. It has become obvious that NPR does not regulate volumes for po

Re: .0 in name

2022-05-28 Thread Chris Angelico
On Sun, 29 May 2022 at 08:26, Eryk Sun wrote: > > On 5/28/22, Chris Angelico wrote: > > > > be extremely confusing; so to keep everything safe, the interpreter > > generates a name you couldn't possibly want - same as for the function > > itself, which is named "" or "", angle brackets > > includ

Re: .0 in name

2022-05-28 Thread Eryk Sun
On 5/28/22, Chris Angelico wrote: > > be extremely confusing; so to keep everything safe, the interpreter > generates a name you couldn't possibly want - same as for the function > itself, which is named "" or "", angle brackets > included. To clarify, "" is the co_name and co_qualname value of t

Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
I have an extensive Excel/VBA program that hourly calls and plays podcasts through a "smart" speaker. The output of the speaker feeds into another computer that records the m\audio using Audacity. It has become obvious that NPR does not regulate volumes for podcasts and broadcasts nor are programs

Re: .0 in name

2022-05-28 Thread Chris Angelico
On Sun, 29 May 2022 at 06:41, Ralf M. wrote: > > Am 13.05.2022 um 23:23 schrieb Paul Bryan: > > On Sat, 2022-05-14 at 00:47 +0800, bryangan41 wrote: > > > >> May I know (1) why can the name start with a number? > > > > The name of an attribute must be an identifier. An identifier cannot > > begin

Re: .0 in name

2022-05-28 Thread Ralf M.
Am 13.05.2022 um 23:23 schrieb Paul Bryan: On Sat, 2022-05-14 at 00:47 +0800, bryangan41 wrote: May I know (1) why can the name start with a number? The name of an attribute must be an identifier. An identifier cannot begin with a decimal number. I'm not sure about the first statement. Feed

Re: terminate called after throwing an instance of 'boost::python::error_already_set

2022-05-28 Thread Barry
> On 27 May 2022, at 21:17, Larry Martell wrote: > > I have a script that has literally been running for 10 years. > Suddenly, for some runs it crashes with the error: > > terminate called after throwing an instance of > 'boost::python::error_already_set This is from an extension that is wri