metalx1000

Image to Sound - spectrogram

May 3rd, 2021 (edited)
120
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Convert an image to Audio
  2. so that the image shows up in the
  3. spectrogram of the audio file
  4.  
  5. Use audacity to view image.
  6.  
  7. Use this website to convert an image to sound
  8. https://ojack.xyz/PIXELSYNTH/
  9.  
  10. Create Spectrogram
  11. ffmpeg -i audio.mp3 -lavfi showspectrumpic=s=800x400:mode=separate spectrogram.png
  12.  
  13. or if audio is in a wav format already
  14. sox audio.wav -n spectrogram -o spectrogram.png
  15.  
RAW Paste Data