I purchased course just waste of money they give me video without voice recorded and you explain every line of code So well highly appreciated hats off 👍 Thanks for putting so much ch effort. May Allah give you more
You can download a midi file for your song and use mido library from python to play each note. However, it's not suitable for this program particularly because there are exponentionally more collisions towards the ends. It wouldn't sound nice at all. A slower paced simulation would be more suitable.
Hey, just curious about how to add/create the draw function you used for the arc. For some reason it has not been working in my program. I imported math, pygame and numpy. Should I simply make the function and call it or is it already in existence? Edit: Never Mind, just saw it. Must have missed it accidentally! Thanks!
You can download a midi file for your song and use mido library from python to play each note. However, it's not suitable for this program particularly because there are exponentionally more collisions towards the ends. It wouldn't sound nice at all. A slower paced simulation would be more suitable.
@@LaiProgramming Ah! That would probably work with another version of this I was recently working on! (I was working on a version where the ball simply grows larger within the circle, thereby rendering the arc-part unnecessary, unless you want to see whether or not the ball can get out before it gets too big) The only issue I ran into was that everytime I tried to get the ball to only play the audio file when it hit the larger circle, it would play the same file everytime it hit. Which just sounds horrible, but maybe a midi file could help deal with that?
@@Orvellius Yes, there are 2 ways. 1. Use a typical mp3 but divide it into chunks then play each chunks on collisions 2. Use a midi file like I said, it will play each notes on collisions. I tried it on my pc, works wells, you can use chatgpt for help with this part.
Hello Dung Lai, this is the first comment for new channel
Thank you Nguyen Thai Hieu for your support! First comment in my channel.
This video was super interesting and of high quality! You definitely deserve more subscribers
Thank you !
I purchased course just waste of money they give me video without voice recorded and you explain every line of code So well highly appreciated hats off 👍 Thanks for putting so much ch effort. May Allah give you more
This is the clearest explanation I've ever seen. I can't wait to see more videos.
@@egepekgulec6387 thank you
Can you do a part 2 with song synchronization and sounds on collision?
Need 2nd part how to add sound.
Need 2nd part how to add sound.
Need 2nd part how to add sound.
You can download a midi file for your song and use mido library from python to play each note. However, it's not suitable for this program particularly because there are exponentionally more collisions towards the ends. It wouldn't sound nice at all. A slower paced simulation would be more suitable.
Really impressive, keep going Lai !
@@TAMCHUMINH thank you
you are a king, great video!!!!!
@@francescoruggeri933 thank you
Thank you bro really, thank you 🙏
Hey, just curious about how to add/create the draw function you used for the arc. For some reason it has not been working in my program. I imported math, pygame and numpy. Should I simply make the function and call it or is it already in existence?
Edit: Never Mind, just saw it. Must have missed it accidentally! Thanks!
@@Nairobin check out the code for each step I post on Github
W teacher
@@鷹-n7u thank you!!
and this is the second :D
Just curious, how would you add sound effects to the ball? Is it possible to add something like a song to it everytime it hit the circle?
You can download a midi file for your song and use mido library from python to play each note. However, it's not suitable for this program particularly because there are exponentionally more collisions towards the ends. It wouldn't sound nice at all. A slower paced simulation would be more suitable.
@@LaiProgramming Ah! That would probably work with another version of this I was recently working on! (I was working on a version where the ball simply grows larger within the circle, thereby rendering the arc-part unnecessary, unless you want to see whether or not the ball can get out before it gets too big) The only issue I ran into was that everytime I tried to get the ball to only play the audio file when it hit the larger circle, it would play the same file everytime it hit. Which just sounds horrible, but maybe a midi file could help deal with that?
@@Orvellius Yes, there are 2 ways.
1. Use a typical mp3 but divide it into chunks then play each chunks on collisions
2. Use a midi file like I said, it will play each notes on collisions. I tried it on my pc, works wells, you can use chatgpt for help with this part.
Uii, thầy tui nè
Huhu năm ngoái e bảo định qua Deakin với thầy, nmà e bị đưa qua Macquarie rùi 😞
@@karreevn9085 goodluck in macquarie
How did you make the video? :)) Did you do a voice-over or did you record a brand new one in English?
@@gamerzilc5884 it's a new video, idea and code is the same so It's a bit faster
Hi teacher
@@SummerChill-SC hello
This is the third one XD
W Ai rizz
@@shandorbiczok7844 Looking to see the progress on your assignment soon. Data should very processed by now for training using lstm.
W teacher
@@viaticalbow9300 thank you