Cats, The Musical! Algorithmic Song Meow-ification

Cats, The Musical! Algorithmic Song Meow-ification

How are you supposed to sing along with your favorite TV theme song every week if it doesn't have lyrics? At my house, we "meow" along (loudly). We also code, so I built 'Meowifier' to convert any song into a cat's meows. Join me in this exploration of melody analysis APIs and gratuitous cat gifs.
I built an application that takes a song's audio and outputs a new audio file with that song's melody **sung by cats**. It's a technical feat. It's hilarious. It's beautiful. It's a new way to waste time on the internet.

2ccd8593c0f2ac6c9b91ee79bff5b63f?s=128

Beth Haubert

August 02, 2018
Tweet

Transcript

  1. CATS, THE MUSICAL! ALGORITHMIC SONG MEOW-IFICATION Beth Haubert

  2. LIGHTBULB MOMENT(S) @haubertdashery

  3. @haubertdashery WTF, BETH? @haubertdashery

  4. @haubertdashery @haubertdashery LISTEN TO US! @haubertdashery

  5. @haubertdashery @haubertdashery HOW DOES IT WORK?

  6. FAMOUS MUSICAL CATS @haubertdashery @haubertdashery @haubertdashery

  7. @haubertdashery

  8. @haubertdashery @haubertdashery @haubertdashery HISTORICAL PRECEDENT

  9. @haubertdashery @haubertdashery PLUG AND PLAY CLASSES

  10. TESTING @haubertdashery @haubertdashery

  11. @haubertdashery @haubertdashery @haubertdashery THREE BIG CHALLENGES

  12. ⽄THE MELODY⽄ @haubertdashery

  13. SO… WHAT’D YOU DO? @haubertdashery

  14. FIRST TRY… @haubertdashery @haubertdashery

  15. @haubertdashery

  16. @haubertdashery

  17. @haubertdashery

  18. @haubertdashery @haubertdashery MIDI MAPPING

  19. @haubertdashery 36 KEYBOARD MAPPING

  20. @haubertdashery CONSTANTS

  21. None
  22. @haubertdashery

  23. @haubertdashery

  24. @haubertdashery

  25. @haubertdashery

  26. None
  27. NOTE LENGTH @haubertdashery

  28. DO AS LITTLE WORK AS POSSIBLE @haubertdashery

  29. FFMPEG @haubertdashery

  30. @haubertdashery

  31. None
  32. @haubertdashery

  33. @haubertdashery

  34. SHORT NOTES @haubertdashery

  35. note[“duration”] (analyzed note duration) note_to_adjust (meow audio file duration) 0.48

    seconds 1 second @haubertdashery
  36. note[“duration”] (analyzed note duration) note_to_adjust (meow audio file duration) 0.46

    seconds 0.48 seconds @haubertdashery
  37. LONG NOTES @haubertdashery

  38. @haubertdashery

  39. note_length (analyzed note duration) file_length (meow audio file duration) 2.46

    seconds 1 second @haubertdashery
  40. note_length (analyzed note duration) file_length (meow audio file duration) 2.46

    seconds 1 second 1 second 1 second @haubertdashery
  41. note_length (analyzed note duration) file_length (meow audio file duration) 2.46

    seconds 3 seconds @haubertdashery
  42. note_length (analyzed note duration) file_length (meow audio file duration) 2.46

    seconds 2.46 seconds @haubertdashery
  43. None
  44. @haubertdashery

  45. @haubertdashery

  46. MEOW LIBRARY @haubertdashery

  47. DO, RE, MI, FA, SO… @haubertdashery

  48. LA, TI, DOH! @haubertdashery

  49. None
  50. EASY ROAD @haubertdashery

  51. @haubertdashery

  52. @haubertdashery

  53. @haubertdashery

  54. @haubertdashery

  55. THE MOMENT YOU’VE ALL BEEN WAITING FOR…. @haubertdashery

  56. … @haubertdashery

  57. PROBLEMS @haubertdashery @haubertdashery @haubertdashery

  58. SECOND TRY @haubertdashery

  59. RELEASE FORM @haubertdashery

  60. @haubertdashery @haubertdashery THE COMMAND @haubertdashery

  61. YAASSS QUEEN @haubertdashery @haubertdashery

  62. NOPE @haubertdashery

  63. @haubertdashery MELODY EXTRACTION IS HARD Jazz Pop Opera @haubertdashery

  64. @haubertdashery @haubertdashery NOPE

  65. None
  66. IS IT PERFECT? @haubertdashery

  67. WHAT’S NEXT? @haubertdashery

  68. SHAZAM! @haubertdashery

  69. @haubertdashery

  70. None
  71. HTTPS://GITHUB.COM/BETHANYHAUBERT DEV.TO@BETHANYHAUBERT BETHANYHAUBERT.COM @HAUBERTDASHERY