 Hey, it's Anfa and today we're gonna make a full bridge rectifier using open source audio plugins so here I have Karla which is an open source non-linear plugin host and to see what we're doing first we need a plugin that will show us the signal or the virtual voltage that we're going to be creating and transforming so let's use a scope simple scope stereo will do alright let's now open the user interface and this is the scope I'm gonna make it stay on top now what we need is an oscillator because we want to simulate turning alternating current into direct current so we need an oscillator oscillator I like these LSP oscillator and we can open its interface to and by default it produces a sine wave at 440 Hertz we want to change this to 50 Hertz just like the power lines okay it's almost 50 Hertz I think I can actually use the generic parameter list to yeah I'm gonna type here 50 okay we have 50 Hertz perfect let's verify that yes it's 50 Hertz okay now we need to connect the two so we can see this wave on the oscilloscope I'm gonna make this one stay on top two so we need to go to the patch bay actually I'm going to move them away for a while because we need to find the newly created plugins here is our oscillator now where is the now there's the scope great great scope alright so let's connect output of the oscillator to the oscilloscope and you can see here is our signal I'm gonna maybe make the window larger so you can see better now it's jumping around so I can turn on the continuous trigger so that's gonna detect when the signal is rising and it's going to snap it up I'm gonna also change the lower the amplitude a little bit so it's not clipping and it crashed okay so here we have our alternating current and we want to produce direct current below so how do we do this well there's a plugin called diode processor let's add it in it's created by Steve Harris and what this plugin does is simulates a diode circuit so let's find this plugin I think there is so let's connect output of our oscillator to the diode processor and output of the processor to the oscilloscope and you see right now it's not doing anything but if we open up the user interface of that diode processor plugin you can see we can change some things and there is here's a mode switch so the mode is by default none we can go to one for half wave so let's set a value of one and you can see we have what a diode would do which is a single diode puny rectifier so this is already a DC okay it's not DC but it's kind of sort of approximating DC but we can do better we can go for full wave which means it's going to act as a full bridge rectifier which not only clips the waveform to only leave the positive voltage but also inverts the negative wave part of the waveform and flips it up so all of them in the voltage is now positive voltage so this is this is better because this is more efficient right we're not wasting half of the energy we're using all of it but this doesn't look really like direct direct current it's still very bouncy it's oscillating right so what we need is a filter and what is a filter if not just a capacitor and the resistor put together right so I'm going to add a filter we need a low pass filter and I like this Glaim or G-Lame low pass filter it's I've tested it and it's really good for this purpose and let's find it oh there it is all right so now we have our diode processor and we want to put the output of that through the flow pass filter so I'm gonna send it here disconnect this and connect it after the filter output and right now it doesn't do anything we have the same oscillating waveform as we had before but now we go to the filter settings go to parameters and we see the cutoff frequency it's currently at 2.6 kilohertz let's go down and you can see we are slowly smoothing out the waveform and if I go to the lowest possible value of 4.8 Hertz we're basically filtering out all the differences and this is pretty much direct current so if I zoom out and I can disable the trigger you can see that right now on the input of our oscillator we have oscillating waves and on the output we have pretty stable direct current and that's how you make a full bridge rectifier using open source audio plugins okay so now I want to see what happens when I connect the rectified direct current to my speakers and we should see a movement of the diaphragm it should move forward and like with tweaking the volume I should be able to just move the diaphragm front and back just like an actuator so I don't need headphones right now so let me turn on the speakers okay all right let's do this let's see okay turn up the volume okay it's it's moving wow it works oh I hope you found this useful or interesting or at least entertaining thanks for watching I also want to thank all the people who support my work financially if you dear viewer would like to join them head over to patreon.com slash anfa or libera pay dot com slash anfa where you can give me a buck or two every month anyway I'll see you in the next video bye