You can use the modulo operation to go to the previous position... return (position - 1 + self.pattern_length) % self.pattern_length
@jdavibedoya
7 ай бұрын
Hi Valerio, thank you so much for this fantastic video. I wanted to ask if the line: part.insert(0, instrument.HiHatCymbal()) is meant to make the "part" a percussion instrument, or if it serves another purpose? Thanks again, greetings from Colombia.
@ValerioVelardoTheSoundofAI
7 ай бұрын
You're correct!
@AdrianFernandezFazio
9 ай бұрын
Great clean code!
@ValerioVelardoTheSoundofAI
9 ай бұрын
Thanks.
@llllllllllllllllllllllllll4345
9 ай бұрын
but where is demo ?...(
@ValerioVelardoTheSoundofAI
9 ай бұрын
You have the code in the description box.
@Kevoshea
9 ай бұрын
Very cool
@nikhilthapa9300
9 ай бұрын
Will you be covering SpecTNT anytime soon?
@ValerioVelardoTheSoundofAI
9 ай бұрын
No, I haven't planned to cover SpecTNT.
@nikhilthapa9300
9 ай бұрын
@ValerioVelardoTheSoundofAI Would love to see that in the near future. Thanks for everything you've done.
Пікірлер: 11