Placeholder Image

字幕列表 影片播放

  • I don't raise the rock.

  • Oh, I don't hear it.

  • I am ready to rack.

  • Okay, so let's go way.

  • So, yeah, every single car voice proceeds by JavaScript and actually Web or your stuff.

  • So before I go and deep how to make it I just introduced myself.

  • So my name is Italy.

  • I'm Ukrainian.

  • Who listens?

  • Working important.

  • 90 tickles Broads, love.

  • I'm working for a company called Weapon Systems.

  • I'm co organized in angle of roads, left meet ups here.

  • And yeah, I have hold me to play a guesser.

  • Time to time and to relax.

  • You can for months Visa This my candle and my personal work.

  • So Web Odo.

  • What is that?

  • How we can use it?

  • Actually, weapon audio is you need directed graph that contain our dear nodes.

  • So what is sexually union directed graph?

  • It's a bunch of dots connected with some directed arrows.

  • Basically, we have some input or source off our sound.

  • And be careful, I'll put between source and output.

  • We have some knows that's going to at some effects process audio, our rodeo, analyze it, whatever.

  • And we have the same for neater stack the kalfan input our instrument and we have output speakers or some stack of speakers on between those.

  • We have some effects amplifiers, cabinets, distortions over drives, all this stuff.

  • So, first of all, how we can connect our gifts are to rep order.

  • To do that, we feel so full.

  • Create an audio context.

  • So we create in our order contacts and is a man point where the operating out d'oh graph them really question the media using Navigator media devices.

  • And if we want to use only order, real question order.

  • It's easy, Yeah, but it won't be that easy.

  • So wait for a moment to use an instrument as a stream.

  • As I said, Be requesting order.

  • True, getting user maeda, but two clean up our sound.

  • We need to use some constraints because by default browsers applying echo cancellation, noise suspension out a gain control and some Latin cito our input.

  • Soto have their clean input.

  • We need to use those constrains enters the last step.

  • We created him and made a stream source.

  • There's the stream that goes through our input throughout your car and then reconnected.

  • Our source risked context destinations at our speakers or another destinations that we can choose in our system.

  • So when we can exception, we want to control the volume, how out it is how to do so.

  • We have a special loads gain note, and we can imagine our sound wave as a sign Empty fi divided by two or multiply by a CZ 05 We will get the smaller signed wife, and the amplitude off this sine wave actually means our volume.

  • How out our sound.

  • So to reduce sound, we need to divide by two.

  • To increase south, we need to multiply, but some number so house looks and called decorating our gain note using constructor or factory matter on context, and after that we can apply.

  • Will you?

  • We use gain note gain value and set up.

  • Zero will mean our sound will be muted.

  • One is it's normal, and if it tires and one, it will be louder than originally input.

  • Next.

  • We need to deal with these graph, so we kept our source.

  • Then we connected to gain no to control volume and connect a gain to this nation.

  • So let's try it.

  • How it's looks like what's does that not That's not reasonable.

  • Okay, let's desserts.

  • Okay.

  • Oh, that's so on.

  • Now it's better.

  • So, yeah, I have an application, and I have connected source.

  • Yeah, and regards this clean sound on.

  • They have a volume control so I can make it Not the cloud.

  • So yeah, it was the basic stuff, actually.

  • Is this malady I wrote myself some time ago.

  • So Okay, just effect I want to show is decision.

  • So you can't imagine an Iraq music without distortion sound And basically, what is distortion?

  • It's a group off effects that shaping our way and put sound with some function.

  • So what is this group off effects?

  • We can't feel them over.

  • Dr.

  • Distortion and Foods and all of them Still cold foods.

  • I want to Stella story How it was invented.

  • So is the past.

  • The amplifiers wasn't that good as they are now, and they were broken sometime.

  • So who if speaker was broken it SATs to produce deserted found.

  • So some people started to destroy, destroy their amplifiers themselves to get this sound before it was done by some transitions and so on.

  • Now you don't need to do that.

  • You can just use we have audio for that.

  • They don't destroy speakers so called look like again we carefully inputs.

  • That's actually a say sine wave, yes, and we apply some function to it to make it more square.

  • So this more square sound gives out our sound to be deserted.

  • For example, we can apply that functions that is here.

  • But what's the difference between overdrive, distortion and foods?

  • So the differences house moves is that curve over his wife is usually some soon lamp base, so it's more smooth curve distortions kept some more harder.

  • One and food's basically sounds like something additional.

  • It's almost flat sine wave, so toe shape out where input in way we want it we can use with shaper.

  • Note.

  • We can creating and apply a cure and Curve is a floating certitude beach airy.

  • Continue numbers that's we will be applied by audio and receive our sound.

  • So we creating some Ari the loops reads and apply on our function.

  • Then that's function will be reviewed re based on our input to achieves that deserted sound.

  • Also, we want to control, tone or even create some localization for our effect to create simple tone control.

  • We can use big what future mouth Reese.

  • Type off Lopa Slow pass because future means that everything's the ever since that goes down to some particular frequency will be cut off from our sound.

  • So controlling uses a frequency of this filter from lower 352 highest.

  • We controlled it.

  • If I was, sounds will be higher or lower.

  • That's right.

  • So I kept a bunch off decisions here.

  • So now we have a clean sounds.

  • Yeah, let's write some overdrive.

  • Let's try to use some tone.

  • We can make it darker thing.

  • Okay, let's switch to some distortion more.

  • Harry sounds okay.

  • I have something more.

  • It's quite noisy, but it's sounds like something.

  • Yeah, that sounds really nice, but it's still sounds digitally.

  • So to make it more realistic, we need to simulate cabinets or amplifiers.

  • So simulate amplifiers.

  • We can use something called impulse response, so it's a short sample, really just a second or even less that captures their impulse response from some really.

  • Device imagines this impulse response like a photograph off the sound.

  • So, like photograph is, uh, taken a snapshot off some light at some moment.

  • The same this impulse response.

  • We have a snapshot off something in real life, so how to apply it in order began Use special note Can Volver note And it's actually really awesome because Zet note heights a lot of complexity.

  • It gets this impulse response for you and applies it to be a fuss free of transformations.

  • So all heavy work was done for you by Conover Note.

  • So you just fiction and impose response, then converting it to our A buffer.

  • Zanzi ary buffers need to be decoded by order context and applied as a buffer for control over also usually amplifier scarce actualization at least three benthic riser So we also want to do it.

  • So what?

  • This sexually free bent equalizer we kept bus is everything that goes behind 500 We can't Mido that takes from 500 to 3000 and struggle that takes every sink, eyes and 3000 girls and we have special notes for that.

  • In the audio, the can again use be quiet fields or no, but different types off filters now.

  • So we use a little shelf.

  • What does it mean?

  • It takes everything's that is above the frequency and cut itself peeking its stake their nearest range from the provided frequency and amplifies it high shelf.

  • It takes everything that, uh, above some frequency and amplify ices and cut off everything behind billows this frequency.

  • That's right.

  • Okay, so I have is it just is also kind of crash amplifier way Turn it off s so it sounds more really sick and we can apply different impose responses to get a different kind of probably fire simulators meant Let's strike tow, you sexualize er, let's cut off all middle frequencies or increase them Beast Rebel, um distortion result Fire first.

  • Who had supply our You can go there notes right now.

  • So it's making our sound more really sick.

  • Yeah, and tossing.

  • Usually when some company doing sounds record in their plight If a colt reverberation to art from volume to the record you so basically we usually to hear some sounds more realistic.

  • We imagine it in some space in the room or hole or something else.

  • So how to do it is about is more complicated effects to implement.

  • So basically, we want to split our input into a few two channels.

  • Just what will be cleaning channel on untouched completely.

  • We will mix it with their modified stream merging it again as them.

  • And on the second stream, we want to slightly g way our sound.

  • So express their times that gets for the sound too.

  • Goes to the vaults and come back to you.

  • So it's trying to, uh, do the same thing that in real wars, then we apply some the tone control of his be quiet filter and apply special in police response.

  • You can not only have imposed responses for amplifiers, you can have it for some spaces, right rooms or cancers, horse holes or theaters.

  • So then we get into this chain and merging it back to one stream, and we can switch how many untouched sounds we want and how many off modified we want.

  • So do is that mixing it out and actually been more realistic sound.

  • That's right.

  • Okay, so now we have really break that zone.

  • What's so real?

  • What?

  • It's okay.

  • Oh, for Afghan increased the way.

  • Two immolate response from some space.

  • But try some hole, okay?

  • And if you combine everything together, we can achieve some way legion gets our sounds ready for solos, right?

  • Listen, for its result celebration, it sounds without volume.

  • Let's try something more.

  • Wait, wait.

  • Way Can't do something like that.

  • So, as I tell you, before we creating all this house for reverberation the great generals, Peter first Zen recreation the delay, not recreation tone note this big part filter recreation control over and gay nose for increasing makeup.

  • Our conv over afterwards.

  • Then we creating that again notes that will be used in parallel for dry sound and recreate in murder to Maris.

  • Every cent back then we need to actually build this graph.

  • So we connection every sin chained by chain split a resilient Bill Avery stone tone with come over controller with sweat and the merger and in parallel with connections, right, You get a note to free reconnecting speeder to it and then a dry no to matter.

  • And that's how I watched you it So should recap what I showed today.

  • So I showed feels a phone call to connect your stream source to destination.

  • How to control volume using game note how to create distortion effects usually wave shape are now be quiet filter for tone control.

  • I showed how to emulate cabinets with combover nose and called tau implement reverberation using Cheryl Merger and splits or Delanoe's Be Quiet filters and making everything up.

  • So just try it at home, every also called available on Get cop application is deployed on.

  • Get capacious as well.

  • Try it and rock it.

  • Thank you for listening.

  • Wait, wait.

I don't raise the rock.

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

B1 中級

JavaScript, JavaScript....Rocks You! by Vitalii Bobrov | JSConf EU 2019 (JavaScript, JavaScript…. Rocks You! by Vitalii Bobrov | JSConf EU 2019)

  • 5 0
    林宜悉 發佈於 2021 年 01 月 14 日
影片單字