Re: [Numpy-discussion] arrayrange

2007-03-15 Thread Robert Kern
Miguel Oliveira, Jr. wrote: > Hi Eike! > > Yes, I did subscribe! Thanks once again for your reply... I'm sorry > but I don't know exactly what you mean... Do you think I should replace > t = arange(0, durSecs, 1.0/SRate) > by > t = linspace(0, durSecs, durSecs*SRate)? > > That won't work... *H

Re: [Numpy-discussion] arrayrange

2007-03-15 Thread Robert Kern
Miguel Oliveira, Jr. wrote: > Hi Robert, > > I'm expecting that the code generates a sine wave sound file in aiff > format... Apparently the code worked before when arrayrange() was > used... Then the problem lies somewhere else; a number of other things changed between Numeric and numpy. arr

Re: [Numpy-discussion] arrayrange

2007-03-15 Thread Miguel Oliveira, Jr.
Hi Robert, I'm expecting that the code generates a sine wave sound file in aiff format... Apparently the code worked before when arrayrange() was used... Thanks! M. On 14 Mar 2007, at 17:31, Robert Kern wrote: > Miguel Oliveira, Jr. wrote: >> Hello, >> >> I've got a few codes that use "arr

Re: [Numpy-discussion] arrayrange

2007-03-15 Thread Miguel Oliveira, Jr.
Hi Eike! Yes, I did subscribe! Thanks once again for your reply... I'm sorry but I don't know exactly what you mean... Do you think I should replace t = arange(0, durSecs, 1.0/SRate) by t = linspace(0, durSecs, durSecs*SRate)? That won't work... Maybe I am missing something?... The resulting f

Re: [Numpy-discussion] arrayrange

2007-03-14 Thread Eike Welk
I would use something like this: t = linspace(0, durSecs, durSecs*SRate) Do you know the 'Numpy Example List' http://www.scipy.org/Numpy_Example_List Regards Eike. PS: Ah, you did subscribe. ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

Re: [Numpy-discussion] arrayrange

2007-03-14 Thread Robert Kern
Miguel Oliveira, Jr. wrote: > Hello, > > I've got a few codes that use "arrayrange" within numpy. It happens > that the new version of numpy apparently doesn't recognize > "arrayrange"... I've tried to change it to "arange", but it doesn't > work... So, for example, the code below used to cr

[Numpy-discussion] arrayrange

2007-03-14 Thread Miguel Oliveira, Jr.
Hello, I've got a few codes that use "arrayrange" within numpy. It happens that the new version of numpy apparently doesn't recognize "arrayrange"... I've tried to change it to "arange", but it doesn't work... So, for example, the code below used to create a sine wave file, but it's not wo