Пікірлер
@lance-or1eg
@lance-or1eg Ай бұрын
This is freaking cool! I have already tried your solution and it works like a charm! But I wonder if it is possible to call Unity and SDK APIs in rust? It looks like it is quite difficult to achieve from what I have researched so far.
@MichaelLevAstro
@MichaelLevAstro Ай бұрын
Very cool explanations, really gave me an awesome start to developing some midi music in unity. Though the original video is very good, the leap from that to trying to implement something like this is fairly large. Would love to see a breakdown of how multiple notes are handled (right now i separated then to multiple synth generators per note, seems like a very wasteful solution) Also envelop and filters could be nice for a future video. Keep it up this is awesome!
@moonyl5341
@moonyl5341 2 ай бұрын
good video but i was expecting something like in the game proteus
@forrestgump8312
@forrestgump8312 4 ай бұрын
Hi, I've been a teacher for 5+ years trying to make educational videos interesting for kids around this topic blabla... but THIS VIDEO... ... 30 seconds in... .. THIS FORMAT.. .. IT WORKS .. you found it sir, the perfect balance between too much and too little educational vs entertaining 50/50 enjoyable and instructable VERY good job whoever you are! PS. this is the first video I've seen from you hope the others arent shit :D
@badjano
@badjano 4 ай бұрын
unsure what are the benfits, I usually create DLLs with Rider and C#
@blepr
@blepr 4 ай бұрын
5:53 comic mono?
@rhedgeco
@rhedgeco 4 ай бұрын
@@blepr good eye!
@dob19
@dob19 4 ай бұрын
3:47 I swear that is like the wind
@neko-lover3242
@neko-lover3242 5 ай бұрын
You are insane!
@MrKickphlipp
@MrKickphlipp 5 ай бұрын
This is incredibly good! I am pretty new to Unity and was investigating synthesis here for a music game. Lovely - you saved me so much time with very educating video :) Thank you!
@jamesbland5082
@jamesbland5082 5 ай бұрын
This is incredible!!
@stephenmcconnell7868
@stephenmcconnell7868 5 ай бұрын
I am on a Mac. How do I do this without C#?
@rhedgeco
@rhedgeco 5 ай бұрын
This is a unity engine tutorial. Unity engine and C# work on Mac computers. There should be no problems related to operating systems
@maxjacobs9980
@maxjacobs9980 6 ай бұрын
Just discovered your channel and I am surprised to see how undiscovered you currently are. Keep it up! You're going to blow up, I can feel it! Your visual aids were very helpful for me in understanding what you were discussing about the components of synthesized waveforms. You made it as simple as possible, but not to the point of losing the fidelity of what you're trying to convey and that is a testament to your understanding of the subject. I subscribed and I look forward to your future content. Best of luck to your endeavors!
@rhedgeco
@rhedgeco 6 ай бұрын
Wow what a raving review! Thanks for the encouragement! 😁 I just finished a huge milestone in my studies so I definitely plan to make more content on my work soon!
@5374seth
@5374seth 6 ай бұрын
This is a great video! Loving the animations and the energy! It sort of feels like you might still need a background in music theory or some intuition to make it all come together in a nice-sounding way as it seems like you "just know" which chords and progression to use? Do you have any recommendations for resources? Thanks for blessing us with the amazing video!
@rhedgeco
@rhedgeco 6 ай бұрын
Honestly I don't have a background in music at all lol. You can do a lot with just simple chords! I made music for a bit in FL Studio and just played around with that. Music production KZbin is full of useful people and tutorials
@chriswooohoo4518
@chriswooohoo4518 6 ай бұрын
"Something that makes a good software engineer is knowing you're a bad software engineer" - I've never heard anything more true than this. Am software engineer working for 6+years now. Subbed.
@ryanlockhart5328
@ryanlockhart5328 6 ай бұрын
You basically made a smart pointer.
@rhedgeco
@rhedgeco 6 ай бұрын
Yep pretty much lol
@Temasdin
@Temasdin 6 ай бұрын
Holy what a great quality content out of nowhere!
@KentBrakewell
@KentBrakewell 7 ай бұрын
I was excited to try this - I cloned your repo origin/main as of 2023-11-10 but I'm getting compiler errors in the Synthic.Handlers classes upon opening the project in the Unity editor. "error CS0234: The type or namespace name 'Native' does not exist in the namespace 'Synthic' (are you missing an assembly reference?)". It feels like the Rust code needs to be compiled to reference "Lib", but I'm totally guessing and have never compiled Rust code. Any tips you can provide will be very appreciated!
@rhedgeco
@rhedgeco 7 ай бұрын
I probably need to put a note of this somewhere. But the original synthic did not use rust. So if you want to try out the version used in this video. Check out the old-synthic branch. Let me know if that helps!
@KentBrakewell
@KentBrakewell 7 ай бұрын
@@rhedgeco thank you, I will give that a shot! Are there performance differences between the two?
@rhedgeco
@rhedgeco 7 ай бұрын
@@KentBrakewell Nothing that should be noticable. Plus the rust version is more incomplete anyways. Should probably make the rust version an off branch instead of main
@TotallyNotInspired
@TotallyNotInspired 7 ай бұрын
You will definitely blow up, love your video
@soma_donat
@soma_donat 8 ай бұрын
Are you going to make a DAW or a synthesizer in Unity with this?
@rhedgeco
@rhedgeco 6 ай бұрын
That would be really cool, but currently I don't have plans to do so. I've been more interested in more dynamic music based games.
@subject2749
@subject2749 8 ай бұрын
Great video! I wish you the best of luck with the KZbin algorithm...
@stevethepirate
@stevethepirate 9 ай бұрын
wow man this is really advanced. how do you think you would approach creating a standalone drum program that exports the tracks after the drum parts have been mapped out in an interactive way similar to a drum plugin? i doubt a unity app could plug into a daw so i think unity would need to export wave files as separate tracks of the drum kit.
@rhedgeco
@rhedgeco 6 ай бұрын
Yeah unfortunately unity does not have a lot of good ways of embedding itself into another app which would stop you from building your own VST plugin with it. But you could create a VST that relies on another process and uses whatever your choice of IPC to talk to your unity program.
@nicholaskihara3539
@nicholaskihara3539 9 ай бұрын
Great vid, was majorly theory, hopefully you could make a practical vid/series where we(audience) code with you, with all the depth into optimization
@messapatingy
@messapatingy 9 ай бұрын
Cool video - Not much of a "How To" more of an "I can"
@rhedgeco
@rhedgeco 6 ай бұрын
Sorry it came off like that. It was meant as a follow up to my previous video where I dive into the code behind creating waveforms and then explain here how waveforms create music.
@koenfrontatie
@koenfrontatie 9 ай бұрын
Hey thanks for this great video! Eager to watch more
@audefimusic
@audefimusic 10 ай бұрын
I would like to create my procedural music based on your code, I know music theory and a little of coding, but this level is insane
@Xeros08
@Xeros08 10 ай бұрын
How did you get that channels bar (The green dynamic bar that shows on play)? Just curious
@rhedgeco
@rhedgeco 10 ай бұрын
It happened by default in previous unity versions. They took it out for some reason. There are some hacks I've seen to bring it back though
@MisterXeolan
@MisterXeolan 10 ай бұрын
Very informational and presentation is amazing. Your videos really helped me get started with my procedural music and sound generation. Thank you so much for this guide!
@rhedgeco
@rhedgeco 10 ай бұрын
Thats great to hear! I hope you have an awesome time building 😎
@anphanuc2542
@anphanuc2542 11 ай бұрын
I need help with java native plugin ;((
@edbrito-swdev
@edbrito-swdev 11 ай бұрын
Your videos are really well done and this topic is super interesting for me. I hope you do more videos on the subject!
@BlackJar72
@BlackJar72 11 ай бұрын
I didn't know C# even had this -- though it doesn't sound that scary if you learned C++ before C#. Learning what assemblies are and how to make them might be the next step, since I'm still relatively new to C# and have seen the term thrown around without a real explanation, while C++ and Java lack them (at least in the versions I learned, I'm a bit behind the times with those languages now).
@Albileon
@Albileon 11 ай бұрын
Apparently I'm your 1000th subscriber, congrats on the milestone of 1k subs! Great videos
@rhedgeco
@rhedgeco 11 ай бұрын
Holy smokes that was fast! Thank you so much for your support! I better step up my game and get my next video out soon so you all have some new content 😅
@nathanbarraud4349
@nathanbarraud4349 11 ай бұрын
Very nice ! Amazing quality channel, thank you and well done !!
@pepinzachary
@pepinzachary Жыл бұрын
This is hilarious lmao
@rhedgeco
@rhedgeco Жыл бұрын
Glad you liked it 😁
@pepinzachary
@pepinzachary Жыл бұрын
@@rhedgeco What are your plans with boba? :)
@rhedgeco
@rhedgeco Жыл бұрын
@@pepinzachary It's been a huge testing ground for me. Ultimately my goal is to make games in my own engine, instead of relying on unity.
@lemetamax
@lemetamax Жыл бұрын
I actually understand this video perfectly. Nicely done!
@rhedgeco
@rhedgeco Жыл бұрын
Thanks! I'm glad it was easily digestible!
@SteelyEyedH
@SteelyEyedH Жыл бұрын
Is there any issue getting games through iOS/android App Store approval when using unsafe code?
@rhedgeco
@rhedgeco Жыл бұрын
When uploading to app stores, they do not look at your code. They only care if the app works as advertised. So any usage of unsafe code is fine, as long as it doesn't crash your program or make it behave in an unexpected way.
@mikeflower3308
@mikeflower3308 Жыл бұрын
using puredata is also another solution
@VenRune
@VenRune Жыл бұрын
Very enlightening video, thanks. I did some work and found that if I use the OnAudioFilterRead to implement some procedural sound effects, such as playing the MiddleC sound when the keyboard is pressed. But I found that due to the different scheduling logic of OnUpdate and OnAudioFilterRead, there is an obvious delay from key press to sound playback. Is this implement not suitable for interactive sound effects?
@rhedgeco
@rhedgeco 11 ай бұрын
Interesting that you found the delay noticeable. In my experience even if it takes a while frame to register the key press and set the audio it's only a 16ms delay. How long is the delay for you?
@darcking99
@darcking99 Жыл бұрын
? What's the purpose of this?
@sovio4280
@sovio4280 Жыл бұрын
How can i contact you? Insta or something?
@rhedgeco
@rhedgeco Жыл бұрын
My email is linked in a few places like on my GitHub. I just don't actively advertise it on my KZbin so I don't get too much spam
@AceBillions
@AceBillions Жыл бұрын
You are good at explaining.
@rhedgeco
@rhedgeco Жыл бұрын
Thank you! Try my best 😁
@YggdrasSoftGaming
@YggdrasSoftGaming Жыл бұрын
Hey so.... how could I duplicate that beat at 5:38 in the video, like code wise.... no reason >.>
@rhedgeco
@rhedgeco Жыл бұрын
Well I have a previous video going over a starter framework for generating sounds. I have a more advanced one I'm working on now so either do some exploring or wait for me to release my new one! 😁
@firezenk
@firezenk Жыл бұрын
How did you show the latency in the script component? Nice video BTW!
@rhedgeco
@rhedgeco Жыл бұрын
It just happened by default in the unity version I was using at the time when the script had a OnAudioFilterRead method. Seems like it doesn't now which is a bug. There are a few workarounds if you look it up on Google lol
@chocholatebunny
@chocholatebunny Жыл бұрын
This is such an elegant tutorial, subbed and want more
@FlyhyTheWizard
@FlyhyTheWizard Жыл бұрын
This was so fucking cool! Hope you make more videos in the future.
@rhedgeco
@rhedgeco Жыл бұрын
Thank you! I'm working on some big stuff right now! 😁
@jangebert6088
@jangebert6088 Жыл бұрын
Great video! I followed along very well an sparked lots of ideas! :D For those who do not want/can use the burst compiler, you can precalculate the sinewave for example and store it in an array and read from there. I have to check how this interacts with filters and such, but I got similar or better performance as with burst compiler and its super easy to implement :)
@rhedgeco
@rhedgeco Жыл бұрын
Thanks for the comment! That is definitely a good way to go. In fact, I have a synth filter that caches the input from a runtime synth that does pretty much exactly this! If the data you are using for sounds can be prerendered, it's always a good idea to do so. Great tip! Glad you are enjoying my content 😁
@His-Games
@His-Games Жыл бұрын
Lovely two videos! I'd love to see you do something not accomplishable in a DAW next - like tying in proc music into a game somehow.