Sunday, 2015-01-11

*** ColaEuphoria has quit IRC00:43
rgareusdrobilla: any reason to build it into jalv directly?00:53
rgareusdrobilla: I think avlinux has a one based on `lv2ls` and `dialog`00:53
HarryHaarenheh, i was dealing with GTK tree model in C for my work-exp for Ubuntu's sound-selection dialog. Ouch.01:00
HarryHaaren+1 for a quick selector in Jalv01:00
drobillargareus: Depends how you look at it, I suppose.  Then it would be an app you can just run01:32
drobillaWhich is a thought at the moment seeded by the fact that it's basically impossible to make a Mac app out of it, but it's clearly something users are pining for01:33
*** HarryHaaren has quit IRC01:35
rgareusdrobilla: on OSX for the standalone x42-plgins[.lv2] I use a simple Apple-script select launcher - much like *dialog on Linux.01:40
*** NickSB2 has joined #lv203:07
*** damo22 has joined #lv206:28
damo22is it possible to have a dynamic number of output audio ports?06:28
damo22or inputs06:28
rgareusdrobilla: no. ports are fixed07:56
rgareusdamo22: ^^07:56
damo22ok07:56
rgareusdamo22: there was a hack sometime ago (dyn manifest or something).. not sure what's up with that these days07:56
rgareusdamo22: the common practice is to simply add variants (mono, stereo, etc) - same plugin code, different URI & ttl07:57
damo22rgareus: i was thinking of writing a drum machine plugin that syncs with the transport somehow and sends/receives tempo07:58
rgareusdamo22: receiving tempo is relatively straight forward07:59
rgareusdamo22: but I don't know a host that can receive tempo07:59
damo22ok07:59
damo22not so important i guess07:59
rgareusto clarify  ^^  plugin receiving tempo from host = OK08:00
rgareusas mentioned on #ardour just now http://lv2plug.in/book/#_metronome08:00
damo22yes08:00
damo22gotcha08:00
rgareussending a lv2#time message from plugin to host is certainly valid. and a host could parse and use it..08:03
damo22i think openav Fabla is already doing what i had in mind08:03
rgareusbut ardour for example would not know what to do with it  - or even worse what if different plugins send different info.08:04
rgareusa standalone host could e.g act as jack timebase master, delegating things to a plugin.  or .. well whatever. :)08:05
rgareusyeah Harry's got big plans for Fabla208:06
damo22:)08:06
*** edogawa has joined #lv208:19
*** zth has joined #lv208:42
*** falktx has joined #lv208:42
*** zth_studiocomp has joined #lv208:43
*** edogawa_ has joined #lv210:48
*** edogawa has quit IRC10:51
*** mlpug has joined #lv211:06
*** falktx has quit IRC11:28
*** wumpus has quit IRC12:09
*** wumpus has joined #lv212:14
*** HarryHaaren has joined #lv212:15
*** mlpug has quit IRC13:17
*** mlpug has joined #lv213:32
*** grejppi_ has joined #lv215:01
*** grejppi has quit IRC15:03
*** mlpug has quit IRC15:31
*** grejppi_ is now known as grejppi15:43
*** mlpug has joined #lv215:46
*** mlpug has quit IRC16:08
drobillaSending the transport is trivial, but there's no properties or negotiation mechanism for the host to do anything with it.  It seems unlikely anything but a modular would be able to do anything useful with it anyway16:09
drobillaMight not even need anything new spec-wise, e.g. hosts could have a "Use as time master" option in a context menu or whatever if the plugin emits time stuff if they want to16:09
*** mlpug has joined #lv216:37
*** mlpug has quit IRC17:03
*** mlpug has joined #lv217:08
drobillaI guess I could include a zenity based selector on Linux, too, just have to check it's actually around...17:41
drobillaI have been thinking about a portable "system file dialog and menus" C library lately17:41
drobillaMakes me think that it would be nice if zenity or one of the other dialog tools provided the same stuff via a C API as well17:42
HarryHaarendrob: you're aware of Rgar's X11 file selection thingy right?17:44
drobillaHarryHaaren: nope.17:45
HarryHaarenalso I'm using TinyDir (a single header x-platform directory / file reader)17:45
drobillaThough I actively would rather use the system one rather than some weird thing anyway17:45
HarryHaarendrobilla, https://github.com/x42/sofd17:45
drobillaOn that, I have been taking stock (i.e. with gnome-shell) Gnome 3 for a spin lately17:45
drobillaIt's getting better, but man, what the fuck kind of crack they are smoking with menus I don't know17:45
HarryHaarenits currently x11 only i think, but falktx was talking about making it x-plat in #Lad one day17:45
drobillaApps don't really have menus anymore, except a single special application menu that basically nothing supports17:46
HarryHaarenhehe "interoperability" at its best17:46
drobillaI hate this trend, death of discoverable keyboard nav17:46
drobillaBut the single weird menu thing is just so... weird.  If you're going to rip off OSX, just do it.17:46
drobillaNot force everyone in the world to switch to your fucked up model that is unlike everything else ever17:46
HarryHaarenAVTK is including file-browser / dialog stuff. Currently Linux only, but since its tinydir / PUGL / Cairo based, it should work everywhere after testing17:47
drobilla(Then probably realize that model sucks anyway and change it in a year)17:47
HarryHaarena terminal. that's all that there is to trust :)17:47
drobillaHarryHaaren: I guess I can check it out, but the file dialog (and possible context/system menu stuff) struck me as a relatively simple thing to stick a portable wrapper around17:47
HarryHaarencool. I know you're a fan of writing minimal x-plat libraries, and I like using them, so feel free ;)17:48
*** falktx has joined #lv217:48
drobillaHarryHaaren: I figured that's the one thing that's immensely complicated to get right and would irritate the user for being weird anyway, so is a good thing to wrap in an otherwuse pure pugl app17:48
drobillaYou can cheat with context menus to get pseudo-combo-boxes17:49
drobillaTree/list views and some other fancy advanced widget things you just need to deal with, but can generally avoid anyway17:49
HarryHaarenagreed17:50
drobilla(sofd looks pretty good though)17:50
drobillaI half wish "we" would all band together and cram all these various efforts into one thing17:51
drobillaBut then we've invented a toolkit17:51
drobillaYATK17:51
drobilla(well, C/C++ chasm is trouble)17:51
* drobilla has too many existing and hypothetical small projects in which copy pasting an entire bloody toolkit would suck immensely17:52
drobillaA pure pugl jalv would sure be nice, though.17:52
HarryHaaren+1 for that.. is there much of a GTK dep? I mean, jalv (not .gtk etc) doesn't depend on GTK does it?17:53
drobillaThe core doesn't at all, there are several UIs17:53
HarryHaarenits about writing a new frontend, that can deal with XEmbed..17:53
HarryHaarenyeah sure17:53
drobillaThe only usable UI is totally Gtk17:54
HarryHaarenyep.17:54
drobillaRe: zenity, to make a proper plugin selector I need the names.  Maybe I need to make an lv2query17:54
HarryHaarenWith ShowInterface and IdleInterface we could potentially let plugin UI's "just" handle thier own window, removing the need for XEmbed "hosting" support?17:54
HarryHaarensome grep / sed / awk magic would work too, although a bit hacky17:55
drobillalv2query doap:name => <http://foo/> "Foo" <newline> <http://...> ...17:55
drobillaHarryHaaren: ?17:55
drobillaHarryHaaren: Sure, if you don't want to embed, well, you can not embed17:55
drobillaTrouble being most do want to embed :)17:55
HarryHaarenin Jalv?17:55
HarryHaareni persontally don't care if the plugin embeds in Jalv or runs in its own window17:56
drobillaOh, you mean embedding UIs in a Pugl app17:56
HarryHaarenyeah17:56
drobillaYeah, Suil needs a thing there17:56
HarryHaarenanyway, i think we're on a tangent to a tangent now :)17:56
* HarryHaaren back to compiling some code17:57
drobillaThough....... native window in a pugl view..... er...17:57
* drobilla has no idea how to do that17:57
*** NickSB has quit IRC19:05
*** NickSB has joined #lv219:06
*** HarryHaaren has quit IRC20:20
*** ricardocrudo has joined #lv220:22
*** HarryHaaren has joined #lv220:34
drobillaRe: presets, maybe instead of adding API for that specifically, an ability for UIs to ask the host to pop up a menu for <something> is better?21:12
drobillaThen, at least for presets, it can build in save and other fancier things the plugin itself can't really do (without yet more API specifically for that, and on and on it goes...)21:12
drobillaare there other uses for such a thing?  reset values to defaults?21:13
drobillaPerhaps just a show_menu_for(subject)21:14
drobillaWhere subject may be the plugin, or a port (or something I haven't thought of just now)21:14
drobillaWith some mandates about what must be in there, e.g. presets for the plugin21:14
*** mlpug has quit IRC21:16
HarryHaarendrobilla, if that's @me, I think the whole point of presets in the plugin UI is for UX.21:20
HarryHaarenusers *expect* presets in the UI of the plugin itself. It just makes sense.21:20
HarryHaarenit also allows the plugin to be smart about catagorizing / browsing the presets21:20
drobillaFor all intents and purposes the menu *would* be in the UI.21:20
drobillaPlugin being "smart" about that is almost impossible unless you assume baked-in presets only which is 90% pointless21:21
drobilla(we need preset categorization in general)21:21
HarryHaarenno, the host needs to communicate the available presets to the plugin UI21:21
drobillawhy?21:21
HarryHaarenyes better preset categorization is good anyway, +1 for that21:21
HarryHaarenso the plugin UI can show them. Its where a user looks for presets : in the UI of the plugin itself.21:22
* drobilla points at the thing he *just* said.21:22
drobillaThe button would be in the UI.  That's the whole point.21:22
HarryHaarenthis is my goal: http://2.bp.blogspot.com/-oOHqFUIs-O0/U6RtWiAFjHI/AAAAAAAAACc/0VdEfGqIobw/s1600/nexus2_skin10.jpg21:23
drobillaWell, yes, you wouldn't be able to do things like that.21:23
HarryHaarento allow users to browse presets *inside* the plugin UI21:23
drobillaForgive me if I don't care all that much.21:23
drobillaBoo hoo you can't piss away a vast amount of UI real-estate on something basically useless once it's set :P21:24
HarryHaarenyou're suggesting a "preset" button in the UI, which signals the host to present a preset selector?21:24
HarryHaarenalso, that's not true. UX needs work in audio-software, and I have a lot of ideas.21:24
drobillaYes.  Among other things.21:24
drobillaLike automation options.21:24
HarryHaarenchanging presets *should* become a much easier task, and partial-loading of presets also become easy21:24
HarryHaarenautomation is something I've been meaning to discuss with las rgarus and you, because indeed it needs to become more transparent to the user21:25
drobillaWell, yes, but it should be better in the hosts anyway.21:26
HarryHaaren"learn moved knob automation" is something that needs to be addressed21:26
drobillaMultiple redundant ones, like you'd get in Ardour, looks like shit21:26
HarryHaarenpresenting automation targets in a list is horrid for UX21:26
HarryHaarensure, we're saying the same thing :)21:26
drobillaArchitecturally I like this because it's simple and can do a shitload of things21:26
drobillaWhereas a fuckton of preset API is neither21:27
HarryHaaren^^ "this" <- i don't know quite exactly what you're reffering to21:27
drobilla"this" = API for UI to request host to pop-up a menu for <whatever> <here>21:27
drobillaI'd say whatever, nevermind, not a particularly high priority, but due to the lack of any LV2 issues tracking I have no idea WTF needs doing or what their priorities are in the first place21:28
drobillaOther than what I can vaguely remember somebody mentioning at some arbitrary point in the past, which isn't much.21:29
HarryHaarensure. If you can think of a way to transfer "whatever" as an Atom into the plugin (if requested) then that would suffice for the preset-list-in-UI21:29
HarryHaaren"plugin UI" i mean21:29
drobillaThat's different.21:30
HarryHaarentrue - but not totally a different ball game: host scrapes data from LILV, presents it, or host scrapes data from LILV, writes it to atom port21:30
drobillaThe menu thing is simple because there is no such shuttling of a ton of data to the UI.  Just show menu.21:31
drobillaHost does the rest.  Which it can already do.21:31
drobillaYes, I am aware this doesn't get your selector thing21:32
drobillaMy position as guy who actually has to do this shit lends towards pragmatism ;)21:32
HarryHaarensure, i understand that completly :)21:32
drobillaThough we need categories before it's particularly useful anyway21:32
HarryHaarenyep, i'll shup now and let you do your thing21:33
drobillaHow to do that I'm not sure, they're not pre-defined like plugin categories21:33
drobillaBut label as ID is a no-go (i18n), so it can't be *that* dumb/simple21:33
drobillaAnyway.  I really need that issue tracking thing, but nobody used trac...21:34
drobillaI guess I could hold my nose for now and just use the github one21:35
drobillaIf anyone would actually use that21:35
drobilla(Which everyone will say they will, of course, but I'm old enough to take that with a boulder of salt)21:35
drobillaI guess I'll just keep hammering on the documentation for now and clean up what we have21:45
drobillaMaybe see if I can gracefully merge extensions without breaking anything, because it's a real mess right now21:45
*** ricardocrudo has quit IRC22:08
*** edogawa_ has quit IRC22:34
*** zth has quit IRC22:49
*** HarryHaaren has quit IRC23:06
*** hybrid has joined #lv223:09

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!