Placeholder Image

字幕列表 影片播放

  • okay?

  • Right now, it's would be better.

  • So I know you already tired, but who of you have some rock and roll matter?

  • I'll grants.

  • Whatever.

  • Come on.

  • Okay, let's tryto make some noise.

  • Yeah.

  • Okay, so this talk, I will show you how to sell to you.

  • I'm and process music.

  • Uh, life.

  • Your instrument is jealous.

  • So before we start few words about myself.

  • My name is Vitelli.

  • I came from Poland on Dhere.

  • I'm working as a list of 20 engineer at a company called a Bomb Systems.

  • I also co organized an angle of Russell meet ups and the disclaimer.

  • I'm not a professional guitar player, so don't judge me.

  • It just Jacoby and I used to play it bunker groups when I was a teenager.

  • You can find me on feature, and you can read my block.

  • Actually, here.

  • I started to block posting some information regarding this topic that I will show today.

  • Okay.

  • So Web ordeal?

  • Yeah.

  • It exists for a while in Web standards, most of browsers can't a good supper to fit.

  • So what is it actually is provide us visa context.

  • The is which you can create a union directed graph with Order knows those order knows could be ah, get together to create some effects, create, generate some music or process life stream How it looks like we have some input.

  • In my case, it's guitar.

  • It might be a generated sound with escalators and we have announced put our speakers, headphones, whatever.

  • And between that, we have some notes connected This notes we can achieve some effect sent audio processing If you take a look at really get our stock we have for guitar We have some amplifiers cabinets and between them we have some stunt boxes with some effects like corals distortion And so so how we can actually connect instrument Ah, this could be applied to any instrument.

  • Actually is it could be connected toe an order cart but in my case is better.

  • Okay, fist, If all we need to create order, context or their context is the main object that allows you to create new notes, connect them and put it to some destination so invigorates this context.

  • After that, we request some stream Ah in Louisville used navigator made their devices and we are requesting order.

  • In my case, you can also request video, but I don't need it.

  • That is why I don't show it.

  • And actually, you can, ah catch errors if you don't grant permissions, toe order or something against run.

  • So it's optional this fine, but hey, wait.

  • I got some audio constraints for you.

  • What I mean by that.

  • So that's completely fine.

  • You can request order using Just get media order.

  • True, but by default, most of browsers apply some post processing for input stream.

  • It's completely fine for Microphone for chatting application like Ken got Skype.

  • But for Rebekah Does, they will reduce amount off our signal, which we want to use so instead to person.

  • Just true, we need to pass some constraints toe, remove echo cancellation after gain control noise suspension and provide some lead and Sian doing that, we get the most clean sound as we can from our instruments.

  • Ah, After that we get some stream.

  • We have a contest and we need to connect this stream to destination context.

  • Destination is a on default output selected in your system, for example, now should output to the speakers.

  • Um, one more thing.

  • Usually we need to control the amount of volume so not hurry.

  • Our neighbors, for example, at night.

  • So how to do this?

  • We can imagine the order signal s sine wave.

  • Yeah, and the amplitude of the sine wave is actually the amount off William for the sound.

  • So multiplying it or dividing by some numbers, we'll reduce the amplitude and reduce example itude we reduce the amount of volume.

  • How'd drinks like in code?

  • So what would Oprah wide us, please?

  • Gay Note.

  • We creating again note, and then we can apply again, will you?

  • The value of zero means that our sound completely muted.

  • Ziva really off.

  • One means that the sound not changed.

  • The volume is as it is.

  • So by Putin's values between zero and one, we can control the amount of volume or even more.

  • We can add at some values more than one and amplifier with sound.

  • So when we create such a note, we need to connect up a graph.

  • So we have source.

  • We connected toe gain note and after that connect toe destination.

  • So let's let me show you how it looks like in real life.

  • Okay, so I connected clean sound.

  • So it's nice, huh?

  • On they have this master volume control.

  • So now it's a value of one, and I can reduce it to make it or even muted completely no sounds and come back.

  • Okay, lets Miss Fish slides again.

  • Okay, so they just effect.

  • I want to show how to great with the both order is distortion distortion.

  • Often Lee used in some rock music matter.

  • And so So, Actually it's a group off effect that change our input sine wave with some transfer full function.

  • And this process gold wave shaped him.

  • So bit of history about specific back into times the equipment for guitarists wasn't that bad, is it?

  • Good?

  • Sorry.

  • And when it was broken, for example, speaker was cut off, the sound became deserted, but get replaced.

  • Lie like this effect.

  • So much so they started to destroy their speakers themself.

  • That's how it was born on Lee.

  • After few years, adjust the semiconductor effect, inform off pedal was done by different producers.

  • But now you don't need that.

  • You can use just web audio.

  • Okay.

  • As I said before, distortion is a group off effects.

  • It contains off overdrive, distortion and fuss.

  • So what is the difference between them?

  • Ah, again we can imagine our sound wave as a sign.

  • Uh, wait and ah, we applied way shape in a function to our ways and become more square doing that regenerating harmonics.

  • What is harmonic?

  • I was sound off some instrument, for example.

  • It doesn't have only one frequency.

  • It gets one A domain frequency and a bunch off harmonics.

  • Ah, as the frequencies with possibly all wear amplitude and doing wave shaping, we, uh, increase amount of harmonics.

  • So are we, um, original wave become more reacher and harder.

  • So difference between overdrive, distortion and fuss.

  • If you will see on a sound wave after we apply transfer function off different types for overdrive, it will be more curved for destruction slightly mosque where and for fuss it will be almost completely square.

  • So this such changes in that wave shape the ah reducing or increasing amount Off camera mornings we are two original sound and more harmonics reacted More effect, More harder sound be at you how it looks like this vibe.

  • O'Dea So we have, um no, some web shape or note provided by their border.

  • Why, it's awesome.

  • You just provided a lookup table.

  • These values calculated beforehand for Gare Monix, visit off transfer function and Web order applies it.

  • Using fast Fourier transforms Tour your source input So most of hard work.

  • A hidden and done for you Bye bye Bordeaux a p I.

  • So we create in some way for local table and the sign it That's a cure for way shape or no.

  • So how looks this function would be?

  • So we have some amount off again.

  • We want to are to be half number of samples for lookup table and refute with our transfer function.

  • So basically we apply floating city to array to occur and sets its after that usually is those effects decisions they have atleast one control for tone and again hard than the hard work done for you.

  • You have big but fields or nose.

  • It's a basic note for creating different types of filters, so we created a low pass filter, low pass filter except some frequency and every sin bolos.

  • That frequency will be passed through.

  • Everything that hires at this frequency will be cut off.

  • So Morgan's this frequency be reducing or increasing the amount off.

  • High frequencies, meet frequencies, sound, a low frequencies and the interesting thing that really stung boxes.

  • Also, it least some of them using such kind off, low, bus filled ring, but made these some reduced really capacitors and ah, resistors.

  • So basically, we're doing the same, but in the coat in a different way.

  • So let's try to see what the difference between over drives distortions.

  • And so first, I have some over the Rif enabled.

  • Yeah.

  • What do you make it?

  • Louder?

  • Slightly?

  • Yeah.

  • Eso here are planned.

  • The most soft transfer function I can.

  • So it's just not the big difference between sounds way.

  • I didn't know that much harmonious.

  • But, Lex, why another one?

  • This more harder function.

  • So I was sound this more harder.

  • And when I change in the amount off effect, I started college in the right way.

  • Use more amount.

  • I just recover.

  • The complacency is table off gets you forget on here.

  • We kept own control.

  • Yeah, over.

  • Yeah.

  • We have all frequencies.

  • No off our guitar frequencies reduced.

  • It sounds slightly harsh.

  • And if we reduce the amount of frequencies, it will be some modest sound.

  • So again, is just one future reaching our sound in a different place.

  • Xhosa balls over drives.

  • Now let's try some decision.

  • So I was become more harder, more, baby.

  • And that's basically difference between overdrive and distortion.

  • Let's try another one.

  • Okay?

  • And the last one for us.

  • More favor and more like digital, because this hour sound shape become almost square.

  • And again, we have tone control.

  • But in this case is slightly different.

  • I'm throwing.

  • We can make it almost.

  • Okay, that was from discussions.

  • Okay, but to make our sound more closer to really devices, uh, we would like to create some cabinet or amplifier assimilation, and we can do it using special sink called impulse response.

  • What is it?

  • Booze response is a short sample.

  • Continue in just a few minutes.

  • Seconds off a sound off a riel device.

  • I mean, speaker off, give her cabinet.

  • So if you think about you can think about it like photo photo is a snapshot off fly light at some point of time.

  • Impulse response is the same, but applies for the sound.

  • So it's a snapshot off some sound in some space at some point of time, so and again with or they'll save us and hide a lot off complicated work becomes the seals, we can use convo over note the great sis come over note, then the Lord's this impulse response file.

  • We create a Reba for free.

  • Then we decoded and applies his buffer to other cover.

  • Well, no.

  • So also sounds that you'll go through this convo over.

  • No will be goes through this impulse response so it will be adjusted accordingly to our sample.

  • And next thing usually amplifies CASS it least three Brandt equalization.

  • So to have more control over our tone stock on guitar cabinet, we want to create some three band equalizer.

  • So basically, we need to split our frequency range in stew three bands for everything below 500 gets.

  • It will be for bus control.

  • Everything above three count girls will go for travel control.

  • Everything is the middle will be middle.

  • How it looks like gold again the using big what Hilder note.

  • But now we're using another types of them for our bus.

  • Note using low shell filter while shell filter takes a frequency and everything below zit frequency will be attenuated or amplify it depending on a gay and value we did for it so we can adjust the amount off those frequencies is the opposite sink ready do for hi frequencies, this high shelf fielder.

  • So it takes the frequency and everything above that frequency will be Antonio hated or amplified for middle range.

  • We use in picking filter so it takes the middle frequency off our wrench and everything inside this arrange will be unplugged, fied or alternated.

  • Okay, let's try it out and try to see the difference between different cabinets argued.

  • Let's start with the screen.

  • So here I mean during off any Cabinet simulation, just clean sounds applies resistance from really Communists.

  • Then I can switch to Nazar Von, for example.

  • It's sound differently.

  • So is those samples made from riel devices.

  • Start your sound.

  • Maybe it won't be.

  • Is it possible without any way really, really dark way?

  • Let's try more lights or one on Dhe.

  • Let's try our three bent equalizer.

  • So let me reduce the amount of Middle Stones.

  • Dom.

  • It's sound.

  • Or if you're increasing, it will be more bright.

  • Way can increase the amount of that and troubles.

  • Okay, let's switch back to the slides, and the last thing I want to show is a re vibration.

  • What is a reverberation is the effect that tries to assimilate some spaces.

  • For example, Now we're in whole era, and this base casts his own acoustic properties.

  • So these reverberation we can emulate such spaces like holes football court, for example, or something else is this effect would be slightly more complicated.

  • So basically, we want to split our source sound in tow lines.

  • They're wet.

  • One this effect and drive one without effect.

  • Just clean sound.

  • So for wet stone, be able Create some delay.

  • No.

  • Ah, actually, when you speaking in some hole as the sound goes to the back wall and come to you back with some delays that creates for us meaning off the space inside some rooms.

  • After that we will feel to read slightly and again apply Conover note.

  • But now we will use the impulse responses from different places.

  • Usually this sample is just some clap a few more seconds off a collapse in different space and a plan can convolution on it.

  • We will get the simulation off this space.

  • Then we will merge back or that right owns and ah reducing the gain on wet and drive.

  • We will control the amount of effect We want to apply to the source.

  • So how it looks like testify recreates, please or no to split our Chandler sounds into two channels.

  • Then we do a note.

  • I don't know to his big what field converter notes and gain control to control amount off effect sound and dry note to control the amount of clean sound.

  • And we create merger to match it back.

  • After that, we need to connect them.

  • So splitter connect to delay, delay to tone tone to convey Volver con or Tibet and back to merger and turns the second Life connect dry and back to marriage.

  • Okay, let's so how the reverberation changes the sound.

  • Okay, uh, let me try this priest them so justly I will show how sound is out Reverberation.

  • Yeah, it's kind of so I'm not that good at souls, but anyway, okay.

  • Is a turn top.

  • Why is the regional sound is there any okay?

  • Yeah.

  • Okay, let's ride.

  • Okay.

  • This was a very interest out reparation.

  • Let's reverberation immolation off, Theo.

  • Oh, okay.

  • And another example, he rival show again.

  • Result of liberation and trees and I will simulate hope.

  • Uh, visa reverberation.

  • Okay, That's right.

  • Wait, Huh?

  • Okay.

  • And now we will try reverberation, and we can.

  • I just amount of space we want to see right away.

  • So what's right?

  • Way, Archy.

  • And let's switch to slides back.

  • So should recap what we learned today.

  • So, villains.

  • What is everybody?

  • How to connect your instrument To process it in real time via Svoboda.

  • How to control the amount of William using gay and know how to create basic distortion effects using wave shaper and controlled tone of effect Using Be quite filter Note how to simulate a real guitar cab.

  • Innocent amplifiers using cover over note.

  • How to create reverberation effect using mergers Preacher and Delanoe's.

  • And that's basically what I have be at 10 ekes engineers.

  • But better to be a rock star.

  • Engineers using their bodies.

  • So write out all the court of Abel on Get up there.

  • Up is open source.

  • I'm open to pull requested.

  • We want to create a new effect or fix any issues.

  • For example, my bio version.

  • That's hard for me to create right now and all these controls, so check it out.

  • Thank you very much for coming and enjoy your conference.

okay?

字幕與單字

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

B1 中級

賣掉放大器的人。如何用JS處理音樂|Vitalii Bobrov|JSConf Korea 2019 (The Man who Sold the Amp: How to Process Music with JS | Vitalii Bobrov | JSConf Korea 2019)

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