Alright, sohieverybody, it's me, Cary C- Now, I'vealwaysthoughtofmyselfas a musicalperson.
Isn't itamazing?
No, noCary, thatisn't amazing.
Anyway, giventhat I'veusedAItocomposeBaroquemusic, And I'veusedAItocomposejazzmusic, I thinkitjustmakessenseformetofastforwardthemusicalclockanother 60 yearstocomposesomerapmusic.
Butbefore I dothat, I gottagivecredittoSirajRaval, whoactuallydidthisfirst.
Patternsshorterthan a sentencearereplicatedprettywell, butanythinglongeris a bitiffy.
Thereare a fewone-linersthatcameoutright, like, Thelinesthatare a littlewonky, like, Oh, I alsolikeitwhenitswitchesintoshriekingmode, butanyway, wecanfinallyfeedthisintoGoogle's text-to-speechtohearitraponceandforall.
Holdon, thatwasactuallyprettybad.
Theissuehereiswegaveourprogramnowaytoimplementrhythm, which, inmyopinion, isthemostimportantelementtomaking a rapflow.
Sohowdoweimplementthisrhythm?
Well, thisisthetwist I mentionedearlierinthevideo.
There's twomethods.
Methodonewouldbetomanuallytime-stretchandtime-squishsyllablestomatch a pre-pickedrhythmusingsomeaudio-editingsoftware.
Forthis, I pickedmybrother's song, 3,000 Subbies, and I alsousedMelodynetoauto-tuneeachsyllabletotherightpitchsoit's moreof a song. ooooooooooooAlthough, that's notrequiredforrap.
So, I added a rulethatchecksifthenextbookinlinewillotherwiserunthroughthebigdownbeat, andifso, itwillinsteadwaitforthatbigdownbeattostartbeforespeaking.