Menu

#52 Python module: constrution Buffers & AudioStreams from Numpy arrays

None
new
nobody
enhancement (8)
3
2015-01-01
2013-12-24
Nick
No

1) Allow the creation of new Buffers and AudioStreams from Numpy arrays.

2) Add a call to convert Buffers and AudioStream to Numpy arrays.

Discussion

  • Nick

    Nick - 2013-12-25
    • None: 0.8.2 --> None
     
  • Nick

    Nick - 2013-12-27
    • status: open --> new
     
  • Chris Arndt

    Chris Arndt - 2014-07-11

    Yes, please!

     
  • Nick

    Nick - 2014-07-19
    • Priority: 5 --> 3
     
  • Nick

    Nick - 2014-07-19
    • None: None --> 0.9.2
     
  • Chris Arndt

    Chris Arndt - 2014-07-20

    You can convert between Nsound.Buffer/AduioStream and numpy.array quite easily already (see attached file with example code), but it performs very badly. I think numpy accesses Buffers/AudioStream passed to a np.array constructor through the iterator protocol and this goes through the get_at_index method, which is obviously very slow.

     
  • Nick

    Nick - 2015-01-01
    • None: 0.9.2 --> None
     

Log in to post a comment.

MongoDB Logo MongoDB