Re: Numpy combine channels

2012-11-10 Thread Dave Angel
On 11/09/2012 11:30 PM, Aahz wrote: > In article , > MRAB wrote: >> >> >> But should they be added together to make mono? >> >> Suppose, for example, that both channels have a maximum value. Their >> sum would be _twice_ the maximum. >> >> Therefore, I think that it should probably be the averag

Re: Numpy combine channels

2012-11-09 Thread Aahz
In article , MRAB wrote: >On 10/09/2012 20:39, Wanderer wrote: >> >> I have an array generated by audiolab of left and right stereo >> channels. It looks like [[1,1],[1,2],[2,3]]. I would like to combine >> the left and right channels to get an array [2,3,5]. Is there a numpy >> command to do tha

Re: Numpy combine channels

2012-09-10 Thread Wanderer
On Monday, September 10, 2012 4:14:18 PM UTC-4, Wanderer wrote: > On Monday, September 10, 2012 4:12:40 PM UTC-4, MRAB wrote: > > > On 10/09/2012 20:39, Wanderer wrote: > > > > > > > I have an array generated by audiolab of left and right stereo > > > > > > > channels. It looks like [[1,1],[

Re: Numpy combine channels

2012-09-10 Thread Wanderer
On Monday, September 10, 2012 4:12:40 PM UTC-4, MRAB wrote: > On 10/09/2012 20:39, Wanderer wrote: > > > I have an array generated by audiolab of left and right stereo > > > channels. It looks like [[1,1],[1,2],[2,3]]. I would like to combine > > > the left and right channels to get an array [2,

Re: Numpy combine channels

2012-09-10 Thread MRAB
On 10/09/2012 20:39, Wanderer wrote: I have an array generated by audiolab of left and right stereo channels. It looks like [[1,1],[1,2],[2,3]]. I would like to combine the left and right channels to get an array [2,3,5]. Is there a numpy command to do that? import numpy numpy.array([[1,1],[1,2

RE: Numpy combine channels

2012-09-10 Thread Nick Cash
> I have an array generated by audiolab of left and right stereo > channels. It looks like [[1,1],[1,2],[2,3]]. I would like to combine > the left and right channels to get an array [2,3,5]. Is there a numpy > command to do that? You may be over-thinking this, and numpy might not be necessary. A

Re: Numpy combine channels

2012-09-10 Thread Wanderer
On Monday, September 10, 2012 3:39:11 PM UTC-4, Wanderer wrote: > I have an array generated by audiolab of left and right stereo channels. It > looks like [[1,1],[1,2],[2,3]]. I would like to combine the left and right > channels to get an array [2,3,5]. Is there a numpy command to do that? > >

Numpy combine channels

2012-09-10 Thread Wanderer
I have an array generated by audiolab of left and right stereo channels. It looks like [[1,1],[1,2],[2,3]]. I would like to combine the left and right channels to get an array [2,3,5]. Is there a numpy command to do that? Thanks -- http://mail.python.org/mailman/listinfo/python-list