python - What is return type of read_frames() scikits audiolab? -


in scikits audiolab, i'm trying split audio's 2 channels in 2 different file, , observed read_frames method numbers looks list not exactly. , documentation not explicitly mention data type. looks like,

[[-0.25283813 -0.05990601]  [-0.28274536 -0.06542969]  [-0.30093384 -0.06890869]  ...,   [ 0.21939087  0.36206055]  [ 0.22756958  0.36981201]  [ 0.22592163  0.37960815]] 

what return type of read_frames()?

first, without documentation can print type(returned_value) , discover in case numpy.ndarray instance. of it, two-dimensional 1 lots of rows , 2 columns.

and documentation does mention type explicitly:

read given number of frames , put data numpy array of requested dtype.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -