Wishing for an LV2 TTL Generator

Programming applications for making music on Linux.

Moderators: khz, MattKingUSA

male
Established Member
Posts: 232
Joined: Tue May 22, 2012 5:45 pm

Re: Wishing for an LV2 TTL Generator

Postby male » Thu Aug 01, 2013 4:44 am

ssj71 wrote:
male wrote:What is this thread even about? If defining the name and number of ports of a plugin is a greater burden to you than writing the DSP part, then you shouldn't be writing plugins in the first place.

If, on the other hand, this is about generating DSP code from block diagrams a la Faust, then that's all well and good, but what does it have to do with TTL (or any other purely external description)?

Help me see the point here...


Its about being lazy. DSP code is challenging and fun, and less likely to be related between plugins and devs. Writing the TTL is tedious, syntactically strict, and somewhat unfamiliar to me. I don't mean to make a statement on whether it should be used or whatever, but I can imagine a tool that would make writing it a little quicker and more organized. If its going to start an argument I'll just keep writing the ttl by hand. :)


Well, writing by hand is foolish when you can just copy and paste. Alternatively, any macro processor (m4, cpp, bash, your editor, whatever) can reduce the workload to effectively filling out a form. You should look at the way the swh plugins are generated. Each plugin is defined in an XML file, which is used to generate LADSPA or LV2 versions at build time. Not that I'm recommending using XML.
Image

ssj71
Established Member
Posts: 1292
Joined: Tue Sep 25, 2012 6:36 pm

Re: Wishing for an LV2 TTL Generator

Postby ssj71 » Thu Aug 01, 2013 7:21 pm

TTL is a way to present XML. And "by hand" is copying and pasting. I'm just REALLY lazy :)
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!

male
Established Member
Posts: 232
Joined: Tue May 22, 2012 5:45 pm

Re: Wishing for an LV2 TTL Generator

Postby male » Thu Aug 01, 2013 8:29 pm

ssj71 wrote:TTL is a way to present XML. And "by hand" is copying and pasting. I'm just REALLY lazy :)


Did you actually look at the SWH plugins? The XML defines not only the metadata, but the actual DSP code as well (a C snippet). It's superior to a TTL generator, because it can generate plugins in any format, be it LADSPA, LV2, or whatever.
Image

ssj71
Established Member
Posts: 1292
Joined: Tue Sep 25, 2012 6:36 pm

Re: Wishing for an LV2 TTL Generator

Postby ssj71 » Thu Aug 01, 2013 11:12 pm

male wrote:Did you actually look at the SWH plugins?

Not yet, but I'm guessing its just like the ll-plugins version which did a similar thing. I will look at those. Thanks!
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!


Return to “Developer's Section”

Who is online

Users browsing this forum: No registered users and 1 guest