Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2018-05-30 Thread Sound of L.A. Music and Audio

Hello

Apart from the mentioned book of Neumann, I could recommend Sengpiel 
Audio. It is still available in the internet and supported by the son of 
EBS (AFAIK).


You will find many answers there. Some pages are available in english 
too, such as the conversion calculations:

http://www.sengpielaudio.com/Calculations03.htm

As a quick reply to your questions: These patterns are generated by more 
than one diapgragm and / or effects caused by substraction of the sound 
from different directions eventually making use of accoustic time 
delays. For instance the Cardioid mic does:

http://www.sengpielaudio.com/PressureGradientAndPhase.htm

But it is important to understand, that these abstractions are focussing 
ideal cases. Practically no microphone comes close to these simple cases 
of behaviour.


As entry point, this page might be of interest:

http://www.sengpielaudio.com/HejiaE.htm

It also has visualisation of the mic systems.

GTX


Am 29.05.2018 um 03:53 schrieb Rich Breen:
Microphones can be either pressure or velocity; any basic microphone 
design book/paper will cover the differences.


best,
rich





___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp



[music-dsp] PCM audio amplitudes represent pressure or displacement?

2018-05-29 Thread Goran Finnberg [email protected]
Renato Fabbri:
 >BTW. microphones capture amplitude or displacement
 
 >or it depends?
Omni  = Pressure
Fig 8   = Velocity
Cardioid  = 50% pressure 50% velocity
Go to https://en-de.neumann.com/file-finder#
Register: Extend Access with B2B login
Click "other technical documents"
Download:
Book "Microphones", Bore/Peus, English, 78 pages pdf 920 KB
The best written book by Neumann Experts that tells it as it is from 
a physics point without a trace of marketing hype or any kind 
of misinformation.
Simply the best and all you will ever need.
Dr Gerhart Bore MSc.EE was Neumanns chief scientist.
Stephan Peus was his successor when Dr Bore passed away.
Nothing you can buy comes even close to this book.
-
Best regards,
Goran Finnberg
The Mastering Room AB
Goteborg
Sweden
E-mail: [email protected]
Learn from the mistakes of others, you can never live long enough to
make them all yourself.-   John Luther
(\__/)
(='.'=)
(")_(") Nero & Smurfen:RIP
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2018-05-28 Thread Rich Breen
Microphones can be either pressure or velocity; any basic microphone design 
book/paper will cover the differences.

best,
rich




> On Sep 30, 2017, at 11:43 AM, [email protected] wrote:
> 
> Subject: [music-dsp] PCM audio amplitudes represent pressure or
>   displacement?
> Message-ID:
><mailto:CALqdYOzRueopQyBW0=ofw8mgXTb+5S=z=+bne7xgbwr9h3a...@mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 
> I am not finding this information clearly.
> 
> BTW. microphones capture amplitude or displacement
> or it depends?
> 
> -- 
> Renato Fabbri
> GNU/Linux User #479299

-
[email protected]
<http://www.richbreen.com>___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-02 Thread robert bristow-johnson



�
i think that i was thinking of this wrong.� put the loudspeaker at the origin 
of the spherical coordinate system.� near field, the particle velocity is 
mostly the quadrature phase component in relation to the pressure wave.� but at 
far field, the quadrature component
dies off faster than the in-phase component.� so at far field, the particle 
velocity and pressure wave are in phase and the ratio of the two is mostly real 
and the acoustic impedance of the medium is resistive.� so far field it 
shouldn't matter if the microphone is measuring particle
velocity or pressure or even a linear combination, because they are in phase.
so dynamic microphone should still be showing particle velocity or pressure 
gradient which are proportional to the velocity of the diaphragm, which is 
proportional to instantaneous voltage.� but both particle
velocity and pressure gradient are DC free if there is no breeze or wind.
so i think i corrected my understanding but welcome any other correction.� just 
like for recording and playback of vinyl, there is a differentiator in the 
signal chain of electrical to mechanical to electrical
mediums.� and this is true also of analog audio that passes through an 
impedance-matching (or isolation) transformer.
�
r b-j

 Original Message 

Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or 
displacement?

From: "robert bristow-johnson" 

Date: Mon, October 2, 2017 6:53 pm

To: [email protected]

--



>

>

>

> �

> what i understand are the acoustic diff eqs for p(x,y,z,t)

> � �d^2p/dx^2 +�d^2p/dy^2 +�d^2p/dz^2 = (1/c^2) d^2p/dt*2�

> and similar for particle velocity u()

> it has a solution (that i recall) in spherical coordinates (r^2 = x^2 + y^2 + 
> z^2)

> that is 1/r for p(r, t) and for the component of u(r,t) that is in-phase with 
> p(r,t).� those combine to be 1/r^2 for the intensity, as you would expect for 
> a conserved quantity.� the component of u(r,t) that is quadrature phase to 
> p(r,t) is 1/r^2, not 1/r, but this 90�component does not
contribute to power or intensity.
> but what this means is that when r is small (like around the moving piston in 
> the center, r=0, of this spherical coordinate system) then the outa phase 
> component is much stronger than the in-phase

> component and, since p(r,t) does not have that component, then the particle 
> velocity u(r,t) is dominant.� for dynamic microphones, this will be 
> proportional to voltage, which is proportional to the rate of change of 
> magnetic flux, which is proportional to the velocity of a diaphragm.

> but

> the position of a loudspeaker piston is proportional to the applied voltage 
> because the load is mostly resistive and the magnetic force (against a 
> mechanical Hooke's law) is proportional to current..� so, because of a 
> built-in differentiator, i don't see it the same for a microphone vs.
> loudspeaker.� there is a necessary loss of DC information in the microphone 
> transducer.

> r b-j

>

>

>

> -------- Original Message 

>

> Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or 
> displacement?

>

>

From: "Evan Balster" 

>

> Date: Mon, October 2, 2017 1:14 pm

>

> To: [email protected]

>

> --

>

>

>

>> A few other notes I should add:

>

>>

>

>> 1. Per the reasoning above, the PCM of a sine wave is going *tend to* to

>

>> be proportional to the wave's physical amplitude (speaker

>

>> displacement) *multiplied

>

>> by* its frequency — again, in an ideal system without 
>> frequency-dependent

>

>> effects (and those are inevitable).

>

>>

>

>> 2. Just because PCM encodes velocity doesn't mean there's some inherent

>

>> delay or phase shift as suggested by others here. Those artifacts come

>

>> from frequency-dependent effects. For example, if I have a circuit

>

>> composed of two identical transducer coils wired to one another, and I

>

>> whack the first one, the acceleration of its coil is going to create a

>

>> voltage that drives an acceleration of the other coil. In an "ideal"

>

>> physics scenario the second coil might copy the first's movement perfectly

>

>> and instantaneously, but it doesn't because we have electrical resistance,

>

>> friction, momentum, etc.

>

>>

>

>> – Evan Balster

>

>> creator of imitone <http://imitone.com>

>

>

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-02 Thread robert bristow-johnson



�
what i understand are the acoustic diff eqs for p(x,y,z,t)
� �d^2p/dx^2 +�d^2p/dy^2 +�d^2p/dz^2 = (1/c^2) d^2p/dt*2�
and similar for particle velocity u()
it has a solution (that i recall) in spherical coordinates (r^2 = x^2 + y^2 + 
z^2)
that is 1/r for p(r, t) and for the component of u(r,t) that is in-phase with 
p(r,t).� those combine to be 1/r*2 for the intensity, as you would expect for a 
conserved quantity.� the component of u(r,t) that is quadrature phase to p(r,t) 
is 1/r^2, not 1/r, but this 90�component does not contribute to power or 
intensity.
but what this means is that when r is small (like around the moving piston in 
the center, r=0, of this spherical coordinate system) then the outa phase 
component is much stronger than the in-phase
component and, since p(r,t) does not have that component, then the particle 
velocity u(r,t) is dominant.� for dynamic microphones, this will be 
proportional to voltage, which is proportional to the rate of change of 
magnetic flux, which is proportional to the velocity of a diaphragm.
but
the position of a loudspeaker piston is proportional to the applied voltage 
because the load is mostly resistive and the magnetic force (against a 
mechanical Hooke's law) is proportional to current..� so, because of a built-in 
differentiator, i don't see it the same for a microphone vs.
loudspeaker.� there is a necessary loss of DC information in the microphone 
transducer.
r b-j



 Original Message 

Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or 
displacement?

From: "Evan Balster" 

Date: Mon, October 2, 2017 1:14 pm

To: [email protected]

--



> A few other notes I should add:

>

> 1. Per the reasoning above, the PCM of a sine wave is going *tend to* to

> be proportional to the wave's physical amplitude (speaker

> displacement) *multiplied

> by* its frequency — again, in an ideal system without 
> frequency-dependent

> effects (and those are inevitable).

>

> 2. Just because PCM encodes velocity doesn't mean there's some inherent

> delay or phase shift as suggested by others here. Those artifacts come

> from frequency-dependent effects. For example, if I have a circuit

> composed of two identical transducer coils wired to one another, and I

> whack the first one, the acceleration of its coil is going to create a

> voltage that drives an acceleration of the other coil. In an "ideal"

> physics scenario the second coil might copy the first's movement perfectly

> and instantaneously, but it doesn't because we have electrical resistance,

> friction, momentum, etc.

>

> – Evan Balster

> creator of imitone <http://imitone.com>

>

> On Sun, Oct 1, 2017 at 12:56 PM, Evan Balster  wrote:

>

>> DSP programmer recently getting into transducer experimentation here.

>> Gonna walk through the dimensional analysis:

>>

>>

>> 1. Sound waves are a form of energy. Energy doesn't exchange directly

>> with other units like voltage, velocity, momentum, etc, because those units

>> are in different dimensions.

>>

>> 2. If the displacement distance is constant, a higher-frequency sound

>> wave means the air is traveling back an forth at higher velocity (directly

>> proportional to frequency).

>>

>> 3. Kinetic energy is proportional to velocity squared.

>>

>> 4. *Thus*, it takes four times as much energy to vibrate with the same

>> displacement at twice the frequency (because the velocity is doubled).

>>

>> 5. Power is the rate of energy flow in an electrical system.

>>

>> 6. In an ideal digital/analog conversion (with no frequency-dependent

>> effects) PCM values are directly proportional to voltage.

>>

>> 7. In an electrical system, power is (voltage x current). Current is

>> (voltage / impedance). Ideally impedance is fixed, so power is

>> proportional to voltage squared.

>>

>> 8. *Thus*, power is proportional to PCM squared, and energy is

>> proportional to PCM squared per second (mean-square).

>>

>> 9. Thus, because mean-square PCM is proportional to energy, and energy is

>> proportional to speaker displacement times frequency squared, PCM is *not*

>> proportional to displacement. In an ideal electrical system, it's

>> proportional to velocity.

>>

>>

>> Filter-like (frequency-dependent) effects can change things, because they

>> can mix a signal together with its integrals and derivatives. It's simple

>> to transform that velocity signal into a displacement signal or vice versa,

>> but 

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-02 Thread Evan Balster
splacement of the sonic wave.
>>
>>>   for me, it's easiest to imagine that the instantaneous pressure
>>> (actually the *difference* between instantaneous absolute pressure and the
>>> ambient atmospheric pressure, the DC component, which is about 100 kPa) is
>>> proportionally mapped to the signal sample in the DSP.  but i never worry
>>> about the constant of proportionality because it simply is what it after i
>>> set the volume control to a desired setting.
>>>
>>> that's my pedantic spin on it.
>>>
>>> r b-j
>>>
>>>
>>>
>>>
>>>  Original Message
>>> 
>>> Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or
>>> displacement?
>>> From: "Renato Fabbri" 
>>> Date: Sun, October 1, 2017 12:58 am
>>> To: "A discussion list for music-related DSP" <
>>> [email protected]>
>>> 
>>> --
>>>
>>> > tx for the infos and thoughts.
>>> >
>>> > I am getting the same difficulty when I
>>> > look at texts in the subject.
>>> >
>>> > Making the question very objective,
>>> > is anyone able to state very briefly if
>>> > LPCM samples 1000, 5, 500, 70
>>> > will be converted by a loudspeaker
>>> > into displacements proportional to such
>>> > values or to pressure (differentials)?
>>> >
>>> > I mean, if the samples are constant,
>>> > say 6000, the speaker surface is displaced
>>> > an amount proportional to 6000 and
>>> > stays there until the samples end.
>>> > That is displacement, right?
>>> >
>>> > Apologies if I am trying to hard to
>>> > keep things too simple, but
>>> > I believe that there might be
>>> > a simple answer.
>>> > (Although probably not if we
>>> > think also about what is input
>>> > by mics.)
>>> >
>>> >
>>> >
>>> > On Sat, Sep 30, 2017 at 6:40 PM, Nigel Redmon 
>>> wrote:
>>> >
>>> >> > I'm pretty sure an instantaneous [audio] voltage (or a number in a
>>> >> > stream of PCM values) represents a pressure differential, and not
>>> >> > displacement.
>>> >>
>>> >> This is one of those point-of-view things…I used the “usually” caveat
>>> for
>>> >> that reason…
>>> >>
>>> >> You strike a drum, you displace the head, create a pressure wave
>>> because
>>> >> the room has air, the pressure wave displaces the conducer capsule
>>> membrane
>>> >> resulting in a change of capacitance, which is converted to a change
>>> in
>>> >> voltage, it’s amplifier and used to displace a speaker, which creates
>>> a
>>> >> pressure wave, which displaces your ear drum…
>>> >>
>>> >> So, whether the electrical signal is of the displacement of the
>>> capsule
>>> >> membrane, or the pressure differential over time hitting it…ultimately
>>> >> we’re normally recording sound as it exists in the air, so you could
>>> >> rightly say the electrical signal is an analog of the pressure
>>> changes over
>>> >> time—or you could look at it on the electro-mechanical level and say
>>> we use
>>> >> the pressure to displace and element and record that displacement.
>>> >>
>>> >> I guess how firmly you stick to one or the other depends on
>>> conventions
>>> >> you're used to. As an engineer, I see it as representing the
>>> displacement.
>>> >> The reason I view it that way is because I’m intimately aware of the
>>> masses
>>> >> involved with dynamic or condenser mics, and their shortcomings. So, I
>>> >> think of it as the mic diaphragm trying its best to approximate the
>>> changes
>>> >> in pressure, and we convert that displacement approximation to an
>>> >> electrical signal.
>>> >>
>>> >> It’s probably easier to view the flip side, the speaker—so many
>>> reasons
>>> >> for a bad approximation; you need a big surface to move a lot of air,
>>> >> particularly for low frequencies

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-01 Thread Evan Balster
DSP programmer recently getting into transducer experimentation here.
Gonna walk through the dimensional analysis:


1.  Sound waves are a form of energy.  Energy doesn't exchange directly
with other units like voltage, velocity, momentum, etc, because those units
are in different dimensions.

2.  If the displacement distance is constant, a higher-frequency sound wave
means the air is traveling back an forth at higher velocity (directly
proportional to frequency).

3.  Kinetic energy is proportional to velocity squared.

4.  *Thus*, it takes four times as much energy to vibrate with the same
displacement at twice the frequency (because the velocity is doubled).

5.  Power is the rate of energy flow in an electrical system.

6.  In an ideal digital/analog conversion (with no frequency-dependent
effects) PCM values are directly proportional to voltage.

7.  In an electrical system, power is (voltage x current).  Current is
(voltage / impedance).  Ideally impedance is fixed, so power is
proportional to voltage squared.

8.  *Thus*, power is proportional to PCM squared, and energy is
proportional to PCM squared per second (mean-square).

9.  Thus, because mean-square PCM is proportional to energy, and energy is
proportional to speaker displacement times frequency squared, PCM is *not*
proportional to displacement.  In an ideal electrical system, it's
proportional to velocity.


Filter-like (frequency-dependent) effects can change things, because they
can mix a signal together with its integrals and derivatives.  It's simple
to transform that velocity signal into a displacement signal or vice versa,
but in practice any filtering effects will result in a frequency-dependent
mixture of the two (and potentially other degrees of integration).

– Evan Balster
creator of imitone <http://imitone.com>

On Sun, Oct 1, 2017 at 11:31 AM, Renato Fabbri 
wrote:

>
>
> On Sun, Oct 1, 2017 at 1:23 PM, robert bristow-johnson <
> [email protected]> wrote:
>
>>
>>
>> i know relatively little about transducers.  but these are getting to be
>> pretty fundamental questions.
>>
>> Renato, we don't know exactly how much the digital value will translate
>> to a precise loudspeaker piston displacement because there is an amplifier
>> with a volume control in between the D/A converter and the loudspeakers.
>>
>> when we talk of gain and scaling of the digital numbers coming out of a
>> DSP process, we can only really discuss what is "full scale" and, perhaps
>> if you're a hardware geek, what the reference voltage is for the D/A
>> converter (or A/D on the input side) which will map to full scale.
>> usually, as integers, the A/D and D/A integer values are left-justified.
>> if your D/A word was a puny 16 bits, that means -32768 and +32767 are your
>> full scale values.  how they get translated to loudspeaker piston
>> displacement depends on the analog hardware in between (and the volume
>> control) and of the loudspeaker.
>>
>> also about instantaneous pressure vs. displacement, it's really a
>> combination of the two and the two are related by some LTI acoustic
>> filtering function.
>>
> one is the derivative of the other I guess
> (
> as in
> http://physics.bu.edu/~duffy/semester1/c20_disp_pressure.html
> )
>
> PS. I am getting quite convinced that PCM samples by standard represent
> the displacement of the sonic wave.
>
>>   for me, it's easiest to imagine that the instantaneous pressure
>> (actually the *difference* between instantaneous absolute pressure and the
>> ambient atmospheric pressure, the DC component, which is about 100 kPa) is
>> proportionally mapped to the signal sample in the DSP.  but i never worry
>> about the constant of proportionality because it simply is what it after i
>> set the volume control to a desired setting.
>>
>> that's my pedantic spin on it.
>>
>> r b-j
>>
>>
>>
>>
>>  Original Message 
>> Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or
>> displacement?
>> From: "Renato Fabbri" 
>> Date: Sun, October 1, 2017 12:58 am
>> To: "A discussion list for music-related DSP" <
>> [email protected]>
>> 
>> --
>>
>> > tx for the infos and thoughts.
>> >
>> > I am getting the same difficulty when I
>> > look at texts in the subject.
>> >
>> > Making the question very objective,
>> > is anyone able to state very briefly if
>> > LPCM samples 1000, 5, 500, 70
>> >

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-01 Thread Renato Fabbri
On Sun, Oct 1, 2017 at 1:23 PM, robert bristow-johnson <
[email protected]> wrote:

>
>
> i know relatively little about transducers.  but these are getting to be
> pretty fundamental questions.
>
> Renato, we don't know exactly how much the digital value will translate to
> a precise loudspeaker piston displacement because there is an amplifier
> with a volume control in between the D/A converter and the loudspeakers.
>
> when we talk of gain and scaling of the digital numbers coming out of a
> DSP process, we can only really discuss what is "full scale" and, perhaps
> if you're a hardware geek, what the reference voltage is for the D/A
> converter (or A/D on the input side) which will map to full scale.
> usually, as integers, the A/D and D/A integer values are left-justified.
> if your D/A word was a puny 16 bits, that means -32768 and +32767 are your
> full scale values.  how they get translated to loudspeaker piston
> displacement depends on the analog hardware in between (and the volume
> control) and of the loudspeaker.
>
> also about instantaneous pressure vs. displacement, it's really a
> combination of the two and the two are related by some LTI acoustic
> filtering function.
>
one is the derivative of the other I guess
(
as in
http://physics.bu.edu/~duffy/semester1/c20_disp_pressure.html
)

PS. I am getting quite convinced that PCM samples by standard represent
the displacement of the sonic wave.

>   for me, it's easiest to imagine that the instantaneous pressure
> (actually the *difference* between instantaneous absolute pressure and the
> ambient atmospheric pressure, the DC component, which is about 100 kPa) is
> proportionally mapped to the signal sample in the DSP.  but i never worry
> about the constant of proportionality because it simply is what it after i
> set the volume control to a desired setting.
>
> that's my pedantic spin on it.
>
> r b-j
>
>
>
>
>  Original Message 
> Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or
> displacement?
> From: "Renato Fabbri" 
> Date: Sun, October 1, 2017 12:58 am
> To: "A discussion list for music-related DSP" <
> [email protected]>
> --
>
> > tx for the infos and thoughts.
> >
> > I am getting the same difficulty when I
> > look at texts in the subject.
> >
> > Making the question very objective,
> > is anyone able to state very briefly if
> > LPCM samples 1000, 5, 500, 70
> > will be converted by a loudspeaker
> > into displacements proportional to such
> > values or to pressure (differentials)?
> >
> > I mean, if the samples are constant,
> > say 6000, the speaker surface is displaced
> > an amount proportional to 6000 and
> > stays there until the samples end.
> > That is displacement, right?
> >
> > Apologies if I am trying to hard to
> > keep things too simple, but
> > I believe that there might be
> > a simple answer.
> > (Although probably not if we
> > think also about what is input
> > by mics.)
> >
> >
> >
> > On Sat, Sep 30, 2017 at 6:40 PM, Nigel Redmon 
> wrote:
> >
> >> > I'm pretty sure an instantaneous [audio] voltage (or a number in a
> >> > stream of PCM values) represents a pressure differential, and not
> >> > displacement.
> >>
> >> This is one of those point-of-view things…I used the “usually” caveat
> for
> >> that reason…
> >>
> >> You strike a drum, you displace the head, create a pressure wave because
> >> the room has air, the pressure wave displaces the conducer capsule
> membrane
> >> resulting in a change of capacitance, which is converted to a change in
> >> voltage, it’s amplifier and used to displace a speaker, which creates a
> >> pressure wave, which displaces your ear drum…
> >>
> >> So, whether the electrical signal is of the displacement of the capsule
> >> membrane, or the pressure differential over time hitting it…ultimately
> >> we’re normally recording sound as it exists in the air, so you could
> >> rightly say the electrical signal is an analog of the pressure changes
> over
> >> time—or you could look at it on the electro-mechanical level and say we
> use
> >> the pressure to displace and element and record that displacement.
> >>
> >> I guess how firmly you stick to one or the other depends on conventions
> >> you're used to. As an

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-01 Thread robert bristow-johnson



�
i know relatively little about transducers.� but these are getting to be pretty 
fundamental questions.
Renato, we don't know exactly how much the digital value will translate to a 
precise loudspeaker piston displacement because there is an amplifier with a 
volume control
in between the D/A converter and the loudspeakers.
when we talk of gain and scaling of the digital numbers coming out of a DSP 
process, we can only really discuss what is "full scale" and, perhaps if you're 
a hardware geek, what the reference voltage is for the D/A converter (or A/D
on the input side) which will map to full scale.� usually, as integers, the A/D 
and D/A integer values are left-justified.� if your D/A word was a puny 16 
bits, that means -32768 and +32767 are your full scale values.� how they get 
translated to loudspeaker piston displacement depends
on the analog hardware in between (and the volume control) and of the 
loudspeaker.
also about instantaneous pressure vs. displacement, it's really a combination 
of the two and the two are related by some LTI acoustic filtering function.� 
for me, it's easiest to imagine that the
instantaneous pressure (actually the *difference* between instantaneous 
absolute pressure and the ambient atmospheric pressure, the DC component, which 
is about 100 kPa) is proportionally mapped to the signal sample in the DSP.� 
but i never worry about the constant of proportionality because it
simply is what it after i set the volume control to a desired setting.
that's my pedantic spin on it.
r b-j
�

 Original Message ------------

Subject: Re: [music-dsp] PCM audio amplitudes represent pressure or 
displacement?

From: "Renato Fabbri" 

Date: Sun, October 1, 2017 12:58 am

To: "A discussion list for music-related DSP" 

--



> tx for the infos and thoughts.

>

> I am getting the same difficulty when I

> look at texts in the subject.

>

> Making the question very objective,

> is anyone able to state very briefly if

> LPCM samples 1000, 5, 500, 70

> will be converted by a loudspeaker

> into displacements proportional to such

> values or to pressure (differentials)?

>

> I mean, if the samples are constant,

> say 6000, the speaker surface is displaced

> an amount proportional to 6000 and

> stays there until the samples end.

> That is displacement, right?

>

> Apologies if I am trying to hard to

> keep things too simple, but

> I believe that there might be

> a simple answer.

> (Although probably not if we

> think also about what is input

> by mics.)

>

>

>

> On Sat, Sep 30, 2017 at 6:40 PM, Nigel Redmon  wrote:

>

>> > I'm pretty sure an instantaneous [audio] voltage (or a number in a

>> > stream of PCM values) represents a pressure differential, and not

>> > displacement.

>>

>> This is one of those point-of-view things…I used the 
>> “usually” caveat for

>> that reason…

>>

>> You strike a drum, you displace the head, create a pressure wave because

>> the room has air, the pressure wave displaces the conducer capsule membrane

>> resulting in a change of capacitance, which is converted to a change in

>> voltage, it’s amplifier and used to displace a speaker, which creates a

>> pressure wave, which displaces your ear drum…

>>

>> So, whether the electrical signal is of the displacement of the capsule

>> membrane, or the pressure differential over time hitting it…ultimately

>> we’re normally recording sound as it exists in the air, so you could

>> rightly say the electrical signal is an analog of the pressure changes over

>> time—or you could look at it on the electro-mechanical level and say 
>> we use

>> the pressure to displace and element and record that displacement.

>>

>> I guess how firmly you stick to one or the other depends on conventions

>> you're used to. As an engineer, I see it as representing the displacement.

>> The reason I view it that way is because I’m intimately aware of the 
>> masses

>> involved with dynamic or condenser mics, and their shortcomings. So, I

>> think of it as the mic diaphragm trying its best to approximate the changes

>> in pressure, and we convert that displacement approximation to an

>> electrical signal.

>>

>> It’s probably easier to view the flip side, the speaker—so many 
>> reasons

>> for a bad approximation; you need a big surface to move a lot of air,

>> particularly for low frequencies, but a big surface has enough mass that it

>> sucks for quicker changes so we split up the audio band; all the while th

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-01 Thread David Reaves
Fascinating thread!

I find the “oar in the water” example to be very useful in visualizing the 
subject at hand.

This reminds me of how difficult it is to get really good low frequency 
response: An oar moving very slowly simply will not move a boat at all. A 
loudspeaker with its cone fully extended to one extreme does not permanently 
change the room pressure; the pressure change collapses soon after the movement 
ends.

So we typically do not record absolute pressure, but rather the *change* in 
this pressure. In either digital or analog, we can record down to DC, if we 
like. But typically we don’t.


The complex physics behind all this is probably more than I can conceive, but 
it’s still really interesting to poke around the edges. I wonder whether there 
has ever been a microphone that records absolute pressure, as opposed to 
pressure changes...


Kind Regards,
David Reaves
Recklinghausen, Germany

___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-01 Thread Richard Wentk
Most speaker/amp systems produce a high-pass filtered step response - i.e. an 
exponential decay curve - because there’s always at least one DC blocking 
capacitor between the DAC and the speaker. (Usually there are more.)

DC-coupled systems exist, but they’re not common and they’re certainly not 
essential.

I think part of the confusion is that audio systems are inherently AC, because 
sound is inherently AC - i.e. a time-varying *relative* pressure variation 
above and below a mean value.

It’s possible to drive a speaker coil with a DC offset to produce a 
non-decaying step, but your ears won’t hear it as a constant step. They’ll hear 
an initial thump or click followed by silence.

Your ears hear pressure *variations* around a mean value, in a limited 
frequency range - not absolute pressure/displacement. Transducers mimic human 
hearing.

Richard

> On 1 Oct 2017, at 08:58, Renato Fabbri  wrote:
> 
> tx for the infos and thoughts.
> 
> I am getting the same difficulty when I
> look at texts in the subject.
> 
> Making the question very objective,
> is anyone able to state very briefly if
> LPCM samples 1000, 5, 500, 70
> will be converted by a loudspeaker
> into displacements proportional to such
> values or to pressure (differentials)?
> 
> I mean, if the samples are constant,
> say 6000, the speaker surface is displaced
> an amount proportional to 6000 and
> stays there until the samples end.
> That is displacement, right?
> 
> Apologies if I am trying to hard to
> keep things too simple, but
> I believe that there might be
> a simple answer.
> (Although probably not if we
> think also about what is input
> by mics.)
> 
> 
> 
>> On Sat, Sep 30, 2017 at 6:40 PM, Nigel Redmon  wrote:
>> > I'm pretty sure an instantaneous [audio] voltage (or a number in a
>> > stream of PCM values) represents a pressure differential, and not
>> > displacement.
>> 
>> This is one of those point-of-view things…I used the “usually” caveat for 
>> that reason…
>> 
>> You strike a drum, you displace the head, create a pressure wave because the 
>> room has air, the pressure wave displaces the conducer capsule membrane 
>> resulting in a change of capacitance, which is converted to a change in 
>> voltage, it’s amplifier and used to displace a speaker, which creates a 
>> pressure wave, which displaces your ear drum…
>> 
>> So, whether the electrical signal is of the displacement of the capsule 
>> membrane, or the pressure differential over time hitting it…ultimately we’re 
>> normally recording sound as it exists in the air, so you could rightly say 
>> the electrical signal is an analog of the pressure changes over time—or you 
>> could look at it on the electro-mechanical level and say we use the pressure 
>> to displace and element and record that displacement.
>> 
>> I guess how firmly you stick to one or the other depends on conventions 
>> you're used to. As an engineer, I see it as representing the displacement. 
>> The reason I view it that way is because I’m intimately aware of the masses 
>> involved with dynamic or condenser mics, and their shortcomings. So, I think 
>> of it as the mic diaphragm trying its best to approximate the changes in 
>> pressure, and we convert that displacement approximation to an electrical 
>> signal.
>> 
>> It’s probably easier to view the flip side, the speaker—so many reasons for 
>> a bad approximation; you need a big surface to move a lot of air, 
>> particularly for low frequencies, but a big surface has enough mass that it 
>> sucks for quicker changes so we split up the audio band; all the while the 
>> surfaces are flexing and the cabinet and surface attachments are messing 
>> with the attempt, and you wonder how the heck we manage to put something out 
>> that’s listenable ;-) Anyway, that’s why I view it as displacement; we’re 
>> trying like heck to make the displacement true, and the pressure changes 
>> follow (for speakers—the other way with a mic). It may be a different story 
>> with “plasma” approaches, I’m talking about our usual practical transducers.
>> 
>> 
>> > On Sep 30, 2017, at 1:37 PM, Ben Bradley  wrote:
>> >
>> > I'm pretty sure an instantaneous [audio] voltage (or a number in a
>> > stream of PCM values) represents a pressure differential, and not
>> > displacement. A loudspeaker driver in air (within its rated response)
>> > is constrained by the air, above its resonant frequency (at the low
>> > end of its frequency range - for a woofer, this would be near the
>> > resonant frequency of a ported bass cabinet). Below its resonant
>> > frequency the output is a position proportional to voltage or current,
>> > but the coupling efficiency to the air goes down with frequency, so
>> > this isn't a good operating range. A woofer with a 1Hz input is going
>> > to have the same displacement as with a 0.1Hz input at the same
>> > voltage, because it doesn't have good coupling to the air at such low
>> > frequencies.
>> >
>> > A speaker in air (operating 

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-10-01 Thread Renato Fabbri
tx for the infos and thoughts.

I am getting the same difficulty when I
look at texts in the subject.

Making the question very objective,
is anyone able to state very briefly if
LPCM samples 1000, 5, 500, 70
will be converted by a loudspeaker
into displacements proportional to such
values or to pressure (differentials)?

I mean, if the samples are constant,
say 6000, the speaker surface is displaced
an amount proportional to 6000 and
stays there until the samples end.
That is displacement, right?

Apologies if I am trying to hard to
keep things too simple, but
I believe that there might be
a simple answer.
(Although probably not if we
think also about what is input
by mics.)



On Sat, Sep 30, 2017 at 6:40 PM, Nigel Redmon  wrote:

> > I'm pretty sure an instantaneous [audio] voltage (or a number in a
> > stream of PCM values) represents a pressure differential, and not
> > displacement.
>
> This is one of those point-of-view things…I used the “usually” caveat for
> that reason…
>
> You strike a drum, you displace the head, create a pressure wave because
> the room has air, the pressure wave displaces the conducer capsule membrane
> resulting in a change of capacitance, which is converted to a change in
> voltage, it’s amplifier and used to displace a speaker, which creates a
> pressure wave, which displaces your ear drum…
>
> So, whether the electrical signal is of the displacement of the capsule
> membrane, or the pressure differential over time hitting it…ultimately
> we’re normally recording sound as it exists in the air, so you could
> rightly say the electrical signal is an analog of the pressure changes over
> time—or you could look at it on the electro-mechanical level and say we use
> the pressure to displace and element and record that displacement.
>
> I guess how firmly you stick to one or the other depends on conventions
> you're used to. As an engineer, I see it as representing the displacement.
> The reason I view it that way is because I’m intimately aware of the masses
> involved with dynamic or condenser mics, and their shortcomings. So, I
> think of it as the mic diaphragm trying its best to approximate the changes
> in pressure, and we convert that displacement approximation to an
> electrical signal.
>
> It’s probably easier to view the flip side, the speaker—so many reasons
> for a bad approximation; you need a big surface to move a lot of air,
> particularly for low frequencies, but a big surface has enough mass that it
> sucks for quicker changes so we split up the audio band; all the while the
> surfaces are flexing and the cabinet and surface attachments are messing
> with the attempt, and you wonder how the heck we manage to put something
> out that’s listenable ;-) Anyway, that’s why I view it as displacement;
> we’re trying like heck to make the displacement true, and the pressure
> changes follow (for speakers—the other way with a mic). It may be a
> different story with “plasma” approaches, I’m talking about our usual
> practical transducers.
>
>
> > On Sep 30, 2017, at 1:37 PM, Ben Bradley 
> wrote:
> >
> > I'm pretty sure an instantaneous [audio] voltage (or a number in a
> > stream of PCM values) represents a pressure differential, and not
> > displacement. A loudspeaker driver in air (within its rated response)
> > is constrained by the air, above its resonant frequency (at the low
> > end of its frequency range - for a woofer, this would be near the
> > resonant frequency of a ported bass cabinet). Below its resonant
> > frequency the output is a position proportional to voltage or current,
> > but the coupling efficiency to the air goes down with frequency, so
> > this isn't a good operating range. A woofer with a 1Hz input is going
> > to have the same displacement as with a 0.1Hz input at the same
> > voltage, because it doesn't have good coupling to the air at such low
> > frequencies.
> >
> > A speaker in air (operating within its intended frequency range) is
> > like an oar in water. You can move it back and forth very far of
> > you're doing it at a slow enough rate (low enough frequency). If you
> > do it at a higher frequency, it takes more force to move it back and
> > forth the same distance. If you use the same force, you end up moving
> > back and forth a smaller distance due to the "strong coupling" of the
> > oar to the water. This is how a speaker cone sees the air, and shows
> > how cone displacement goes down as frequency goes up, even though the
> > acoustic energy is the same. The voltage is proportional to
> > [differential] pressure, and not (as one might easily believe, and
> > probably some books say!) displacement.
> >
> > Regarding phase, as displacement is the integral of pressure,
> > displacement goes down with an increase in frequency, and there's a
> > phase shift between pressure and displacement. I vaguely recall that
> > the integral of a cosine is a sine, so there's a 90 degree (or pi/2,
> > not pi/4 - you're perhaps thinking of 1/4 

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Nigel Redmon
> I'm pretty sure an instantaneous [audio] voltage (or a number in a
> stream of PCM values) represents a pressure differential, and not
> displacement.

This is one of those point-of-view things…I used the “usually” caveat for that 
reason…

You strike a drum, you displace the head, create a pressure wave because the 
room has air, the pressure wave displaces the conducer capsule membrane 
resulting in a change of capacitance, which is converted to a change in 
voltage, it’s amplifier and used to displace a speaker, which creates a 
pressure wave, which displaces your ear drum…

So, whether the electrical signal is of the displacement of the capsule 
membrane, or the pressure differential over time hitting it…ultimately we’re 
normally recording sound as it exists in the air, so you could rightly say the 
electrical signal is an analog of the pressure changes over time—or you could 
look at it on the electro-mechanical level and say we use the pressure to 
displace and element and record that displacement.

I guess how firmly you stick to one or the other depends on conventions you're 
used to. As an engineer, I see it as representing the displacement. The reason 
I view it that way is because I’m intimately aware of the masses involved with 
dynamic or condenser mics, and their shortcomings. So, I think of it as the mic 
diaphragm trying its best to approximate the changes in pressure, and we 
convert that displacement approximation to an electrical signal.

It’s probably easier to view the flip side, the speaker—so many reasons for a 
bad approximation; you need a big surface to move a lot of air, particularly 
for low frequencies, but a big surface has enough mass that it sucks for 
quicker changes so we split up the audio band; all the while the surfaces are 
flexing and the cabinet and surface attachments are messing with the attempt, 
and you wonder how the heck we manage to put something out that’s listenable 
;-) Anyway, that’s why I view it as displacement; we’re trying like heck to 
make the displacement true, and the pressure changes follow (for speakers—the 
other way with a mic). It may be a different story with “plasma” approaches, 
I’m talking about our usual practical transducers.


> On Sep 30, 2017, at 1:37 PM, Ben Bradley  wrote:
> 
> I'm pretty sure an instantaneous [audio] voltage (or a number in a
> stream of PCM values) represents a pressure differential, and not
> displacement. A loudspeaker driver in air (within its rated response)
> is constrained by the air, above its resonant frequency (at the low
> end of its frequency range - for a woofer, this would be near the
> resonant frequency of a ported bass cabinet). Below its resonant
> frequency the output is a position proportional to voltage or current,
> but the coupling efficiency to the air goes down with frequency, so
> this isn't a good operating range. A woofer with a 1Hz input is going
> to have the same displacement as with a 0.1Hz input at the same
> voltage, because it doesn't have good coupling to the air at such low
> frequencies.
> 
> A speaker in air (operating within its intended frequency range) is
> like an oar in water. You can move it back and forth very far of
> you're doing it at a slow enough rate (low enough frequency). If you
> do it at a higher frequency, it takes more force to move it back and
> forth the same distance. If you use the same force, you end up moving
> back and forth a smaller distance due to the "strong coupling" of the
> oar to the water. This is how a speaker cone sees the air, and shows
> how cone displacement goes down as frequency goes up, even though the
> acoustic energy is the same. The voltage is proportional to
> [differential] pressure, and not (as one might easily believe, and
> probably some books say!) displacement.
> 
> Regarding phase, as displacement is the integral of pressure,
> displacement goes down with an increase in frequency, and there's a
> phase shift between pressure and displacement. I vaguely recall that
> the integral of a cosine is a sine, so there's a 90 degree (or pi/2,
> not pi/4 - you're perhaps thinking of 1/4 of a complete wave) phase
> shift between these two. But a dynamic microphone does the exact
> inverse of a speaker, so the sound-to-sound conversion actually works
> out without a phase shift. Even presuming a condenser mic does this
> phase shift (I can't quite visualize how or whether it does offhand),
> human ears are almost completely insensitive to phase shift vs.
> frequency, so in practice it doesn't matter.
> 
> 
> On Sat, Sep 30, 2017 at 3:39 PM, Stefan Sullivan
>  wrote:
>> 
>> so there might be a phase
>> offset between the recorded
>> and the reproduced sound.
>> 
>> 
>> Ah, I think I might be understanding your question more intuitively. Is your
>> question about positive voltages from microphones being represented as one
>> direction of displacement, whereas the positive voltages from speakers being
>> represented as the opposite 

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Ben Bradley
I'm pretty sure an instantaneous [audio] voltage (or a number in a
stream of PCM values) represents a pressure differential, and not
displacement. A loudspeaker driver in air (within its rated response)
is constrained by the air, above its resonant frequency (at the low
end of its frequency range - for a woofer, this would be near the
resonant frequency of a ported bass cabinet). Below its resonant
frequency the output is a position proportional to voltage or current,
but the coupling efficiency to the air goes down with frequency, so
this isn't a good operating range. A woofer with a 1Hz input is going
to have the same displacement as with a 0.1Hz input at the same
voltage, because it doesn't have good coupling to the air at such low
frequencies.

A speaker in air (operating within its intended frequency range) is
like an oar in water. You can move it back and forth very far of
you're doing it at a slow enough rate (low enough frequency). If you
do it at a higher frequency, it takes more force to move it back and
forth the same distance. If you use the same force, you end up moving
back and forth a smaller distance due to the "strong coupling" of the
oar to the water. This is how a speaker cone sees the air, and shows
how cone displacement goes down as frequency goes up, even though the
acoustic energy is the same. The voltage is proportional to
[differential] pressure, and not (as one might easily believe, and
probably some books say!) displacement.

Regarding phase, as displacement is the integral of pressure,
displacement goes down with an increase in frequency, and there's a
phase shift between pressure and displacement. I vaguely recall that
the integral of a cosine is a sine, so there's a 90 degree (or pi/2,
not pi/4 - you're perhaps thinking of 1/4 of a complete wave) phase
shift between these two. But a dynamic microphone does the exact
inverse of a speaker, so the sound-to-sound conversion actually works
out without a phase shift. Even presuming a condenser mic does this
phase shift (I can't quite visualize how or whether it does offhand),
human ears are almost completely insensitive to phase shift vs.
frequency, so in practice it doesn't matter.


On Sat, Sep 30, 2017 at 3:39 PM, Stefan Sullivan
 wrote:
>
> so there might be a phase
> offset between the recorded
> and the reproduced sound.
>
>
> Ah, I think I might be understanding your question more intuitively. Is your
> question about positive voltages from microphones being represented as one
> direction of displacement, whereas the positive voltages from speakers being
> represented as the opposite displacement? To be honest I'm not sure what the
> convention is here, but there must be an industry-wide convention or even
> one speaker manufacturer to the next might be phase incoherent? I actually
> don't know the answer here, but maybe somebody else on the list does?
>
> It is worth pointing out that Nigel is right about phase being frequency
> dependent. Even the mechanical system has dynamic components that have a
> frequency response, which means their phase response could be nonlinear,
> which transducer engineers would either need to compensate for with other
> reactive mechanical components, or with the electrical components, or DSP.
>
> Interestingly, the acoustical and mechanical systems of transducers can be
> modeled as electrical circuit complements themselves. I assume that all
> speaker/microphone manufacturers model their systems this way, but again
> it's not actually my industry so I can't speak to what actually happens.
> Marshall Leach has a really good book on the subject:
> https://he.kendallhunt.com/product/introduction-electroacoustics-and-audio-amplifier-design
>
> Stefan
>
>
> ___
> dupswapdrop: music-dsp mailing list
> [email protected]
> https://lists.columbia.edu/mailman/listinfo/music-dsp
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp



Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Stefan Sullivan
so there might be a phase
offset between the recorded
and the reproduced sound.


Ah, I think I might be understanding your question more intuitively. Is
your question about positive voltages from microphones being represented as
one direction of displacement, whereas the positive voltages from speakers
being represented as the opposite displacement? To be honest I'm not sure
what the convention is here, but there must be an industry-wide convention
or even one speaker manufacturer to the next might be phase incoherent? I
actually don't know the answer here, but maybe somebody else on the list
does?

It is worth pointing out that Nigel is right about phase being frequency
dependent. Even the mechanical system has dynamic components that have a
frequency response, which means their phase response could be nonlinear,
which transducer engineers would either need to compensate for with other
reactive mechanical components, or with the electrical components, or DSP.

Interestingly, the acoustical and mechanical systems of transducers can be
modeled as electrical circuit complements themselves. I assume that all
speaker/microphone manufacturers model their systems this way, but again
it's not actually my industry so I can't speak to what actually happens.
Marshall Leach has a really good book on the subject:
https://he.kendallhunt.com/product/introduction-electroacoustics-and-audio-amplifier-design

Stefan
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Richard Dobson
There are two basic types: pressure tranducers (omni, cardioid) and 
velocity or pressure-gradient (ribbon, figure-of-eight). The (bipolar) 
output signal is the electrical analogue of the changing acoustic 
pressure. There are also more exotic particle velocity transducers such 
as the Microflown.


Richard Dobson

On 30/09/2017 17:03, Renato Fabbri wrote:

I am not finding this information clearly.

BTW. microphones capture amplitude or displacement
or it depends?

--
Renato Fabbri
GNU/Linux User #479299
labmacambira.sourceforge.net 


___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp


___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp



Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Nigel Redmon
> I think mics usually converts
> pressure into voltage,

A Stefan pointed out, it’s really pressure to displacement to voltage (usually 
via capacitance or induction). A dynamic mic is basically a backwards speaker. 
It’s easy enough to see that a speaker converts voltage to deflection, which 
converts to pressure in the presence of air. You can shout into a speak (the 
smaller the better), and it will convert those air pressure waves to 
deflection, which will induce a small voltage that you’d want to run into a 
preamp—that’s a dynamic mic. With a condenser (another name for a capacitor) 
mic, the deflection of a membrane changes capacitance, which in turn changes a 
voltage.

> so there might be a phase
> offset between the recorded
> and the reproduced sound. 

Not 100% sure what you’re getting at, but it would really be a time offset. 
Phase is frequency-relative thing. I might be misunderstanding your point.


> On Sep 30, 2017, at 11:11 AM, Renato Fabbri  wrote:
> 
> I thinks I get it.
> But, as the samples are converted to analog signal
> and then sent to speakers,
> it seems reasonable to assume that there
> is a convention.
> 
> Probably displacement?
> 
> At the same time,
> I think mics usually converts
> pressure into voltage,
> which would lead to PCM samples
> that represent pressure.
> 
> One is proportional to the other,
> with a pi/4 phase difference,
> so there might be a phase
> offset between the recorded
> and the reproduced sound. (?? yes?)
> 
> My motivation is to know the fundamentals
> as I often read and write about audio and music
> (as an academic).
> 
> tx.
> R.
> 
> 
> 
> On Sat, Sep 30, 2017 at 2:24 PM, Nigel Redmon  > wrote:
> PCM audio samples usually represent an analog voltage, so, whatever the 
> analog voltage represents.
> 
> A mic usually converts pressure into displacement, and the displacement into 
> an analog voltage.
> 
> Sorry if I’m missing something, due to not understanding your motivation for 
> the questions.
> 
> The PCM samples themselves are a Pulse Code Modulated representation of the 
> analog voltage over time. If you want to understand that part better,
> 
> http://www.earlevel.com/main/tag/sampling-theory-series/?order=ASC 
> 
> 
> 
>> On Sep 30, 2017, at 9:03 AM, Renato Fabbri > > wrote:
>> 
>> I am not finding this information clearly.
>> 
>> BTW. microphones capture amplitude or displacement
>> or it depends?
>> 
>> -- 
>> Renato Fabbri
>> GNU/Linux User #479299
>> labmacambira.sourceforge.net 
> 
> ___
> dupswapdrop: music-dsp mailing list
> [email protected] 
> https://lists.columbia.edu/mailman/listinfo/music-dsp 
> 
> 
> 
> 
> -- 
> Renato Fabbri
> GNU/Linux User #479299
> labmacambira.sourceforge.net 
> ___
> dupswapdrop: music-dsp mailing list
> [email protected]
> https://lists.columbia.edu/mailman/listinfo/music-dsp

___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Stefan Sullivan
Acoustic transducers (aka microphones and speakers) would be a good keyword
for finding more technical information. They convert pressure differentials
(not pressure per se) to +/- voltage. The pressure is change relative to a
baseline, which is usually right around 1 atmosphere (although it doesn't
matter to the functioning of the transducer). The means of doing so depends
on the type of microphone/speaker. The ADC/DAC converts between whatever
digital representation (usually LPCM iiuc) and analog voltages.

I guess it's a pedantic distinction between pressure and pressure
differentials, but I think understanding the flow of changes in
representation is intuitively meaningful. Each component is responsible for
understanding both representations.

Acoustic pressure waves <=> mechanical motion <=> electrical signal <=>
digitally sampled signal

The microphone diaphragm or speaker come converts between mechanical motion
and acoustic pressure waves. The electrical components, usually either
capacitive or inductive components, convert to an electrical signal. The
ADC/DAC converts between a sampled digital signal and an electrical signal.

Hopefully that's actually helpful to your question.

Stefan


On Sep 30, 2017 11:12, "Renato Fabbri"  wrote:

> I thinks I get it.
> But, as the samples are converted to analog signal
> and then sent to speakers,
> it seems reasonable to assume that there
> is a convention.
>
> Probably displacement?
>
> At the same time,
> I think mics usually converts
> pressure into voltage,
> which would lead to PCM samples
> that represent pressure.
>
> One is proportional to the other,
> with a pi/4 phase difference,
> so there might be a phase
> offset between the recorded
> and the reproduced sound. (?? yes?)
>
> My motivation is to know the fundamentals
> as I often read and write about audio and music
> (as an academic).
>
> tx.
> R.
>
>
>
> On Sat, Sep 30, 2017 at 2:24 PM, Nigel Redmon 
> wrote:
>
>> PCM audio samples usually represent an analog voltage, so, whatever the
>> analog voltage represents.
>>
>> A mic usually converts pressure into displacement, and the displacement
>> into an analog voltage.
>>
>> Sorry if I’m missing something, due to not understanding your motivation
>> for the questions.
>>
>> The PCM samples themselves are a Pulse Code Modulated representation of
>> the analog voltage over time. If you want to understand that part better,
>>
>> http://www.earlevel.com/main/tag/sampling-theory-series/?order=ASC
>>
>>
>> On Sep 30, 2017, at 9:03 AM, Renato Fabbri 
>> wrote:
>>
>> I am not finding this information clearly.
>>
>> BTW. microphones capture amplitude or displacement
>> or it depends?
>>
>> --
>> Renato Fabbri
>> GNU/Linux User #479299
>> labmacambira.sourceforge.net
>>
>>
>>
>> ___
>> dupswapdrop: music-dsp mailing list
>> [email protected]
>> https://lists.columbia.edu/mailman/listinfo/music-dsp
>>
>
>
>
> --
> Renato Fabbri
> GNU/Linux User #479299
> labmacambira.sourceforge.net
>
> ___
> dupswapdrop: music-dsp mailing list
> [email protected]
> https://lists.columbia.edu/mailman/listinfo/music-dsp
>
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Renato Fabbri
I thinks I get it.
But, as the samples are converted to analog signal
and then sent to speakers,
it seems reasonable to assume that there
is a convention.

Probably displacement?

At the same time,
I think mics usually converts
pressure into voltage,
which would lead to PCM samples
that represent pressure.

One is proportional to the other,
with a pi/4 phase difference,
so there might be a phase
offset between the recorded
and the reproduced sound. (?? yes?)

My motivation is to know the fundamentals
as I often read and write about audio and music
(as an academic).

tx.
R.



On Sat, Sep 30, 2017 at 2:24 PM, Nigel Redmon  wrote:

> PCM audio samples usually represent an analog voltage, so, whatever the
> analog voltage represents.
>
> A mic usually converts pressure into displacement, and the displacement
> into an analog voltage.
>
> Sorry if I’m missing something, due to not understanding your motivation
> for the questions.
>
> The PCM samples themselves are a Pulse Code Modulated representation of
> the analog voltage over time. If you want to understand that part better,
>
> http://www.earlevel.com/main/tag/sampling-theory-series/?order=ASC
>
>
> On Sep 30, 2017, at 9:03 AM, Renato Fabbri 
> wrote:
>
> I am not finding this information clearly.
>
> BTW. microphones capture amplitude or displacement
> or it depends?
>
> --
> Renato Fabbri
> GNU/Linux User #479299
> labmacambira.sourceforge.net
>
>
>
> ___
> dupswapdrop: music-dsp mailing list
> [email protected]
> https://lists.columbia.edu/mailman/listinfo/music-dsp
>



-- 
Renato Fabbri
GNU/Linux User #479299
labmacambira.sourceforge.net
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Nigel Redmon
PCM audio samples usually represent an analog voltage, so, whatever the analog 
voltage represents.

A mic usually converts pressure into displacement, and the displacement into an 
analog voltage.

Sorry if I’m missing something, due to not understanding your motivation for 
the questions.

The PCM samples themselves are a Pulse Code Modulated representation of the 
analog voltage over time. If you want to understand that part better,

http://www.earlevel.com/main/tag/sampling-theory-series/?order=ASC 



> On Sep 30, 2017, at 9:03 AM, Renato Fabbri  wrote:
> 
> I am not finding this information clearly.
> 
> BTW. microphones capture amplitude or displacement
> or it depends?
> 
> -- 
> Renato Fabbri
> GNU/Linux User #479299
> labmacambira.sourceforge.net 
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp

[music-dsp] PCM audio amplitudes represent pressure or displacement?

2017-09-30 Thread Renato Fabbri
I am not finding this information clearly.

BTW. microphones capture amplitude or displacement
or it depends?

-- 
Renato Fabbri
GNU/Linux User #479299
labmacambira.sourceforge.net
___
dupswapdrop: music-dsp mailing list
[email protected]
https://lists.columbia.edu/mailman/listinfo/music-dsp