Ever wanted to learn C++ to create VST plugins? [Free Kindle eBook download for a limited time]

Discussion in 'Education' started by AudioDevAcademy, Jul 9, 2019.

Tags:
  1. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,236
    Likes Received:
    3,996
    Location:
    Europe
    Oh, and there's already a Sampler developed with JUCE and it's open source. Great place to take a look:
    https://github.com/christophhart/HISE

    Be sure to be in a positive mood before diving in the code. It's scary lol
     
  2. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,236
    Likes Received:
    3,996
    Location:
    Europe
    So true...:rofl:
    But (almost) as scary as the old assembler days is today high performance programming. I looked in-depth modern stuff about that: CPU cache-friendliness, SIMD instructions, multi-core,... and I almost lose my hair. Conclusion: I'm not programming C/C++ again :lmao:

    That's f*cked up, owing money to Steven Slate...
     
  3. Rudy Manterie

    Rudy Manterie Platinum Record

    Joined:
    Jun 4, 2018
    Messages:
    452
    Likes Received:
    225
    Location:
    Callisto
    No, no, I am talking about the pope! He is the boss of Amazon, right?
     
  4. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,236
    Likes Received:
    3,996
    Location:
    Europe
    No, that would be Brazil's president, wouldn't be??
     
    • Interesting Interesting x 1
    • List
  5. metaller

    metaller Audiosexual

    Joined:
    May 28, 2016
    Messages:
    774
    Likes Received:
    540
    Location:
    Persia
    Actually, I was thinking about doing some simple stuff that its vst plugins are available commercially, but an open-source version can be just enough.
    One of those:
    https://www.audiovitamins.com/structure

    I don't have Kindle. Is it available on Google book?
     
    Last edited: Jul 18, 2019
    • Interesting Interesting x 1
    • List
  6. Moonlight

    Moonlight Audiosexual

    Joined:
    Jun 12, 2011
    Messages:
    2,468
    Likes Received:
    762
    Location:
    Earth
    https://s3-eu-west-1.amazonaws.com/ph-reweb/europa-demo/index.html?1907180944
     
    • Interesting Interesting x 1
    • List
  7. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,236
    Likes Received:
    3,996
    Location:
    Europe
    That's cool, it's a port of a VSTi using WebMidi and WebAudio API.

    But it's not a VST. It's performance once you do something not included in the WebAudio API falls dramatically.
    Javascript is slow (compared to C++ and even Java or C#) and not real-time friendly. The only way to make a web audio app peformance comparable to the same desktop equivalent is to program it in Webassembly (mainly C++).

    Even if you program all you can in webassembly the performance is rougly x4 worse, graphics also degrade. No SIMD, no multicore (they halted multi-threading development because vulnerabilities). No maximum latency guaranteed because you still have to do Javascript, and so on
     
    • Interesting Interesting x 1
    • List
  8. Rudy Manterie

    Rudy Manterie Platinum Record

    Joined:
    Jun 4, 2018
    Messages:
    452
    Likes Received:
    225
    Location:
    Callisto
    @metaller: you don't need a Kindle. Amazon offers free Kindle apps for Android, PC, etc.
     
  9. metaller

    metaller Audiosexual

    Joined:
    May 28, 2016
    Messages:
    774
    Likes Received:
    540
    Location:
    Persia
    The book was about C++. Not about VST programming. Still nice and thanks! But already know C++ .
    Also regarding kindle, this is not free. I only got a free month, and after that it charges me.
     
  10. AudioDevAcademy

    AudioDevAcademy Ultrasonic

    Joined:
    May 29, 2019
    Messages:
    27
    Likes Received:
    38
    Exactly what we were about to say! Thanks for sharing @Rudy Manterie

    Joe
     
  11. AudioDevAcademy

    AudioDevAcademy Ultrasonic

    Joined:
    May 29, 2019
    Messages:
    27
    Likes Received:
    38
    Hi Metaller

    The book is about C++, yes. but we have more topics coming again in the form of eBook.

    Have you subscribed to Amazon Unlimited?

    Joe
     
  12. lbnv

    lbnv Platinum Record

    Joined:
    Nov 19, 2017
    Messages:
    409
    Likes Received:
    224
    Look at HISE. JUCE, open source.
    http://www.hise.audio/
    https://github.com/christophhart/HISE/

    Don't reuse the code (it's GPL, it is allowed only if you open your sources too). But for learning purposes studying the code is the best way. Install plugin, play with it, then inspect sources, read JUCE docs etc., etc., etc.

    EDIT: OOPS, Xupito have said about it...
     
  13. metaller

    metaller Audiosexual

    Joined:
    May 28, 2016
    Messages:
    774
    Likes Received:
    540
    Location:
    Persia
    No, I just got a free month. I don't plan to subscribe.

    It would be nice to have a tutorial on how to actually deploy the code.

    Thanks anyway! Your effort is appreciated.
     
  14. Moonlight

    Moonlight Audiosexual

    Joined:
    Jun 12, 2011
    Messages:
    2,468
    Likes Received:
    762
    Location:
    Earth
    Yeah I already tried Hise, I also asked him how much to pay If i like to keep my source code closed. no answer

    You know? that you have to pay if you liek to keep code closed and later sell your product...
     
  15. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,236
    Likes Received:
    3,996
    Location:
    Europe
    I don't know the details but all JUCE based products have complex licenses.
    Though it's not the only commercial framework/library that forces you to pay if you want to release closed source stuff.
    In these days when it comes to programming we can use almost literally the most expensive software (Visual Studio, JUCE, even the Intel Performance Primitives, kings of number crunching including ofc FFT/convolution) as long we don't earn money and in many cases keep the source code open.
     
  16. AudioDevAcademy

    AudioDevAcademy Ultrasonic

    Joined:
    May 29, 2019
    Messages:
    27
    Likes Received:
    38
    Hi all,

    Audio Dev Academy just wanted to say thanks to all of you who downloaded a copy of the C++ eBook from Amazon. If this was you and you enjoyed reading the eBook, please leave us a review on the Amazon store website.

    https://www.amazon.com/Lets-talk-Code-programming-beginners-ebook/dp/B07K35XPQ6/

    We're a small organisation and approval like a review on Amazon will really help us grow and reach out to more artists looking to learn these skills.

    Many thanks and look out for our next free giveaway by following the thread on the forum or on social media.

    https://www.instagram.com/audiodevacademy/
    https://www.facebook.com/AudioDevAcademy/

    Joe
     
  17. KungPaoFist

    KungPaoFist Audiosexual

    Joined:
    Nov 20, 2017
    Messages:
    1,691
    Likes Received:
    971
    Location:
    CA
    I think maybe you clicked poorly... :bash:
     
  18. tun

    tun Rock Star

    Joined:
    May 13, 2016
    Messages:
    1,179
    Likes Received:
    465
    I was too slow.
    Can somebody pm me the files please?
     
  19. AudioDevAcademy

    AudioDevAcademy Ultrasonic

    Joined:
    May 29, 2019
    Messages:
    27
    Likes Received:
    38
  20. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,236
    Likes Received:
    3,996
    Location:
    Europe
    It's a pity there's no free version without major limitations of Blue Cat Audio Plug'n Script.
    It uses a scripted language designed for real-time and very easy adaptation to C++ (AngelScript for those interested).
    Fast to code/prototype and try, no compiling mess but still fast with JIT, exposes only the things you need for DSP... really cool.
     
Loading...
Similar Threads - Ever wanted learn Forum Date
Ever wanted to build your own VST limiter? [free eBook download - with DSP code] Education Sep 4, 2019
Ever wanted to build your own VST compressor? [free eBook download - with DSP code] Education Jul 30, 2019
I Never Wanted Life Like This - ReMix Our Music Oct 10, 2016
Disable reverb from kontakt library Working with Sound Today at 8:34 PM
Wave Alchemy - Magic7 Bricasti M7 Reverb (FREE) Software News Saturday at 12:40 AM
Loading...