Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
Steve GS wrote: > Yes, it is real-time play back of a pre-recorded presentation. > A juke box does the same thing. It plays records. > You didn't put your quarter in to expect the band to play your piece live, > did you? > > Same here, I am pulling in the programs and playing them for an

Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
Stefan Ram wrote: > > When a mike is used anyway: Some mobile devices have a mike > with AGC in the driver, so they usually record with AGC. In the name of all that is Holy, please don't suggest another intermediary step that may actually be taken seriously here! Do you really want a

Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
Steve GS wrote: > > Maybe you do not understand smart speakers. That is exactly what they do. > You tell them what podcast/broadcast to play, they get it and play it for > you. It is that simple. > > All I want to do is change the audio levels automatically to make it easier > on the ear.

Re: Automatic Gain Control in Python?

2022-06-06 Thread Phil Boutros
Chris Angelico wrote: > > General principle: If you're asking someone else for help, don't tell > them that your way is easier, because the obvious response is "go > ahead then, do it your own way". *Ding Ding Ding*...We have a winner! At least, that's where I dropped off. My experienced

Re: Automatic Gain Control in Python?

2022-05-31 Thread Phil Boutros
Richard Damon wrote: > 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. > What you seem to be missing is that you could get the podcasts from a >

Re: learning python building 2nd app, need advices

2021-01-13 Thread Phil Boutros
Loris Bennett wrote: > As an Emacs user, personally I would use the command > > M-x untabify > > within Emacs. I assume that Vim has something similar. It does. ':retab' is what you want. If you have tabstop set to a specific value, it'll use that. If not, you can do ':retab ', where

Re: Python "Bad syntax"

2018-02-05 Thread Phil Boutros
Phil Boutros <ph...@philb.ca> wrote: > > Which version of python are you using? That syntax for "print" > started in python 3 (since print became a function). > > Try adding: > > from __future__ import print_function > > before your code if

Re: Python "Bad syntax"

2018-02-05 Thread Phil Boutros
wrote: >   > Hi, I have a problem in continuing the function. >   > I'm a beginner, I'm learning from a textbook. I'm going to put the > following examples from a textbook that displays "wrong syntax" >   for letter in

Re: I need a lot of help...

2016-12-24 Thread Phil Boutros
raulmaqueda6...@gmail.com wrote: > I do not know how to do this exercise, does anyone help me? If you have a specific, precise question, that's one thing. Otherwise: http://lmgtfy.com/?q=Academic+Dishonesty Phil -- AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS

Re: Specify the database for a Django ModelForm instance

2016-08-10 Thread Phil Boutros
Ben Finney wrote: > > The person who wrote that question must think very like myself. > > That doesn't address the question about ‘ModelForm.clean’ or > ‘ModelForm.is_valid’, though; how to tell the instance which database to > use for those? I must admit to not

Re: Specify the database for a Django ModelForm instance

2016-08-09 Thread Phil Boutros
Ben Finney wrote: > Howdy all, > > How can I specify which database (by its alias name) a Django ModelForm > should use > What is the equivalent for using='foo' when instantiating a ModelForm > for the model, or calling its methods (ModelForm.clean, ModelForm.save, >

Re: ASCII or Unicode? (was best text editor for programming Python on a Mac)

2016-06-19 Thread Phil Boutros
Steven D'Aprano wrote: > > Quote: > > "Why do we have to write x!=y then argue about the status of x<>y when we > can simply write x≠y?" > > "Simply"? > > This is how I write x≠y from scratch: To wrap this back full circle, here's how it's done on vim: Ctrl-K, =, !