[Numpy-discussion] arrayrange

Miguel Oliveira, Jr. miguel.oliveira.jr@gmail....
Thu Mar 15 04:08:45 CDT 2007

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  



On 14 Mar 2007, at 17:31, Robert Kern wrote:

> 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 create a sine wave
>> file, but it's not working anymore... Does anyone have any clue of
>> what may be a solution for this?
> arange() is the appropriate replacement for arrayrange(); arrayrange 
> () was just
> an alias to arange(). What did you expect it to do that it isn't  
> doing?
> -- 
> Robert Kern
> "I have come to believe that the whole world is an enigma, a  
> harmless enigma
>  that is made terrible by our own mad attempt to interpret it as  
> though it had
>  an underlying truth."
>   -- Umberto Eco
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

More information about the Numpy-discussion mailing list