Documentation for developing a plugin

Forums

Hi, I hope I am doing this right.

I love Qtractor. Works great, and I've mastered a few tracks now with audio and MIDI. I had an idea to use AI to generate ideas based on pre-existing chords and rhythm, and I wondered if it could be implemented as a plugin.

I have several years experience with software development in C and C++, and neural networks too. Is there any documentation about how to implement a plugin? Or is it a case of getting right down into the code?

Regards,

Martin.

Permalink

hi, you're of course welcome here

however, maybe your suspicions were perfectly right: this is not the most appropriate forum for asking on (any) plugin development, in general nor in particular. sorry about that.

first, IMHO, you rather or better have your ideas implemented as a standalone application program, in the "old-traditional" processing way (ie. not a plugin);
most probably you'll have to streamline and refactor the core processing code so to work on a "pull" or "callback" model, eg. have a central process() function that is called to, yeh, process audio/MIDI in data blocks in real-time.

second, you'll need to choose which plugin type you want: assuming it will be a MIDI processing plugin, you'll have to elect one: LV2, VST3 or CLAP; read their documentation and study the examples and/or source code of other's like you ;) there are some nice tutorials too, for example, thinking of LV2 have a look in here: https://github.com/sjaehn/lv2tutorial .

hth.
cheers

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.