Real-time Trumpet Simulation [C++/Vulkan] [WARNING: Flashing Lights]

Sdílet
Vložit
  • čas přidán 22. 05. 2024
  • 🌏 Exclusive! Grab the NordVPN deal ➼ nordvpn.com/angethegreat and get extra subscription time. Try it risk-free now with a 30-day money-back guarantee ✌
    Thanks to NordVPN for sponsoring this video.
    Links for further study:
    Excellent course available online (probably the best I was able to find): www.ita.uni-heidelberg.de/~du...
    PDE series: • The Method of Characte...
    Another PDE series: • PDE 1 | Introduction
    Recommended reading: Internal Combustion Engine Fundamentals
    Support Engine Simulator 3D on Patreon!
    / atg_engine_simulator
    Get Steam Engine Simulator on Steam!
    store.steampowered.com/app/23...
    In this video, I use the fluid simulation I developed for my engine simulation game to simulate a trumpet and generate real-time audio.
    Download the OG Engine Simulator for free!
    github.com/Engine-Simulator/e...
    Join the Official Engine Simulator Discord Server!
    / discord
    Join my channel community Discord!
    / discord
    Timeline
    00:00 Intro and Master Mechanics
    00:22 NordVPN Sponsored Segment
    01:28 Running a Real-time CFD is Hard
    03:40 The Euler Equations
    06:06 Tubular Fluid Engine
    06:42 Shock Tube Demo
    07:30 Reflective Boundary
    08:20 Outflow Boundary
    09:08 My New Trumpet
    09:59 EPILEPSY WARNING - Trumpet Computer Model
    12:03 3D Blender Trumpet Model
    12:59 Fluid Visualization
    15:24 Issues with the Model
    16:45 Demo
    20:35 Applications to Engine Simulator and the Future
    Reverb impulse response credit:
    www.openairlib.net
    Adam Townsell
    #physics #simulation #gamedev
    FTC Disclaimer: This video was sponsored by NordVPN.
    Thanks for watching!
  • Zábava

Komentáře • 1,7K

  • @AngeTheGreat
    @AngeTheGreat  Před 8 měsíci +137

    🌏 Exclusive! Grab the NordVPN deal ➼ nordvpn.com/angethegreat and get extra subscription time. Try it risk-free now with a 30-day money-back guarantee ✌

    • @LogicalQ
      @LogicalQ Před 8 měsíci +6

      Ange the great synth-engine simulator pending :-) as a musician & auto enthusiast, you sir, are my hero.

    • @readyforlol
      @readyforlol Před 8 měsíci +2

      I feel like i've seen that "exclusive" and sometimes "limited time" deal on every other channel on youtube over the past 4-5 years.

    • @LogicalQ
      @LogicalQ Před 8 měsíci +1

      If I remember correctly from the physics of musical instruments course I took in undergrad, the cylindrical bore closed-open configuration limits the harmonic content above the fundamental to the odd numbers partials only. A conical bore does not. (It has to do with nodes/anti node locations in the pressure wave at the closed end)
      this is why a saxophone and a clarinet sound so different. And I believe this is why your clarinet is a more convincing approximation than the trumpet.

    • @__estrogen_
      @__estrogen_ Před 8 měsíci

      Exclusive! Grab the fuck off blatant advertiser.

    • @r033cx
      @r033cx Před 8 měsíci +1

      Get that bag king

  • @tubaterry
    @tubaterry Před 8 měsíci +7040

    Former professional tuba player here - you warned us about the intonation and the difficulty of tuning all of the lip & instrument parameters in real time, and then when the sound simulation started... it sounded *exactly* like someone struggling to get a good tone from a weirdly-built trumpet. This is IMPRESSIVE

    • @Gunbudder
      @Gunbudder Před 8 měsíci +482

      exactly! it sounds like someone playing one of those really shitty plastic pocket trumpets! i was never pro, but i played brass and woodwind for many years. well i suppose i did get paid to play a few times so maybe i can claim to be professional lol. i've heard a lot of weird horns over the years though, and the sim sounds like a weird plastic trumpet in its mid range. in the low range it becomes more "cheap yamaha keyboard" to me.

    • @woody442
      @woody442 Před 8 měsíci +39

      Too good to be not real.

    • @nimits9437
      @nimits9437 Před 8 měsíci +227

      ​@@Gunbudder It makes sense to say it sounds like those plastic trumpets I think, since the simulation does not take into account things like materials and how those materials vibrate through pressure fluxuations. Perhaps ATG might add something like that since there is a big reason why professinal instruments are brass. Though I have never played a instrument.
      The sim is really cool and I like where it is going.

    • @addi271
      @addi271 Před 8 měsíci +55

      @@nimits9437 yeah I don't think the material was brought into account for now. More of a big deal when talking about instruments instead of engines. Anyways reeeealy cool stuff!

    • @woody442
      @woody442 Před 8 měsíci +48

      In reality the geometry and material properties of the brass and it's connection's, as well the contained and surrounding air produce very complex resonance characteristics with very similar dominant harmonics but different timbre due to small deviations and imperfections.

  • @r-d-v
    @r-d-v Před 8 měsíci +1236

    I don’t think you realise how important this project will be to the audio synthesis world. Physical modelling taken to the extreme

    • @Beatsbasteln
      @Beatsbasteln Před 8 měsíci +181

      he already didn't get it when he was making engine sim. if this was a vst plugin it would be winning prices for years

    • @NightMind0
      @NightMind0 Před 8 měsíci +103

      What is really good about it as opposed to a convolution model is that you can generate NEW instruments with this! and then make a convolution model out of them *at least*, discounting other possibilities of this running real-time

    • @r-d-v
      @r-d-v Před 8 měsíci +66

      @@Beatsbasteln well as he says, the cpu / gpu demands are insane - plus an audio plugin has a lot of different demands. You’ve really got to be in that field to pull off that stuff well. But the technology and theory is very exciting. It would just take a lot of work to move it from a purely simulation based goal to a creative goal

    • @r-d-v
      @r-d-v Před 8 měsíci +33

      @@NightMind0 exactly - it’s a step beyond the delay line based physical modelling that has come before. Full on fluid dynamic simulation would be an insane game changer from a technological point of view - but such an idea would live and die by its implementation and workflow.

    • @Beatsbasteln
      @Beatsbasteln Před 8 měsíci +2

      @@NightMind0 convolution doesn't allow for the same flexibility

  • @peejay1981
    @peejay1981 Před 8 měsíci +1733

    You honestly should submit all of this work as credit towards a PhD. It is mighty impressive!

    • @wordsareuneccesary
      @wordsareuneccesary Před 8 měsíci +58

      Why would he care when he can just add real value. that’s another title.

    • @MrCreeper20k
      @MrCreeper20k Před 8 měsíci +226

      @@wordsareuneccesary Its a society thing. Even if he doesn't care, others do. Employers do. Employers that could give more money. Its practical, especially if he's done the work and just needs to do some paperwork and formalities.

    • @thecompanioncube4211
      @thecompanioncube4211 Před 8 měsíci

      ​​@@MrCreeper20keven discarding societal labels, PhD work is excellent place to get big sound corporation sponsorship for this amazing work. From corporate management perspective, it's helluva lot lucrative to get PhD work and university tie ups for investor confidence than let's say a youtuber. Number of patents and publication under the belt go a long way

    • @yesto9676
      @yesto9676 Před 8 měsíci +37

      @@MrCreeper20k Why should he care about whether employers do? I don't think this guy is making this trumpet for money either. I'm sorry mate, but following societal expectations is not the road to happiness for everyone

    • @pianissimo7121
      @pianissimo7121 Před 8 měsíci +130

      ​@@yesto9676to defend his point. Its not a road for sadness either. Nothing wrong with submitting it. He literally loses nothing(maybe time and other stuff). And the guy just gave a suggestion. And sorry mate but following the societal expectations is not inherently wrong. He can do it if he wants to. I dont know why you are so defensive.

  • @erikafklinteberg4123
    @erikafklinteberg4123 Před 8 měsíci +632

    As a physics student and as a hobbyist trumpet player I just want to add my name to the choir singing this video's praises. It's really impressive what you have managed to pull off here!

    • @thatguyalex2835
      @thatguyalex2835 Před 8 měsíci +3

      Yep. This fluid dynamics tech could be used in next gen synthesizers, such as a hypothetical future model of an electronic wind instrument. :)

  • @melonenstrauch1306
    @melonenstrauch1306 Před 8 měsíci +1800

    This project is so refreshing! You rarely see a single person project that has so consistent improvements, it's a joy to witness!

    • @aspidinton
      @aspidinton Před 8 měsíci +1

      O

    • @ocircles738
      @ocircles738 Před 8 měsíci +1

      O

    • @vankram1552
      @vankram1552 Před 8 měsíci +2

      Randy 😂

    • @LuxGamer16
      @LuxGamer16 Před 8 měsíci +1

      Hätte es nicht besser sagen können

    • @Splarkszter
      @Splarkszter Před 8 měsíci +6

      Remember to donate to him so he is able to keep doing it!!!
      Many community projects die because lack of funding!!!

  • @bmg50barrett74
    @bmg50barrett74 Před 8 měsíci +1046

    Ange out here literally revolutionizing the gaming/simulation industry just to make engine go brrrr. He's a godamn hero.

    • @triplezgames3882
      @triplezgames3882 Před 8 měsíci +33

      And Music industry... This could become a crazy realistic Trumpet VST

    • @cameronhuff5170
      @cameronhuff5170 Před 8 měsíci

      ​@@triplezgames3882Yes dude I'm a music producer and this waa literally my first though

    • @triplezgames3882
      @triplezgames3882 Před 8 měsíci +19

      Ok correction, apparently this is already a big thing in VST industry. Look up Audio Modelling SWAM... Those sound crazy

    • @b_dawg_17
      @b_dawg_17 Před 8 měsíci +4

      I know! This guy is cutting edge. Was not expecting something this complicated to come next. This is amazing!

    • @lo2740
      @lo2740 Před 8 měsíci +13

      physical emulation of music instruments has been developed since a very long time in the pro audio world, and contrary to this "experiment" they are ressource efficient, and sound same as actual instruments (which is the purpose). A lot of engineers have worked on the topic since a very long time with actual results used everyday by audio engineers, producers and musicians. You just ignore everything of this world, but it doesnt mean it doesnt exist, and it doesnt mean what you discovered today is any kind of achievement or "revolution", far from that.

  • @MetroidChild
    @MetroidChild Před 8 měsíci +179

    I think the reason you need lots of air to get good sound is for a very simple reason, the bell will enhance acoustic coupling and also resonate, making the instrument louder and sending that resonant acoustic energy back into the trumpet.

    • @prkassel
      @prkassel Před 6 měsíci +2

      Think also because the actual embouchure opening is much smaller than the instrument bore. Probably only a few millimeters compared to the trumpet bore at like .468”. Sure it takes air to play, but it’s more about compressing the air with your lips.

    • @lukeb2604
      @lukeb2604 Před 5 měsíci

      @@prkassel Yes I agree, its not like your lips are flopping around in the mouthpiece like what the simulation depicted. As well, when you play the trumpet, youre trying to pressurize the air from the bottom of your lungs to your lips using your diaphram. Creating a large area of high pressure before a tight embouchure. Hope it helps Ange, fantastic video.

  • @vAndy93
    @vAndy93 Před 8 měsíci +85

    As an engineer I would 100% pay for classes taught by you, very clear and to the point. Demonstrating a high level of dominion of material and amazing pedagogy skills. Keep it up! 🚀

  • @tiporari
    @tiporari Před 8 měsíci +548

    Trumpet player here. Your simulation is uncanny. The tension in the lips being higher reduces air volume required and increases air Velocity. The resonance of the horn provides orders of magnitude more amplification than you would expect. The density of the metal plays a role too. Lots of sympathetic resonance in real instruments.
    Simulation inception would be necessary to capture all of these effects. The fluid simulation is but one part of it. It's probably the most important though which is why your results are so close.
    Love it man. You should share this tech with music companies like Roland, Yamaha, Nord, etc. They could really benefit from your achievement, and their effects and signal manipulation, user control, and expression technology could make this sound 100% better. Like a quantum leap in woodwind and brass synthesis.
    Patent it please. Open source it. Share it some how. We need this in synthesizers!

    • @shauas4224
      @shauas4224 Před 8 měsíci +35

      Share? Hell no, he spent a lot of time, effort and I bet fixing all the bugs decreased his lifespan by at least a few years. I looked up roland - 3k employees in 2013 and you say to share it with them? He will get 0 profit, credit or anything from that

    • @TranceFur
      @TranceFur Před 8 měsíci +49

      He should certainly not share it with any company. Selling the rights for them to use it, maybe.

    • @killingtimeitself
      @killingtimeitself Před 8 měsíci +40

      @@shauas4224 if you open source it you can open source it a way such that it cannot be used to generate profit, there are licenses for that. Or he could just BSD type beat licensing and say fuck it.
      patenting it is admittedly pretty cringe, especially for home gamer stuff.

    • @inconnn
      @inconnn Před 8 měsíci +1

      LGPL?

    • @shauas4224
      @shauas4224 Před 8 měsíci +4

      @@killingtimeitself yeah good luck finding out that company won't care a single bit about license and then good luck finding out that they used it since I highly doubt any of companies will open source their software as you say author should do. Don't get me wrong, I m also curious to dig in the code and see how this works but downside to that - companies will abuse and steal his creation

  • @N.I.R.A.T.I.A.S.
    @N.I.R.A.T.I.A.S. Před 8 měsíci +524

    I gotta say, as a kid who grew up playing the trumpet, this wasn't too bad! The sound, I mean. The engineering and creativity are off the damn scale.

  • @wglao
    @wglao Před 8 měsíci +18

    In the overblown demo, I was amazed it recreated the "double buzz" effect, where a lower frequency is also heard. This usually happens when a tired player can no longer control their embouchure (lip stiffness and geometry) and unintended vibration modes are produced.

    • @wglao
      @wglao Před 8 měsíci +1

      Also, I wonder (1) what would happen if you're fully simulating the valves and what happens when you only depress the valves half-way. Half-valving produces a very distinct tone and diminishes the volume. And (2) if you can slide the stiffness of the mouth to recreate a lip slur between harmonics.

  • @centuriomacro9787
    @centuriomacro9787 Před 8 měsíci +54

    Trumpet player here. I’m surprised how good the trumpet in your model sounds. The characteristic sound definitely comes through. It sounds a lot better than many Synthesizers I heard.

    • @TheUnderscore_
      @TheUnderscore_ Před 8 měsíci +4

      Not _most_ synthesizers? If it _wasn't_ better than most wave-based synths, that would be disappointing. Is it better than the _good_ ones is the question, and comparing it to Samplemodeling and even Audio Modeling gives you the answer to said question.

  • @JurekOK
    @JurekOK Před 8 měsíci +581

    As a musician by training, I can tell you that this trumpet simulation sounds precisely like a trumpet -- and before adding the reverb, it sounds precisely like a trumpet in a well-dampened practice room.
    Awesome job mate!!!

    • @Petch85
      @Petch85 Před 8 měsíci +5

      Or outside on an open field or on a top of a soft hill top.😊

    • @gownerjones1450
      @gownerjones1450 Před 8 měsíci +1

      ​@@Petch85 In those scenarios you'd be hard pressed to find a location that won't create an echo, no?

    • @Petch85
      @Petch85 Před 8 měsíci +18

      @@gownerjones1450 There will be some reflections from the ground, but if you have a soft ground, like grass, it will be minimum. To make an echo you will need a hard surface for the sound to bounce off (off). Where I live it is much easier to find a place with no echo that one with. But if you live in a mountainous area it might be harder. But you can try the top of the highest mountain or the peak with the larges distance to the nearest mountain.😀
      Also you need a low wind speed to reduce the bagground noise and new fallen snow can also help you reduce any reverbe or echo. glhf.

    • @gownerjones1450
      @gownerjones1450 Před 8 měsíci +5

      @@Petch85 It sounds like you have a lot of experience doing this. Do you conduct an outdoor orchestra or something?

    • @Petch85
      @Petch85 Před 8 měsíci +8

      @@gownerjones1450 hehe no. I just love physics, simulations, music (making, listening, editing, simulating) and hiking.

  • @Gwilo
    @Gwilo Před 8 měsíci +252

    when this game releases, saying, "this has great attention to detail!" is going to be a huge understatement

    • @genralty
      @genralty Před 8 měsíci +6

      the meaning of "great" isnt so definitive, so maybe it kinda isnt? a baby finger painting for the first time is great, but so is winning the lottery.
      obligatory 🤓 here

    • @bagged_milk67
      @bagged_milk67 Před 8 měsíci +1

      ​@@genralty ackshually a baby's first finger painting isn't anything great, as it's not an art and even among baby's firsts it's not that important as walking or a handprint 🤓

  • @neuni232
    @neuni232 Před 8 měsíci +200

    I know this is really not the goal of this project, but as a music producer, I have to say, that this would be the most awesome vst plugin for physical sound modeling… especially with the possibility to create completely new instruments and tweak real world properties, this would be an entirely new way to sound design!!! Sooo cool

    • @franciscoferraz6788
      @franciscoferraz6788 Před 8 měsíci +19

      I'm not even a producer and I thought that as well. This would take a virtual orchestra to a whole new level.

    • @bengsynthmusic
      @bengsynthmusic Před 8 měsíci +8

      That's already been a thing. Arturia Piano does that.

    • @neuni232
      @neuni232 Před 8 měsíci +1

      @@bengsynthmusic I know, but it’s kinda limited in its sound

    • @jasonrubik
      @jasonrubik Před 8 měsíci +1

      @@franciscoferraz6788 A slightly enhanced version of "Animusic" ?
      czcams.com/video/hyCIpKAIFyo/video.html

    • @joaotragtenberg
      @joaotragtenberg Před 8 měsíci +2

      The swam trumpet from audio modelling does that. I believe their approach to pgysical modelling synthesis is a even more sound oriented and it is super efficient and realistic

  • @jackwade348
    @jackwade348 Před 8 měsíci +71

    I've been playing the trumpet for about 8/9 years now, it's absolutely amazing how close this sounds to a beginner trumpet player. The coolest part to me was when you did the model of increasing airspeed, the way that the pitch increases, then decreases and distorts is EXACTLY how an actual trumpet plays when you do the same thing.

  • @AngeTheGreat
    @AngeTheGreat  Před 8 měsíci +281

    Unfortunately my virtual trumpet skills are just as bad as my real life trumpet skills. Having a semi-realistic simulation didn't help matters but kind of made things worse.

    • @dimitri0404
      @dimitri0404 Před 8 měsíci +16

      Now that you bought a trumpet, you have the perfect excuse to start practicing a new hobby.

    • @MajdRida
      @MajdRida Před 8 měsíci +1

      How did you comment on your video 5h before it released? Love your work btw

    • @ryanviertel7059
      @ryanviertel7059 Před 8 měsíci

      It's relatively convincing of a trumpet with a mute on the end. Any idea what might be causing that phenomenon?

    • @keldwikchaldain9545
      @keldwikchaldain9545 Před 8 měsíci +2

      I suspect that it might be the lack of the flaring in the bore, but this is an uneducated guess

    • @MSivonen
      @MSivonen Před 8 měsíci +2

      Your (accidental?) interpretation of Jurassic Park theme at the end was just fine. No practice needed. New music channel has been born. 😅

  • @WillHuizenga
    @WillHuizenga Před 8 měsíci +464

    I used to be a trumpet player. I am very impressed with this. Especially the over-blow bit. The simulation was able to pretty accurately predict what actually happens when you blat.
    The mouth simulation would need a lot of work to be accurate. There is much more to embouchure that would need to be considered. You'd probably have to model a whole head. Its all very impressive!

    • @angelicbeast7793
      @angelicbeast7793 Před 8 měsíci +24

      Agreed to at least the whole mouth, not sure about the whole head. Like, how essential is your skull when buzzing, y'know? I think simulating all the way to the back of the throat would make the most sense, because of how important the tongue is in shaping your tone.
      Still super impressive!

    • @-IE_it_yourself
      @-IE_it_yourself Před 8 měsíci +13

      @@angelicbeast7793 i think will's point was once you have put in the effort to model the mouth, you might as well just simulate the synapses in the brain that decide which note to play :DDD

    • @castekracing
      @castekracing Před 8 měsíci +13

      ​@@angelicbeast7793need the nose for that circular breathing haha

    • @ducodarling
      @ducodarling Před 8 měsíci +1

      You'll need to model the lips, mouth including tongue and teeth, the larynx, lungs, and the diaphragm... Good luck!

  • @codewithryan
    @codewithryan Před 8 měsíci +24

    One reason I love these simulations is because they push the limits of computation. With web development dominating mainstream, it’s refreshing to see non-trivial C++ projects.

  • @jadloli3279
    @jadloli3279 Před 8 měsíci +25

    This dude is slowly building the most realistic virtual world ever

  • @scorix_
    @scorix_ Před 8 měsíci +193

    Valve horn player here. Great job on trying to capture this complex procedure!
    Couple things I know from playing a brass instrument:
    - The most important part is the lips that distincts between a good player and beginner. I can make my instrument sound like your simulation, just by adjusting my lips.
    - Air Pressure and Lipstiffness increases with higher notes. Playing loud and deep is as hard as playing quiet and high. But one can compensate this by having a more accurate and more stiff/loose lip
    - The way I let my instrument sound different with the same pitch is by increasing or decreasing the volume of my mouth. Bigger Volume results in a more round tone that is often nice to hear. But sometimes in certain musical genres you want this duck like quacking and therefore you decrease this volume (by adjusting the tounge mostly). This also is dependent on the tone - higher tones are generally played with less volume while lower tones require more volume for the same quality of sound.
    Do with that information what you will, just some insights from my end.

    • @AngeTheGreat
      @AngeTheGreat  Před 8 měsíci +102

      Thanks for sharing your knowledge! It would be cool to refine the lip model using information from real trumpet players since most of the parameters are purely physical/scientific

    • @shamrodia74
      @shamrodia74 Před 8 měsíci +26

      As a trombone player, I agree with this comment. I think to really improve the sound you would need to simulate the mouth cavity (up to the whole body) as it acts as a resonance box.
      It would be fun to play around with a trombone sim as it is simpler than a trumpet (sim-wise, there are no valves) and it would illustrate how the pitch changes when the length of the tube changes.
      Awesome work, I really enjoy what you're doing !!

    • @bubblefoil
      @bubblefoil Před 8 měsíci +2

      @@AngeTheGreat You may try to simulate buzzing just on the mouthpiece. Some consider it a bad practice because the embouchure for buzzing is not exactly the same as for playing the instrument but without the brass tube's resonance you can freely change the pitch so might be able to see better what lip configuration is in tune with each tone.

    • @ohiasdxfcghbljokasdjhnfvaw4ehr
      @ohiasdxfcghbljokasdjhnfvaw4ehr Před 8 měsíci +8

      @@AngeTheGreat time to build the worlds first lip simulator

    • @trainzack
      @trainzack Před 8 měsíci +2

      ​@@AngeTheGreatDr. David Wilken did his dissertation on brass embouchure, and he has some interesting videos showing brass players playing into transparent mouthpieces.
      One of the more interesting things I learned from that is that not only are the lips not centered vertically on the mouthpiece, but a brass player will adjust the mouthpiece position depending on range.

  • @benpietersen3723
    @benpietersen3723 Před 8 měsíci +158

    I'm always so blown away at how one person can have such a good combined understanding of engineering, acoustics and coding 😮

    • @timo1294
      @timo1294 Před 8 měsíci +36

      And video creation! That's not easy either

    • @VinnyFonseca
      @VinnyFonseca Před 8 měsíci +31

      @@timo1294 And 3D modelling which is a career itself.

    • @theianmce
      @theianmce Před 8 měsíci +8

      Totally, this is what brilliance looks like

    • @geoffreyprecht2410
      @geoffreyprecht2410 Před 8 měsíci +4

      Not to mention 3D modeling! Is there anything this man can't do?

    • @JonBrase
      @JonBrase Před 8 měsíci +1

      I mean, if someone says they do computational fluid dynamics, "engineering, acoustics, and coding" is basically what it says on the tin. CFD is vital to all sorts of engineering work, and coding is its own sort of engineering. Acoustics basically falls out of the equations that you use to model the behavior of air. And any field that has "computational" in the name is going to involve coding.

  • @puddlejumper6999
    @puddlejumper6999 Před 8 měsíci +68

    as a first chair trumpeter, i can say you may be getting the weird intonation from lack of resistance based on the valve position. no 1 valve generates sufficient resistance but there are a few combinations that do generate resistance at certain octaves due to the resonance. to someone without experience playing it can be hard to feel it, its subtle but very significant. all in all, very cool to see this done.

    • @thomasscheevel5779
      @thomasscheevel5779 Před 8 měsíci +3

      I think the biggest reason there's not much resistance is that the model doesn't have a mouthpiece yet. We've basically got a really narrow didjeridu so far. (I think the model is doing a great job giving us what it would actually sound like to play a tube that's shaped like that!) Once we get a mouthpiece that's the right shape, it's going to give us *way* more realistic resistance.

    • @puddlejumper6999
      @puddlejumper6999 Před 7 měsíci +2

      @@thomasscheevel5779 i feel really stupid and am kicking myself in the ass now. i totally neglected the fact that different mouthpieces have an effect as well. good spot thomas

    • @thomasscheevel5779
      @thomasscheevel5779 Před 7 měsíci

      @@puddlejumper6999 tbf, i probably wouldn't have recognized the sound if i wasn't the kind of person who's tried to play brass (a tuba, for me) with no mouthpiece before. so when he went in the video about how surprised he was about how much pressure it took to get a sound, it just clicked - yep, that's how it feels and sounds to play a brass instrument with just your face right on the leadpipe

    • @puddlejumper6999
      @puddlejumper6999 Před 7 měsíci

      @@thomasscheevel5779 same here XD and such facts oh such good times

  • @IONYVDFC
    @IONYVDFC Před 8 měsíci +3

    I've been a trumpet player for about 10 years, and indeed, the lip parameters are extremely important to hit the right tone. Trumpet players even anticipate their lip setting and sometimes also pull the instrument tighter to their lips to prepare for the next note, at least to minimise the air gap between each note. If not well prepared, it even occurs to players that only air comes out, completely missing the note. As found in the simulation, the amount of pressure lips have endure on a Trumpet is immense, professional players need multiple years of lip training and lip hardening to cover an acceptable tone range. It happened to me to have shattered lips close to bleeding after a concert. The simulation exactly sounds like someone with no experience in lip setting, which is the case here. Lip tension is even changing along the duration of the note, call it expressions, phrasing of the notes or modulation, like vibrato, staccato, pitch bend and more... Adding randomness in lip tension is an easy way to improve realism, but simulating expression with lip tention needs musical feeling, which is a learning process that probably only AI would be able to implement.

    • @barcodenosebleed5485
      @barcodenosebleed5485 Před 5 měsíci

      Came here to say something similar about the lips. The tweaking of the params to get the 'clarinet' sound definitely made that pop out.
      I Imagine more work on the flare will help, didn't hear any talk about the "material", i.e. certainly a wooden trumpet would sound much different than a brass one--I don't know how that's accounted for here... maybe covered in a different video, but yeah, so much is in the lips and I wonder if the original model is just inadequate for the needs here.
      Buzzing with even just your lips, you can quickly start to understand how much that contributes to the sound.
      I imagine he could also simplify things and just focus on perfecting buzzing with just a mouthpiece and then plug in the rest of the horn to a massive improvement.
      Hope he decides to take at least one trumpet lesson as I feel like that will be an epiphany on how important that part is.

  • @carlosruiz5802
    @carlosruiz5802 Před 8 měsíci +329

    Im a trumpet player and not an engineer. The thing i like the most in this video is that, although the trumpet isn't tooned, the fist demonstration of the trumpet's notes is as accurate as it gets. Although im not a luthier, i can definitly say the chromatic scale is exactly as its portrayed: 000, 010, 100, 110, 011, 101, 111.
    Descending, not ascending.

    • @gammafoxlore2981
      @gammafoxlore2981 Před 8 měsíci +10

      Luthier's make sting instruments... you are thinking of a brass instrument maker.

    • @ka-uy8yh
      @ka-uy8yh Před 8 měsíci +10

      at first i thought it'd be like counting in binary; 000, 001, 010, 011, 100, 101, 110, 111.

    • @colindawson4818
      @colindawson4818 Před 8 měsíci +25

      I'm a trumpet player too, and loved that this video is a defiantly on point for how a trumpet produces sound. I think some of the parameters that are missing to be able to enhance the sound go something like this..... 1. lips, tension. There's several ways to achieve this, basically we tighten up the cheek muscles to make the lips more tense. In addition, we can change the pressure of the mouthpiece on the lips to achieve the same. 2. Instrument construction. The tone is effected by the mixtures of metals that make up the instrument. I'm talking about he zinc/copper ratio on the brass, which effects the "brightness" of the sound, also whether the instrument is silver plated, or lacquered. Again this finish can have an effect on the tone. 3. And here's a whole new can of worms, what's happening behind the lips. The tongue is important as it's placement will dramatically change the sound, as well how we open our airways in the throat whilst playing. Puffing out the cheeks. Also whether we are breathing with the upper part of our lungs or (as is better) the lower part using our diaphragm to apply the pressure that creates the volume. I believe that we tend to use higher pressure than you'd think to produce the vibration at the lips, but the opening is very small, so that volume of air passing is relatively low. It's common for a trumpet player to be able to sustain a note for about 60 seconds with one breath. This should be able to give you the idea of the amount of air that can be delivered with normal lung capacity.

    • @freddielo4330
      @freddielo4330 Před 8 měsíci +3

      ​@@ka-uy8yhthat would make a terrible ergonomic. Imagine having to use your ring finger so much.

    • @cmyk8964
      @cmyk8964 Před 8 měsíci +8

      ​@@ka-uy8yhIt’s counting in binary, except the digits are shuffled, because the pipes attached to the valve aren’t in ascending order of length. Instead of being worth 4, 2, and 1 semitones, they’re worth 2, 1, and 4 in order from closest to farthest.

  • @danksagrabowski2438
    @danksagrabowski2438 Před 8 měsíci +497

    I love how versatile the fluid simulation turned out to be! Have you tried simulating the sound of a turbine? (or compressor?)

  • @Bassalicious
    @Bassalicious Před 8 měsíci +39

    As an audio engineer who sometimes dabbles in recreative game development, loves physics and used to play horn, this couldn't be more up my alley. I absolutely adore your recent projects, Ange. Much love and massive props for all the progress you have made in such a short time frame. You rock my dude :)

  • @MyrKnof
    @MyrKnof Před 8 měsíci +18

    Its hard for me to describe how captivating it is, to listen to a truly passionate and intelligent person explain something they've made. Its just SO nice.

  • @markoates9057
    @markoates9057 Před 8 měsíci +33

    Experienced brass musician here. It sounds like an early beginner trumpet player who is trying to find out the best way to make a sound! I'm mostly impressed at how accurately the valve movements distort the tones between presses, which sound *very* accurate. From the sounds of it overall, the tone of the trumpet could mostly be fixed by making adjustments to the player's embouchure (the mouth and its positioning on the mouthpiece). But I can say that I've heard these kinds of tones from the beginning trumpet player.

  • @noone6905
    @noone6905 Před 8 měsíci +199

    It’s so crazy to me that like 8 or so years ago I had an idea that modeling instruments using physics would either happen or I would have to learn to do it myself. I would absolutely love to see a version of this project in vst format later down the road. As a producer this excites me so much!!! Keep up the great work!

    • @4CloudySky
      @4CloudySky Před 8 měsíci +5

      Well, physical modelling is all the rage now, look at Plasmonic or SWAM. Swam is especially impressive at modelling the wind instruments, i wish it would be cheaper 😢

    • @snesmocha
      @snesmocha Před 8 měsíci +1

      @@4CloudySkylaughs in their trumpets and brass

    • @TheUnderscore_
      @TheUnderscore_ Před 8 měsíci

      @@snesmocha That's what Samplemodeling is for. Listen to some good demos of it, i.e. Sam Paryss's Star Wars mockup using it or The Trumpet v.3's demo medley.

  • @tyxcho
    @tyxcho Před 8 měsíci +8

    This is amazing - as a physics graduate working on particle simulations, and a trumpet player of 10 years, its amazing to see those two worlds collide. The fact that you can even get a roughly-correct chromatic scale and multiple harmonics working is extremely impressive. To me, it sounds exactly like a trumpet playing into a cushion, or a really closed mute. I think simulating the bell flare will definitely help (I've experienced many dented flares). For even better tuning, the third valve tube would need to be extended slightly in the lower harmonics.

  • @nootology
    @nootology Před 8 měsíci +6

    This is clearly a big step for mankind in reproducing VQ exhaust noises as accurately as possible

  • @borthelcash6046
    @borthelcash6046 Před 8 měsíci +17

    Can't wait to test a 27-cylinder engine with real headers soon!

  • @skilz8098
    @skilz8098 Před 8 měsíci +59

    I've played the trumpet for well over 10 years throughout middle and high school. I'm also self taught in C/C++ and 3D Graphics / Game Engine programming using DirectX, OpenGL and Vulkan. I'm also adept with mathematics and physics. To see a video of a physics simulation that uses C++ and Vulkan to project the fluid dynamics of a trumpet is really cool. This video is very informative, creative and quite awesome. Job well done!

    • @NonTwinBrothers
      @NonTwinBrothers Před 8 měsíci +3

      this video seems to have brought out all the C++ trumpet players and I'm all for it

  • @3foothurricane
    @3foothurricane Před 8 měsíci

    The way it blows sharp and gets a splatty intonation when you up the pressure is incredibly accurate. Great work

  • @realityDUBSTEP
    @realityDUBSTEP Před 8 měsíci +7

    With like two more layers of simulation inception this could get scary close. Aside from the bell, material type also plays a large factor in sound resonance. This video is truly awesome, you did a great job.

  • @kvaek
    @kvaek Před 8 měsíci +105

    Exciting progress! Quite neat how flexible the ES3D fluid simulation is

    • @AngeTheGreat
      @AngeTheGreat  Před 8 měsíci +122

      My theory was that if it could simulate a trumpet sound, it could probably simulate an engine sound. I guess we'll find out soon enough

    • @kvaek
      @kvaek Před 8 měsíci +11

      @@AngeTheGreatFingers crossed! I'll be looking forward to seeing it in action :-)

    • @tescoshortage
      @tescoshortage Před 8 měsíci +6

      @@AngeTheGreatI’ve got my 22 bucks ready and waiting for ES3D. Keep up the good work!

    • @mr.mirror1213
      @mr.mirror1213 Před 8 měsíci +1

      ​@@tescoshortageis it gonna be paid?

    • @spidertyler
      @spidertyler Před 8 měsíci

      ​@@mr.mirror1213why not? Its an extremely well-put-together project

  • @beepbleepboop
    @beepbleepboop Před 8 měsíci +17

    do you realize how much of a market there is for tools like this? sample libraries of physical instruments are costly to make and often inflexible to use. with a ui designed for musicipans, the ability to physically model wind instruments accurately and in real time would be a gamechanger!

    • @Waitwhat469
      @Waitwhat469 Před 8 měsíci +3

      100%! I would love to see what MuseScore hooked up to this as simulation could create!

  • @jess_o
    @jess_o Před 8 měsíci +3

    As a former trumpet and horn player and current software developer, BRAVO sir. The way the note breaks apart when the embouchure is too flat for the instrument on that note is EXACTLY how it sounds in real life! And the way the pitch transitions between pitches on input changes was spot on too

  • @joejoemyo
    @joejoemyo Před 8 měsíci +1

    I love that it takes multiple research papers to understand the effects of your lips on sound, and musicians are just like "it's right when it sounds good"

  • @ezrakornfeld8436
    @ezrakornfeld8436 Před 8 měsíci +84

    Use the system to simulate the call of the parasaurolophus. It has a large resonating chamber in its crest that drastically changed the sound they make.

  • @lvciferkaminski
    @lvciferkaminski Před 8 měsíci +19

    first thought on the first sound was "hm, straight cut trumpet sounds like Sax with a very, very wet mouthpiece", i guess it's more about the lip params and I wish someone will take it upon themselves to jump through the hoops making this the most versatile physical modeling VST-Instrument ever.
    Ange, you are breaking new ground in software development, with a perseverance and consistency that is nothing short of legendary.

  • @The8BitBigBand
    @The8BitBigBand Před 8 měsíci +6

    Incredibly fascinating demo and also a very clear visualization of what exactly is going on physically in a wind instrument and why! I think one of the hardest things about the learning curve of a wind instrument in general is understanding and controlling all those various parameters in real time while only being able to abstractly grasp what the physics behind the instrument actually are doing, so this is amazing to see! Also I definitely laughed out loud when you started playing the Jurassic Park theme haha

  • @m-yday
    @m-yday Před 8 měsíci +9

    I find this project so inspiring, and I can't help but feel so much pride watching this! You've done so well!
    Edit:
    like seriously, as someone hugely interested in audio, music, physics, engineering, computer science, statistics, and many forms of visual art: this project meshes my biggest interests together in a way I'd never have expected. I cannot wait to see what's to come!

  • @0xTJ
    @0xTJ Před 8 měsíci +15

    This is so cool! It goes quickly from "huh, that's a neat simulation" to "wow, that visualization looks incredible!".
    I also appreciate the non-fearmongering VPN ad.

  • @y1QAlurOh3lo756z
    @y1QAlurOh3lo756z Před 8 měsíci +6

    make a realistic pipe organ, replete with all the stops etc. That would make not only a great steam game but also fill a market void of physically based music synthesis for musicians

  • @cazza358
    @cazza358 Před 7 měsíci

    Truly unbelievable the fidelity you can get with a simulation, I cant beleive how you can get those note transitions without nuances of the valve shapes, and the sound quality with that simple lip simulation, amazing.

  • @fmphotooffice5513
    @fmphotooffice5513 Před 8 měsíci +1

    18:40 The way the tone spatters like a junior high early learner is absolutely hilarious!!! Really LOL!!!

  • @Psrj-ad
    @Psrj-ad Před 8 měsíci +13

    you could totally charge money to have a sim like this as a very accurate VST for music producers

  • @megniac
    @megniac Před 8 měsíci +40

    I literally cannot wait for the release. The sheer potential of Engine Simulator is proper insane!

  • @juliemittel3931
    @juliemittel3931 Před 8 měsíci +3

    having heard a good deal of trumpet-including music, both live and online, i have got to say that this sounds pretty damn good for a fluid simulation. there were some small parts where the audio became noticably "rough" in a way that i only really know from computer-generated audio, but during some other parts it sounded like an authentic trumpet being played by someone just getting used to playing the instrument. i've got to say, i am very, very impressed by your work and i'm certain that the quality of your other computer simulations can only go up from here.

  • @bigpig187
    @bigpig187 Před 8 měsíci +1

    I was already thinking that BeamNG devs were the best devs out there, but the fact that they're helping you on your projects is just awesome

  • @kaidwyer
    @kaidwyer Před 8 měsíci +40

    I really like the particle visualization for fluid flow! It reminds me of… an infomercial for a vacuum cleaner.
    I think including the ability to create extruded 2D shapes in engine simulator would be a good feature, because that would allow simulating different muffler designs.

  • @henriksundt7148
    @henriksundt7148 Před 8 měsíci +73

    Would you consider doing a similar simulation for the human vocal tract? That would be a great educational tool. There are no truly good online resources that explain how and where the different formants of speech are created, the explanations are quite rudimentary. E.g. visualize how the same formant (in the output spectrum) may originate from two alternative configurations of the tract, due to the tounge position.

    • @liv919
      @liv919 Před 8 měsíci

      That's a good idea

    • @aspuzling
      @aspuzling Před 8 měsíci +14

      I don't think this type of simulation is capable of coming close to simulating human voices. It's useful for systems that consist of connected cylinders of air, not something with complex geometry. I imagine it would be very hard to physically simulate a realistic / convincing sounding voice.

    • @henriksundt7148
      @henriksundt7148 Před 8 měsíci

      @@aspuzlingIt indeed can, albeit in a simplified form: check out “Pink trombone”, an interactive vocal tract simulator that runs in the browser.

    • @TiagoTiagoT
      @TiagoTiagoT Před 8 měsíci +2

      I'm not sure how it compares to what Ange is working on; but you might wanna take a look at Neil Thapen's Pink Trombone

    • @tk_kushal
      @tk_kushal Před 8 měsíci +1

      if this could be possible, then it might be possible to generate voices from it, I imagine it would be impossible to generate the voices that is the pressure waves and other mouth expressions manually to output voice, we may train a neural network to generate the needed air pressure and toung and mouth movement to generate a voice, This could be the most realistic TEXT to SPEECH generator of all time. have goosebumps just thinking about it.

  • @Sir__Pumpkin1100
    @Sir__Pumpkin1100 Před 8 měsíci

    everytime i see a video from ange about stuff he makes i always get super excited fsr, keep up what youre doing its awsome to see

  • @chrismichaelyoung
    @chrismichaelyoung Před 8 měsíci +1

    Brasswind player, mechanic, and "armchair engineer" here.
    A huge thing about trumpet playing is that the lips form a seal on the mouthpiece. I couldn't tell if what was shown is what was being simulated, but it appears the lip model wasn't fully pressed against the mouthpiece. This would make a lot of sense why it required so much more air to create a sound, as much of the air pressure can escape around the sides.
    Playing trumpet well includes having a lot of air pressure behind the lips, as well as carefully measuring out the correct frequency for the lips to move to match the note. Air pressure is achieved by tightening the diaphragm to force the air out as hard as possible. Face muscles control the tightness of the lips. The process of playing is an intricate dance of maintaining air pressure, matching lip frequency to the desired note, and using the correct valves.
    Also, the bowl inside the mouthpiece affects tone as it changes the shape of the lips and how far apart they can move. When the lips have a shorter distance to travel, they can trill faster, creating a higher frequency. Novice trumpet players can reach higher notes by pushing the trumpet into their lips, forcing the lips further into the mouthpiece to make it easier. Skilled trumpet players have developed their facial muscles enough to tighten their lips without having to do this. Ideally, you don't want to strain your neck by putting any more pressure than is necessary. Some trumpet players make vibrato by repeatedly pressing the instrument into their lips to vary the tone and pitch at the same time. Also, different mouthpieces have deeper or shallower bowls to make it either have a more "full" sound or easier to play higher.
    Hope this helps. I've enjoyed your engine sim adventure since the beginning. Seeing you make something from it that touches upon more than one of my interests makes me very happy.

    • @chrismichaelyoung
      @chrismichaelyoung Před 8 měsíci

      Another tidbit, intonation is also controlled by the first and third valve slides. You would have to look up which notes need it, as I've forgotten at this point. I play the baritone mostly and haven't seriously touched a trumpet in over a decade.

  • @marshalltrogers
    @marshalltrogers Před 8 měsíci +3

    The timbre of the sound is much more saxophone than trumpet, but the valve sound is unmistakable. Incredibly cool!

  • @AsherLimaPapa
    @AsherLimaPapa Před 8 měsíci +27

    This is absolutely incredible from start to finish. The data visualization is a master class in visual representation, and the project itself is just mind boggling.

  • @facepalmfitzy6970
    @facepalmfitzy6970 Před 8 měsíci +1

    Trumpet player here, been playing for about 13 years and just finished my degree in games development. WOW!! Christmas has come early! I find it super interesting that despite modelling it off a real Bb 'key' trumpet (i.e, when you play a 'C', it sounds like a 'concert pitch' Bb), it sounds like it's tuned to Ab. It was a super minor section in the demo, but when you demonstrated the crescendo (going from low volume to high volume), I was blown away by how it accurately simulates the sound 'opening up' - something that trumpet manufacturers can play with to change the character of each instrument. This is awesome!

  • @sirgagalot5009
    @sirgagalot5009 Před 8 měsíci +1

    I want to say that its impressive how you send the information to the viewer. I dont know most of the things you say but somehow I understand everything.

  • @wesb9546
    @wesb9546 Před 8 měsíci +12

    You're one of a kind man, keep up the insane work!

  • @MASQUALER0
    @MASQUALER0 Před 8 měsíci +3

    This is incredible! I was doing a project a while ago, where I simulated the sound of a guitar string with the wave equation + diffusion equation, I was never able to get it to run in real time , but this video has inspired me greatly!

  • @jomiar309
    @jomiar309 Před 6 měsíci

    Former trumpet player, now engineer who had to give up dreams of programming interesting side projects. I'm floored by what you've done here! Absolutely amazing! I was just recommended your video today, but will now follow with interest!

  • @stanislavspacek2270
    @stanislavspacek2270 Před 8 měsíci +5

    Former french horn player here. The sound character is amazingly close to the real thing. This is going to be huge once out. Good luck man

    • @morbidmanmusic
      @morbidmanmusic Před 6 měsíci

      this audio is no where near what modern horn libraries are currently. It is one aspect of a useful addition to what we have.

    • @ClideGeardenaweseomeness
      @ClideGeardenaweseomeness Před 6 měsíci

      @@morbidmanmusicI think physical modelling will surpass sample libraries in the future

  • @BloodyMobile
    @BloodyMobile Před 8 měsíci +3

    With the speed that this guy cranks out acoustic simulators, we're gonna have basically everything by the end of the decade xD
    It's just amazing. I also did /not/ know that lip "vibration" is a factor for making a trumpet's sound. The more you know.
    I simply thought it's like a flute, just that for some reason you put the mouth piece over your lips, instead of the other way round with flutes.
    But beyond that, I never bothered wondering about it. Now I do.

    • @realityDUBSTEP
      @realityDUBSTEP Před 8 měsíci

      Yeah, if you just blow air it won't make any noise.

    • @BloodyMobile
      @BloodyMobile Před 8 měsíci

      @@realityDUBSTEP so a trumpet is basically a "fancy" Kazoo.
      Although it's more likely the other way round, but this is funnier to me xD

  • @daniel46245
    @daniel46245 Před 8 měsíci +5

    Fantastic video as always, keep up the great work. I can’t wait to see what’s to come!

    • @AngeTheGreat
      @AngeTheGreat  Před 8 měsíci +3

      I will and thanks for the support 🙏

  • @yogurtbunn5394
    @yogurtbunn5394 Před 8 měsíci

    I've always wondered how trumpets worked and I was not expecting to learn it from this channel, but I'm so glad I did. This is mindblowing

  • @SpringySpring04
    @SpringySpring04 Před 8 měsíci

    This is quite possibly the coolest thing I've seen come out of this fluid simulation project you've been working on. I've been following this project since the first video of the car sound engine, and I downloaded the build of that as well as the steam engine simulator on (ironically) Steam. I love this content! I hope good things come of this project!

  • @LautaroLosio
    @LautaroLosio Před 8 měsíci +16

    This video devoured my internet bandwidth like a snack... What truly blows me away about you, and this resonates with me (haha, resonates), is that you give your 110% in everything you do. In this instance, not only is the video content top-notch, but the production quality is off the charts. I mean, even your compression settings seem like you've mastered them to perfection just to deliver the most incredible results. Simply mind-blowing.

  • @ragingram2
    @ragingram2 Před 8 měsíci +6

    Oh my god, this is an amazing project. As a passive fluis sim enthusiast, you have just reignited my passion for this field thank you! 1 tip, i think 1 of the reasons why you needed so much pressure to make a noise is the mouth piece. Not sure if the modeled mouthpiece is the same as the simulated one, but the concave section is too small. From what I remember from playing a trumpet in middle school is that the domed section in the mouthpiece was much deeper, and the walls where thinner. Hope that makes sense haha, can't wait to see the next update of this!

  • @Fatman_
    @Fatman_ Před 8 měsíci

    I did my master's thesis on CFD analysis of airflow through a brass mouthpiece - it's interesting to see someone else look at this problem and tackle it so computationally efficiently!

  • @gregottorry2994
    @gregottorry2994 Před 8 měsíci

    i was waiting for your next video to pop up on my feed but this was too unexpected, great job as always

  • @lukewilliams1518
    @lukewilliams1518 Před 8 měsíci +3

    the lip simulation could be used as a Reed Valve used in some 2 stroke engines

  • @matthewdodds8521
    @matthewdodds8521 Před 8 měsíci +9

    During your research did you use the book Computational Fluid Dynamics with Applications by John D. Anderson? It uses a finite difference approach which can be easier to program. The other very good book that maybe you used is Introduction to Computational Fluid Dynamics - The Finite Volume Method by Versteeg. This book really gets into the details of the solvers, PISO and SIMPLE.

  • @benfox7304
    @benfox7304 Před 8 měsíci +2

    This project is so cool! From what I’ve read about mouth pieces, they actually function as Heimholtz resonators, with another pressure boundary (or whatever its called, like the bell) at the base of the mouthpiece cup. This junction is the interior point at which the vibrating column of air reflects. In real trumpets, the size and taper of the backbore - as well as whatever gap there is between the end of the mouthpiece and the beginning of the leadpipe - has a large effect on tone and slotting (how easily the notes pop out when you play). And the size and shape of the cup also affects whats going on. I know thats a lot of extra stuff to model but would you consider it?
    Other fun aspects of brass instruments which I’ve wanted to see modeled for a very long time are curvature and bracing. The curves in the pipes of brass instruments seem to function as longer pipes than the straight sections. Brace placement/rigid points along the tube also affects slotting and intonation.
    I know you’re trying to keep things simple and only doing a straight tube right now but these are some things I would absolutely love to see. Amazing job!

  • @keeganplayz1875
    @keeganplayz1875 Před 5 měsíci

    As a clarinet player (and hobbyist musician) i found this video very pleasing. It sounds REALLY good.

  • @brgrking.whopper
    @brgrking.whopper Před 8 měsíci +9

    To be honest, when I heard about NordVPN, I was immediatly annoyed. But when you said you did your research and then proceeded to explain exactly what a VPN does, my face lit up. You are the first person I`ve seen to do that with such a sponsorship and it`s sooo refreshing to notice someone taking some time, so they don`t just shout out some false claims for quick money. Especially the HTTPS part gets overlooked so quick! Huge respect to you!

    • @lottievixen
      @lottievixen Před 8 měsíci

      as a tiny bit tech savvy person, i feel exactly the same with VPN sponsors, this was refreshing.

    • @sergio3674
      @sergio3674 Před 8 měsíci

      Hahaha I skipped that part, and now I'm curious and I'm going to watch it

  • @ldcent8482
    @ldcent8482 Před 8 měsíci +4

    The detail in the attacks of those notes is insane. If someone works out a comfortable mapping for pitch+velocity, this would be an incredibly useful VST synthesizer on its own :D
    Keep it up!

    • @YCbCr
      @YCbCr Před 8 měsíci +1

      Envelope generators and such buzz through the mind. :) MIDI control?

    • @ldcent8482
      @ldcent8482 Před 8 měsíci

      @@YCbCr This has got to be one of the most generalized physically modelled synthesizers right? Is there even anything we can download right now that would be able to simulate arbitrary horns and intonation at this level?

    • @YCbCr
      @YCbCr Před 8 měsíci

      @@ldcent8482 I don't know, is there? The excitement is VERY real anyway!

  • @tommy.eklund
    @tommy.eklund Před 8 měsíci

    Your content just keeps getting more and more impressive. Awesome stuff!

  • @jameskolby
    @jameskolby Před 8 měsíci +2

    As a trumpet player, and a CSE student in a computer graphics class, this is amazing! Idk if it would help, but if an IRL trumpet student is overblowing, it often means they have to tighten up their lips a little. When you have air blown way too hard in the simulation, you can hear the pitch change as the pressure changes the forces on the lips. As a trumpet player, my best sound is made by balancing the tension in my lips with the air pressure. A way to measure if you hit a reasonable balance is to study the amplitude of the sound. When you have a good tension for a given pressure, the horn will resonate better and become louder. This is not necessarily the sound all musicians aim for, but it is a discrete and measurable goal that's good for beginners.
    I noticed that the simulated trumpet's tuning slides are all pushed in all the way. Pulling out the main tuning slide and the 3rd valve slide (at the same time as the valve is pressed) should improve the overall sound and make the intervals between notes more even. Another thing to consider would be to add tonguing, where the tongue is used as a valve to quickly start each new note. This would eliminate some of the out-of-tune movement of pitch when the valves and slides move.
    I really love this project you've made! If you have any questions about real trumpets, feel free to hit me up.

  • @clusterfork
    @clusterfork Před 8 měsíci +8

    Dude you’re such a role model for me. I’ve always had ambitions to write a ton of simulations myself, but you’re actually doing it, fast and in amazing detail. Do you take apprentices? 😁

  • @ernesto1654
    @ernesto1654 Před 8 měsíci +3

    If you don't have the bell it is expected that you need a lot of air to make it sound. Probably the amount of air you need to pump will be reduced a lot once you add the bell.

  • @brunojambeiro6776
    @brunojambeiro6776 Před 8 měsíci

    Every video that I see on your channel inspires me to be a better programmer. Just started my degree in computer engeneering and hope to improve my skill and get closer to doing projects like this.

  • @joaotragtenberg
    @joaotragtenberg Před 8 měsíci

    This is amazing!! The work you put into a 3D simulation together with this audio rate sampling physical modeling synthesis is absurd!
    I would like to see more of the visual results to get more intuition into how the trumpet works, see the standing waves, the waveform of this mouthpiece model, how it changes due to pressure or opening of the lips...

  • @treelydowd1362
    @treelydowd1362 Před 8 měsíci +4

    Oh my god. Oh my god. This is AWESOME! First of all, this video showed up in my feed while i was in a practice room practicing trumpet. Second, when this is finished, PLEASE PLEASE PLEASE PLEASE PLEASE make a VST3, AU, and AAX plugin for this if you can.
    Also! As a trumpet player and an audio engineering student I have a few observations, questions, and suggestions which you may or may not have already taken into consideration:
    It sounds like a french horn, or other low brass instrument. Making it sound more like a trumpet (i.e. generally brighter) is going to come down to the resonation of the metal in the bell. I couldn't tell if you were simulating the actual metal itself resonating, but the temperature, thickness, material, and plating of the metal is going to be very important to the sound. Heres a few parameters that I think could improve the accuracy of the simulation (and are also interesting to tweak): metal materials (i.e brass, copper), plating (gold, silver, none), presence of lacquer, Bore size, Bell size, Bell thickness, Different mouthpieces(??), just to name a few.
    I noticed that your tuning slide wasn't adjusted at all. Unless it is VERY cold in your room, you are going to need to put it out a little to get proper intonation. Also, when playing middle D (Valves 1&3) the third slide will need to be extended slightly, and fully extended when playing middle C# (123) for proper intonation otherwise they will be very sharp.
    On the topic of the bore and the bell, these things have a significant effect on the brightness and tone. I play a Bach Stradivarius Model 25L, meaning it has a relatively small bell (brightens the tone and increases projection) and a large bore increases the richness but requires significantly more air. I've played quite a few other trumpets and the difference in intonation and playability is massive.
    Mouthpiece - not sure if you did research into this. Theres a bunch of different parameters for this (cup size, depth, shape, rim size, thickness, etc.) and it affects both intonation and playability. Each mouthpiece has its pros and cons in terms of range, tone, and playability. You can buy a screamer mouthpiece for playing lead and screech all day long but it wont be very rich and warm. Im not sure if any of that applies tho, as theoretically the simulated lips aren't subject to pain or fatigue.
    Again, if you aren't already simulating resonating metal id say do that first, as it has an enormous impact on tone.
    I know thats a lot of things to simulate, but I think it would make a significant improvement. Also, I think the most impressive thing here is what you've done already. It sounds like a brass instrument, and it does tuba pretty convincingly. You just need a few finishing touches (and high end).
    It would be super cool to see this released to the public, but regardless I'm dropping a sub on patreon right after I finish typing this out so I can start playing around.
    The ramifications for this in the production community are insane. Hyperrealistic brass instruments right in your daw???? Theoretically, this simulation could be used to recreate room reverbs, without the need for an Impulse Response and convolution reverb. I wonder if there is enough performance optimization available to make a sim that large work effectively in real time.
    Anyways, this is super awesome, and bravo for making something real that I've only ever dreamed about. I can't wait to see how you improve this, and whatever other projects you have in store.

  • @ow_will
    @ow_will Před 8 měsíci +3

    I was thinking about how you could use a fluid simulation to simulate a subwoofer or smaller speakers in a range of different enclosures with different sizes and such, and how different length ports and transmission lines change the sound and group delay and such, it would be a cool video, I don't know how hardware intensive it would be but it would be cool.

  • @r.faj.5636
    @r.faj.5636 Před 8 měsíci

    😭It's beautiful. I can't wait to see where this goes. I need to try this. Can't wait to show this to my friend who plays trumpet. Gonna need this on steam please. If you don't mind.

  • @termx260
    @termx260 Před 8 měsíci +1

    18:42 thank you for making this accurate representation of a 350z flyby

  • @il_danza
    @il_danza Před 8 měsíci +13

    You could make it as a VST so it can be played with midi inside a DAW or other programs. There aren't many pysical trumpet simulation so it could be interesting

    • @JXter_
      @JXter_ Před 8 měsíci +1

      Because of the embouchure needing to be emulated, this isn't so easy to replicate or achieve using a MIDI keyboard, but I do agree that this would be great. Solo trumpet VSTs and sound fonts tend to sound less than ideal for a quality recording, so something like this would be incredible.

    • @steamer2k319
      @steamer2k319 Před 8 měsíci

      An EWI would be the way to go. I don't think they do anything for embouchure transcription but it's still closer than a keyboard or a mouse. 😊

    • @doppled
      @doppled Před 8 měsíci +1

      @@JXter_ DAW would let you adjust embouchure with things like, automation, without having to manually play it on a midi keyboard

  • @MenkoDany
    @MenkoDany Před 8 měsíci +12

    First of all, this is amazing and thank you for showing us your work. I understand this is a giant technical feat and worthy of praise and I agree with everything you said. Second of all, the moment the trumpet started playing, I burst out cry laughing and haven't stopped since

    • @d10valentin
      @d10valentin Před 8 měsíci +1

      You get taught in most science classes to show your work, this is just a side effect. ;p

  • @MrSaemichlaus
    @MrSaemichlaus Před 8 měsíci

    It's so awesome that you're coming through with all of these cool ideas! Once again, a smart and passionate person will make a difference in multiple industries if given an opportunity.

  • @AbdullahBilik
    @AbdullahBilik Před 8 měsíci

    now we are getting closer to a real world simulation, you have the motor/piston simulation, now the fluid/air simulation, it is not far away from creating a something bigger, awesome work!

  • @erenjaeger5344
    @erenjaeger5344 Před 8 měsíci +5

    The mathematics reminds me very much on my recently finished university project about finite difference methods for electrodynamics (Since they are also hyperbolic equations).
    You said something about further sources about the math behind your simulation is available in the video description. But I can’t find any link.
    Edit: Links are now available. Thanks!

    • @AngeTheGreat
      @AngeTheGreat  Před 8 měsíci +2

      I forgot to add them before, but they should be there now. I have some additional links that I'll post later as well, I'm just trying to collect them all lol

  • @Hendiadyoin1
    @Hendiadyoin1 Před 8 měsíci +2

    Sounds already great, even with parts missing
    Just a few questions:
    Do you handle partial valve opening, not that I know how that sounds on a trumpet?
    And do you think it's feasible to simulate the resonance characteristics based on the material and shape of the tube, to my knowledge it's a important part of the sound of some instruments, and I guess it could be approximated by estimating the volume change of the tube based on the internal pressure.
    Anyway keep up the great work, always learning something new watching your videos

    • @AngeTheGreat
      @AngeTheGreat  Před 8 měsíci +3

      Partial valve opening: this is accounted for in a realistic way. If it wasn't accounted for, the transitions between valve released/pressed would sound extremely harsh and synthetic. The simulator does allow you to hold the valve in the middle position if you really want to.
      Material resonance: "maybe". To some degree it supports this when it comes to sound wave reflection, however, the vibration of the material is not something that I've really looked into in great detail.
      Thanks for watching!

  • @HoboWithWifi
    @HoboWithWifi Před 8 měsíci

    Awesome work ange! One thing I didn't hear you mention was the resonance of the trumpet itself. It probably isn't that important since even plastic trumpets sound like trumpets, but you can definitely hear the difference between someone who clutches their trumpet very tight and someone who lets it hang off of their fingertips. The shape of the bell is designed to make this ringing as loud as possible. I know Le Redditors won't like using a convolution filter for this but I think that makes the most sense here.
    Anyways I love how your model shines when moving between notes. Those moments really give the model a personality. I hope you continue to learn to play your real and your virtual trumpet!

  • @twipps7700
    @twipps7700 Před 8 měsíci

    This is a pretty mindblowing video, definitely could see this being used in countless way. Amazing stuff man

  • @mittensglover
    @mittensglover Před 8 měsíci +3

    This is an absolutely fantastic simulation! I have some experience playing both woodwind (flute) and brass (French horn) instruments so this was really fun to watch!
    I’ve seen a couple comments from people who play the instruments about things like lip stiffness and the area of the mouth, so I thought I’d add something else! I realize this might make your work exponentially harder, so feel free to ignore it, but the material of the instrument does have an effect on the sound. The various metals used in the instrument have different resonances so they can affect how warm or bright the resulting sound of the instrument is.

  • @cpt_nordbart
    @cpt_nordbart Před 8 měsíci +4

    I see someone creating VSTs based on this.

    • @hammerth1421
      @hammerth1421 Před 8 měsíci +1

      I was about to say, people would pay an arm and a leg for a VST of this. I think VSTs can't be multi-threaded though, so you'd need to run it as a seperate program and record and export the audio.

  • @jnevercast
    @jnevercast Před 8 měsíci

    Very impressive, Ange. As always! This simulation is fantastic and I'm really excited to see what this means for future iterations of Engine Simulator. I love the fluid simulation visuals, as well as the math thrown in. These videos have something for everyone, regardless of interest or familiarity with fluid simulation or, now, musical instruments. Incredibly well done mate. 👍