psiphi75/sonogram

Make to_buffer pub

Closed this issue · 1 comments

It will be useful to have Spectrogram.to_buffer public, as sometimes one would like to acess the data without saving to a file.
I currently need the db values as the to_csv provides, so i need to write to file, then read from file again.
Would be better if i just had the raw db values in a buffer.

Yes, you are right, it would make sense to expose to_buffer. Feel free to create a PR for this.