ixobert / birds-generation

11 stars 1 forks source link

feature request: API for generating audio #17

Open sammlapp opened 4 months ago

sammlapp commented 4 months ago

could a simple API be implemented to generate audio files rather than .npy files of spectrograms, by applying a spectrogram to audio transformation?

sammlapp commented 4 months ago

I implemented this as well as a class with a pythonic API in a fork https://github.com/sammlapp/birds-generation/blob/master/src/sample_generator.py

let me know if you would be interested in adding this API or some version of it

one note: I'm using linear instead of mel spectrogram to ease in re-creating audio from the decoded image