Juce Tutorial 64 - Building Your First Plug-In (2020 Update)

preview_player
Показать описание
This is an updated tutorial to the original I created in 2017 - I've learned much more since then and hope this is a more enjoyable tutorial for you!

Рекомендации по теме
Комментарии
Автор

For guys using Visual Studio 2022 and Juce 7.x.x, the reference to PluginProcessor.cpp mentioned around 37:50 might not be called "processor" but rather "audioProcessor" — so spare yourself the headache by checking this.

Also, as the code I start with (having opened Projucer's basic VST preset in VS) uses juce::Graphics, juce::MidiBuffer etc. to begin with, remember to type

juce::Slider instead of just Slider,
juce::Colours instead of Colours,

and so on...

Typing "using namespace juce" on top might be a more elegant solution for this. Haven't checked it out yet.

Hope this helps!

SoundPeer
Автор

Thanks for your great explanation. I watched 3 obsolete Vids before and was about to call it a day :D

nymoz
Автор

Man oh Man .. This took an epic effort to make it work as I believe there has been some major amendments to both JUCE and XCODE since you made this vid!!! BUT with patience tenacity and endless hours + some luck I managed to resolve the issues and get this code to function I have wanted to write code for audio for over 20 years and this is a dream come true ! A real bucket list moment! .... I even went to college and studied advanced networking in an attempt to gain the knowledge I needed to write code ( it was the only corse with coding available that I could afford ) BUT sadly none of the teachers new enough about coding to teach me how to program for AUDIO... so THANK YOU SO SO VERY MUCH !!! but It may be time to upgrade this video!

markmcdonald
Автор

Thank you. I know javascript but I am a total newbie in C++ and I built my first audio plugin today! One thing that was different on the current version of Juce is that the 'processor' reference that was auto-created is now called 'audioProcessor', so the line to get the slider value needs 'audioProcessor.mGain = mGainSlider.getValue();'😀

andreievkalupniek
Автор

I appreciate that the audio quality upgrades over the 2017 videos :-)

PartisanHypocritesEverywhere
Автор

Thanks for the upload! JUCE is finally starting to make sense!

samueleaster
Автор

why did you have to blow my ears out after the first 2 seconds haha

imagiromusic
Автор

Want to say thank you for this amazing tutorial first of all!
I more or less followed the steps in this video and now unfortunately I have run into the problem of the plugin using an absurdly huge chunk of my CPU. Has anyone encoutered the same problem? I have read a little bit on forums, and my guess now is that for some system architecture reason the CPU overloads itself with constantly repainting the GUI even when nothing is happening, i.e. when nothing needs repainting. I'll keep you updated on the issue!

FrashMex
Автор

Great tutorial. Easy to follow and great lesson in using the documentation.

minimumviablepizza
Автор

Thanks for the tutorials. Very detailed and intelligible. I could not tear myself away from the monitor, although I am sitting with a temperature

WebGarmony
Автор

Awesome Tutorial, way clearer than the old one !

Tifredi
Автор

Thanks for a great tutorial. Took me about 8-10 hours with not knowing xCode and only vague knowledge of C++ along with the need for the name changes to juce:: and the audiProcessor issue. BUT got there in the end. Probably need to go through it a few times to understand the dependencies/relationships but at least its a working start. SO now for a modulating reverb LOL

MouldyGuitars
Автор

This is really, really good stuff. Very informative, but not too slow. Great job!

jaredtravis
Автор

You explained it so well that i could easily follow!

tim-handle
Автор

As a note, if you have to go through the juce::Slider approach in your Xcode version, when we get to this line of code, you may stumble into an error:
if (slider == &mGainSlide
{
processor.mGain = mGainSlider.getValue();
}

Error: mGainSlider is not recognized under juce::Slider

A better alternative that fixes this is:
if (slider == &mGainSlide
{
audioProcessor.mGain = mGainSlider.getValue();
}

It then runs as it should

Ryan_Wiseman
Автор

my life saver ! really need it for my Master Final Project now。。。 thank you much!

smarpids
Автор

Expertly taught. Very understandable. Thanks!

dgrins
Автор

Big thanks for this Audio Programmer <3

CanidCanine
Автор

Thank You! There was a little problem but finally succeed!!

nyaa
Автор

Thanks a bunch man! I've been wanting to get into dsp programming for a long time, but didn't know how/where to start. Your video has helped immensely; and you have inspired me to take on a few plugin projects of my own.

JaredKeefer