Getting Started - Simple Tutorials with Sample Codes

SDK for VST 3 audio plug-in and host development.
Post Reply
bperrin
Posts: 5
Joined: Tue May 14, 2019 11:44 am

Getting Started - Simple Tutorials with Sample Codes

Post by bperrin » Sat May 18, 2019 12:54 pm

--------------------------------------------------------------------------------------------
English version
--------------------------------------------------------------------------------------------
Hello,

I am french and teacher in computer science. I begin in the development of VST. However I have not managed to find a well explained tutorial, as well as examples of simple codes (.pro project with Qt or Visual Studio project).

Thank you in advance for your help,
Best regards.

--------------------------------------------------------------------------------------------
French version
--------------------------------------------------------------------------------------------
Bonjour,

Je suis français et enseignant en informatique. Je débute dans le développement de VST. Cependant je n'ai pas reussi a trouver de tutoriel bien expliqué, ainsi que des exemples de codes simples (projet .pro avec Qt ou projet Visual Studio).

Merci d'avance pour votre aide,
Bien cordialement.

bperrin
Posts: 5
Joined: Tue May 14, 2019 11:44 am

Re: Getting Started - Simple Tutorials with Sample Codes

Post by bperrin » Sat May 18, 2019 3:23 pm

found this, but I do not understand, there is no .pro ... How to do ???
Link: http://matt.eifelle.com/2009/12/01/vst- ... -a-qt-gui/

------------------------------------------------------------------------------------

J'ai trouvé ceci, cepenant je ne comprend pas, il n'y a pas de .pro... Comment faire ???
Lien : http://matt.eifelle.com/2009/12/01/vst- ... -a-qt-gui/

olilarkin
Posts: 23
Joined: Tue Jun 21, 2016 11:49 am

Re: Getting Started - Simple Tutorials with Sample Codes

Post by olilarkin » Sun May 19, 2019 5:56 pm

You can follow the instructions in the VST3_SDK root level readme, to build the VST3_SDK examples using CMake

https://github.com/steinbergmedia/vst3s ... /README.md

VST3 SDK examples are a lot better than they used to be, but still challenging at first.

Most people use a framework to build plug-ins such as:

JUCE: https://juce.com/learn

IPLUG2: https://github.com/iPlug2/iPlug2

ASPIK: http://www.aspikplugins.com

DPF: https://github.com/DISTRHO/DPF

JUCE the most popular and it's a commercial product with lots of tutorials

The Audio Programmer youtube also has lots of JUCE tutorials:

https://www.youtube.com/channel/UCpKb02 ... J1A/videos

bperrin
Posts: 5
Joined: Tue May 14, 2019 11:44 am

Re: Getting Started - Simple Tutorials with Sample Codes

Post by bperrin » Mon May 20, 2019 10:29 am

--------------------------------------------------------------------------------------------
English version
--------------------------------------------------------------------------------------------
Thank you very much for your return, I will look at that.

I still have a question, since Juice is a commercial product, what is the best alternative in the proposed one? IPlug2?

Thank you in advance for your return.

--------------------------------------------------------------------------------------------
French version
--------------------------------------------------------------------------------------------
Merci beaucoup pour votre retour, je vais regarder cela.

J'ai encore une question, étant donnée que Juice est payant, quelle est la meilleur alternative dans celle proposé ? IPlug2 ?

Merci d'avance pour votre retour.

User avatar
pongasoft
Posts: 73
Joined: Sun Mar 11, 2018 5:57 pm
Location: Las Vegas, USA
Contact:

Re: Getting Started - Simple Tutorials with Sample Codes

Post by pongasoft » Mon May 20, 2019 1:01 pm

I am the author of Jamba https://github.com/pongasoft/jamba which is an open source and 100% free light VST framework. One of the main goal being the ability to very quickly bootstrap a VST project (generate a fully buildable, testable, editable and deployable plugin with a simple command).

You can read more about the announcement here https://www.pongasoft.com/blog/yan/vst/ ... ing-Jamba/

Feel free to contact me if you have any questions...

Yan

bperrin
Posts: 5
Joined: Tue May 14, 2019 11:44 am

Re: Getting Started - Simple Tutorials with Sample Codes

Post by bperrin » Mon May 20, 2019 2:09 pm

--------------------------------------------------------------------------------------------
English version
--------------------------------------------------------------------------------------------
Thank you, I just tested IPlug2, I find the framework quite easy to use for the moment.

However, I do not really understand how to recover and display information like latency and the number of frames. There are many functions, GetLatency () and the integer nFrames, but even with a GetParam (nb) -> Set (nFrames), it does not work ...

--------------------------------------------------------------------------------------------
French version
--------------------------------------------------------------------------------------------
Merci, je viens de tester IPlug2, je trouve le framework assez simple d'utilisation pour le moment.

Cependant je ne comprends pas trop comment récupérer et afficher des informations comme la latence et le nombre de frames. Il y a bien des fonctions, GetLatency() et l'entier nFrames, cependant même avec un GetParam(nb)->Set(nFrames), cela ne fonctionne pas...

olilarkin
Posts: 23
Joined: Tue Jun 21, 2016 11:49 am

Re: Getting Started - Simple Tutorials with Sample Codes

Post by olilarkin » Mon May 20, 2019 2:44 pm

iPlug2 is work in progress, but nearing production ready

Initial plugin latency is set in samples in config.h. The nFrames argument to ProcessBlock() tells you how many samples in that block.

The Slack is the best place to ask https://join.slack.com/t/iplug-users/sh ... GI4OTY2YTU

bperrin
Posts: 5
Joined: Tue May 14, 2019 11:44 am

Re: Getting Started - Simple Tutorials with Sample Codes

Post by bperrin » Mon May 20, 2019 4:01 pm

--------------------------------------------------------------------------------------------
English version
--------------------------------------------------------------------------------------------
Thank you very much olilarkin, hell I would like to know if it is possible with Iplug to recover all the latencies of the tracks on which a plugin is put in order to realize a latency compensation on the fastest tracks by taking the latency the most long.
Thank you in advance for your return.

--------------------------------------------------------------------------------------------
French version
--------------------------------------------------------------------------------------------
Merci beaucoup olilarkin, enfaite j'aimerai savoir s'il est possible avec Iplug de récupérer l'ensemble des latences des pistes sur lesquels un plugin est mit afin de réalisé une compensation de latence sur les pistes les plus rapides en prenant la latence la plus longue.
Merci d'avance pour votre retour.

Post Reply