soumith / lua---audio

Module for torch to support audio i/o as well as do common operations like dFFT, generate spectrograms etc.
Other
67 stars 15 forks source link

I've saved the 'spect' image, but there is just white-banded image. #18

Open bemoregt opened 7 years ago

bemoregt commented 7 years ago

I've saved the 'spect' image, but there is just white-banded image.

following your spectrogram example code ..

What's wrong with me ?

Jeff-Ding commented 7 years ago

The save function expects tensor values between 0 and 1 so you'll have to normalize your spectrogram data.

bemoregt commented 7 years ago

A ha~ Thanks ~