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Ай бұрын
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!
@moonyl53412 ай бұрын
good video but i was expecting something like in the game proteus
@forrestgump83124 ай бұрын
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
@badjano4 ай бұрын
unsure what are the benfits, I usually create DLLs with Rider and C#
@blepr4 ай бұрын
5:53 comic mono?
@rhedgeco4 ай бұрын
@@blepr good eye!
@dob194 ай бұрын
3:47 I swear that is like the wind
@neko-lover32425 ай бұрын
You are insane!
@MrKickphlipp5 ай бұрын
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!
@jamesbland50825 ай бұрын
This is incredible!!
@stephenmcconnell78685 ай бұрын
I am on a Mac. How do I do this without C#?
@rhedgeco5 ай бұрын
This is a unity engine tutorial. Unity engine and C# work on Mac computers. There should be no problems related to operating systems
@maxjacobs99806 ай бұрын
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!
@rhedgeco6 ай бұрын
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!
@5374seth6 ай бұрын
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!
@rhedgeco6 ай бұрын
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
@chriswooohoo45186 ай бұрын
"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.
@ryanlockhart53286 ай бұрын
You basically made a smart pointer.
@rhedgeco6 ай бұрын
Yep pretty much lol
@Temasdin6 ай бұрын
Holy what a great quality content out of nowhere!
@KentBrakewell7 ай бұрын
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!
@rhedgeco7 ай бұрын
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!
@KentBrakewell7 ай бұрын
@@rhedgeco thank you, I will give that a shot! Are there performance differences between the two?
@rhedgeco7 ай бұрын
@@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
@TotallyNotInspired7 ай бұрын
You will definitely blow up, love your video
@soma_donat8 ай бұрын
Are you going to make a DAW or a synthesizer in Unity with this?
@rhedgeco6 ай бұрын
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.
@subject27498 ай бұрын
Great video! I wish you the best of luck with the KZbin algorithm...
@stevethepirate9 ай бұрын
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.
@rhedgeco6 ай бұрын
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.
@nicholaskihara35399 ай бұрын
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
@messapatingy9 ай бұрын
Cool video - Not much of a "How To" more of an "I can"
@rhedgeco6 ай бұрын
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.
@koenfrontatie9 ай бұрын
Hey thanks for this great video! Eager to watch more
@audefimusic10 ай бұрын
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
@Xeros0810 ай бұрын
How did you get that channels bar (The green dynamic bar that shows on play)? Just curious
@rhedgeco10 ай бұрын
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
@MisterXeolan10 ай бұрын
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!
@rhedgeco10 ай бұрын
Thats great to hear! I hope you have an awesome time building 😎
@anphanuc254211 ай бұрын
I need help with java native plugin ;((
@edbrito-swdev11 ай бұрын
Your videos are really well done and this topic is super interesting for me. I hope you do more videos on the subject!
@BlackJar7211 ай бұрын
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).
@Albileon11 ай бұрын
Apparently I'm your 1000th subscriber, congrats on the milestone of 1k subs! Great videos
@rhedgeco11 ай бұрын
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 😅
@nathanbarraud434911 ай бұрын
Very nice ! Amazing quality channel, thank you and well done !!
@pepinzachary Жыл бұрын
This is hilarious lmao
@rhedgeco Жыл бұрын
Glad you liked it 😁
@pepinzachary Жыл бұрын
@@rhedgeco What are your plans with boba? :)
@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 Жыл бұрын
I actually understand this video perfectly. Nicely done!
@rhedgeco Жыл бұрын
Thanks! I'm glad it was easily digestible!
@SteelyEyedH Жыл бұрын
Is there any issue getting games through iOS/android App Store approval when using unsafe code?
@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 Жыл бұрын
using puredata is also another solution
@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?
@rhedgeco11 ай бұрын
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 Жыл бұрын
? What's the purpose of this?
@sovio4280 Жыл бұрын
How can i contact you? Insta or something?
@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 Жыл бұрын
You are good at explaining.
@rhedgeco Жыл бұрын
Thank you! Try my best 😁
@YggdrasSoftGaming Жыл бұрын
Hey so.... how could I duplicate that beat at 5:38 in the video, like code wise.... no reason >.>
@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 Жыл бұрын
How did you show the latency in the script component? Nice video BTW!
@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 Жыл бұрын
This is such an elegant tutorial, subbed and want more
@FlyhyTheWizard Жыл бұрын
This was so fucking cool! Hope you make more videos in the future.
@rhedgeco Жыл бұрын
Thank you! I'm working on some big stuff right now! 😁
@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 Жыл бұрын
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 Жыл бұрын
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.