Wednesday, 2015-03-04

*** edogawa has quit IRC00:14
* drobilla considers installing gitlab at lv2plug.in to deal with the issue tracker issue00:16
drobillaThis whole static thing is quite nice, though00:17
badosudrobilla: gitlab is a resource hog :-?00:33
badosudrobilla: gitolite with gitweb is what I am using00:33
badosubut if you have the resources gitlab is pretty cool00:34
badosudrobilla: I have some experience setting up gitlab, so let me know if you need any help00:39
badosualthough they have a nice one package installer nowadays00:39
badosudrobilla: is there a lv2 property that specify what's the dimension of a port? (hz, bpm, dB)01:15
drobillaAlready have cgit which serves for everything but tickets01:21
drobillaResources I don't really care about except if it makes it painfully slow01:21
drobillabadosu: units01:21
drobillahttp://lv2plug.in/ns/extensions/units#unit01:27
badosuunits:render, pretty cool!01:29
badosudrobilla: check it by yourself http://doc.gitlab.com/ce/install/requirements.html01:30
badosudrobilla: it requires 1 GB of RAM (!!)01:30
drobillaOh, right, Ruby01:31
drobillaNow I remember why I abandoned this idea01:31
drobillaI can't be bothered to deal with the spam nightmare anyway01:38
drobillaWill either reluctantly outsource it, or do something email/git based01:39
drobillaShame the git-based tracker idea doesn't really seem to have taken off, bugseverywhere is pretty dead01:39
drobillaThough simple enough that I might try it anyway01:39
badosuwell, it can be setup to consume much less resources01:46
badosuit's just that their packages has embedded redis, postgresql and everything else01:47
badosuultimately the web app + sidekiq shouldnt consume more than 300MB01:47
* rgareus got a VPN back in 2002 with a blazing 128MB of RAM and 10GB disk-space. 13 years later still the same. They offered free upgrades but I need to reinstall.01:56
drobillaDreamhost basically just doesn't give a crap how much space you use unless you're doing something really over the top ridiculous01:57
rgareusapache/php + imapfilter + fail2ban + openvpn + slapd + rsyncd  + git   all in 128MB01:57
rgareusthe machine has not been down in those years. maybe 2-3 hours in total (kernel updates)01:57
* rgareus keeps fingers crossed01:57
rgareusdrobilla: dreamhost also does not give a crap is something stops working01:58
drobillaThis is true.01:59
rgareusI don't care much about diskspace, but RAM is getting precious. 128MB is not much esp for apache/php02:02
rgareusno swap02:02
drobillayeah, that's a bit ridiculous02:04
rgareussomeday soon I'll have to bite the bullet and upgrade/reinstall..  but as long as it works. 2euro/month can't complain.02:07
* drobilla desperately tries to finish marking these god damned quizzes02:08
badosuhow would you implement a set of scalepoints values and labels on c++ + QT ?02:13
* rgareus makes a new setBfree demo video02:14
* rgareus 's QT is rusty at best02:15
rgareusmay need a custom widget. I don't think the build-in slide can do it.02:17
rgareusfalktx would know02:17
drobillaI was surprised Gtk's built in slider had this, though the magnetic snap to ticks can be annoying at times02:18
badosuI want to implement scalepoints just for integer/enumerations for now02:20
badosuso I just need a nice map from float to char*02:20
badosuare enumerations always integers?02:20
drobillaIf you mean just getting the data, jalv_gtk already has code for that (as do most other hosts)02:21
rgareusdrobilla: the *G* came from gimp (a pro authoring tool) while Q mmh probably stands for business spreadsheets or sth02:21
drobillabadosu: nope02:21
drobillargareus: heh, true02:21
drobillaQuaint? :)02:21
drobillaQuarterly Reports02:22
rgareusheh, that must be it02:22
drobillaMDA has the lovely VST inherited property of enums that span 0..1, with some really ugly numbers as a result02:22
badosuwell, I made a quick and dirty QHash<int, char*>, which makes Calf Vintage Delay works02:25
badosubut it looks like this is really not a good idea02:25
badosuone time or another I'll have to throw half of the code i've written in the thrash, re-read the specs and make it right02:26
drobillajust use float instead.02:27
badosuQHash with float is not possible for now02:27
drobillause a map.02:27
badosuyeah, a map, that's what I was thinking too02:27
drobillaThe orderedness of which will probably be handy anyway02:27
badosubut I wanted to ask you guys before, since I did not see much std:: stuff on the codebase02:28
drobillawhat codebase?02:28
badosubadosu's world codebase :-)02:28
drobilla... Which makes asking us rather odd :)02:28
drobillaUsing std is in general best unless you have a specific reason to do otherwise02:29
badosustd::map works great02:32
badosudrobilla: does the hasStrictBounds property makes any sense for control ports?02:51
badosuI mean, isnt it obvious that you should not exceed the max/min settings?02:51
rgareusbadosu: see http://lv2plug.in/ns/lv2core/#maximum02:59
rgareusand #minimum02:59
rgareusone example is peaking audio. a float can be > 1.003:01
rgareussome plugins can't cope with that03:02
badosuhmmm... I thought this was true just for audio ports03:04
rgareusfor physical audio ports yes.03:04
rgareusbut inside the DAW - float handles > 0dbFS just fine as long as you attenuate it before going out to hardware03:05
badosuNow I'll have to hunt lv2 plugins that uses certain properties to test03:06
badosulike comment, notOnGui, groups, etc..03:07
rgareusbadosu: I would not bother too much about this at the moment03:07
badosuI have a pretty much usable jalv.qt now03:07
rgareusbadosu: the common one to handle  are   notOnGui and reportsLatency03:07
badosureportsLatency, let me check this one03:07
rgareusthat's intended for the host (not the user)03:08
badosuyeah03:08
rgareusand maybe freewheeling - but I don't know a plugin that uses it03:08
rgareushttps://github.com/Ardour/ardour/blob/master/libs/ardour/lv2_plugin.cc#L165003:08
badosuhmmm... jalv.gtk does not implement this03:09
rgareusjalv does not support jack freewheeling either03:09
rgareusdoes LMMS ?03:09
badosurgareus: we were dicussing a pitch analyzer plugin on LMMS and a question popped on my mind03:09
badosurgareus: not even close03:10
badosurgareus: how can a host listen to information sent from a lv2 plugin03:10
badosufor example the plugin now says that the audio being received is pitched at C#03:11
rgareusall data from the plugin passes though the host.03:11
rgareusthe host can just intercept it03:11
badosuok, so I assume there's a type of port that can pass string?03:11
rgareusan event, yes03:11
rgareusthe other way 'round is easier to begin with. e.g  have the host tell the plugin the current transport time or Bar/Beat BPM03:12
rgareus(jalv does support this)03:12
rgareusthe way back is just the same.03:12
rgareusmidi messages (generated by plugins) are a prime example for the latter.03:13
rgareusthe host 'intercepts' those and forwards them to the midi output03:13
rgareuswell s/intercept/handles/03:14
rgareusanyway. bedtime03:14
badosuhmmm... so I should go back to the lv2book and study the midigate03:14
badosuGood night03:14
badosuthanks for the help!03:14
rgareusbadosu: y/w. cheers for keeping this up03:15
drobillastrict bounds were certainly intended for controls, I don't know if anyone uses them for audio03:16
rgareusanother somewhat masochistic endeavour:03:21
rgareusOne can write a portable LV2 host (sans RDF parsing) but with latency-compensation, freewheeling-support, worker-thread, MIDI, Atoms, Time... in just over 1000 LOC, only depending on libc (and jack)03:22
badosurgareus: how can you separate lv2 from rdf parsing?03:23
badosuis'nt rdf in the very nature of lv2?03:23
badosuim confus03:23
rgareusbadosu: precompile the ttl into a c header03:23
badosurgareus: but this will be a host that'll read just one plugin right?03:24
rgareusbadosu: it's intended to build standalone apps from lv2 plugins03:24
rgareushttps://github.com/x42/robtk/blob/master/jackwrap.c03:24
badosurgareus: oh ok, this makes sense03:24
rgareusbadosu: well yes either just one plugin or a collection03:24
badosurgareus: yeah, makes sense for something like calf of openav03:25
badosui don't even know what freewheeling is, lol03:25
* drobilla cringes at magic numbers in jack_portconnect03:27
drobillaMaybe some day we'll have a standard data API thingie and can bounce back and forth between the two automatically where convenient...03:28
badosudrobilla: I have a patch for a working version of the generic jalv.qt but I am afraid to share it with you03:32
drobilla... okay?03:45
* drobilla has been marking shitty torturous quizzes all day, now is not a good time to troll for platitudes03:45
drobillaJust stick it on a ticket and I'll apply it (or not) when I have time.03:50
badosudrobilla: actually I already expect for it to not be accepted at the current state, I just wanted review03:51
drobillaYou ask for feedback a lot but really don't seem to like actually getting it ;)03:53
drobillathen just pastebin or whatever will do03:53
badosuI like getting it, it's just that I don't know if I am ready for your criticism03:53
badosuor better, if my code is actually ready03:54
badosuI'll do my best03:54
* drobilla shrugs03:54
drobillaOkay.  No rush, really03:54
drobillaUnless you're super eager to be in the next release which "should" probably happen soon, anyway03:54
badosuI am not really, my major concern is with learning and making it right03:57
badosudrobilla: http://bado.so/2015-03-04-010011_668x637_scrot.png04:06
badosuyou can define how many controls you want per row04:07
badosuI'd like QT to have a layout that could deal with horizontal overflow :/04:07
badosuinstead of defining the position for each widget04:07
badosuthis is why I annoy the hell out of you, to make sure when it's ready it complies nicely with everything it should04:15
*** edogawa has joined #lv208:09
*** sigma6 has joined #lv208:18
*** gianMOD has joined #lv208:58
*** ricardocrudo has joined #lv208:59
*** gianMOD has quit IRC09:38
*** ricardocrudo has quit IRC09:45
*** ricardocrudo has joined #lv209:57
*** falktx has joined #lv210:04
*** gianMOD has joined #lv210:39
*** gianMOD has quit IRC10:44
*** gianMOD has joined #lv210:45
*** edogawa_ has joined #lv211:30
*** edogawa has quit IRC11:34
*** gianMOD has quit IRC11:35
*** falktx has quit IRC11:40
*** ricardocrudo has quit IRC12:10
*** gianMOD has joined #lv212:36
*** gianMOD has quit IRC12:40
*** falktx has joined #lv212:43
*** gianMOD has joined #lv212:53
*** ricardocrudo has joined #lv212:59
*** gianMOD has quit IRC14:09
drobillabadosu: Can you change the grid dimensions and have it flow, or have to pack it again manually?14:46
drobillabadosu: Reasonable thing would seem to set the number of rows based on window size14:46
drobillaA reflowing thing where groups are in their own inseperable box would work pretty well, but that's fancy14:47
drobilla</reasonsWhyIUsedABigDumbListAndGotOnWithLife>14:47
*** curlymorphic has quit IRC15:38
*** curlymorphic has joined #lv215:39
*** falktx has quit IRC15:57
*** rncbc has joined #lv216:38
*** ricardocrudo has quit IRC16:41
*** edogawa_ has quit IRC16:51
*** edogawa has joined #lv216:53
*** sigma6 has quit IRC17:12
*** mlpug has joined #lv217:33
*** ddom has joined #lv218:31
*** falktx has joined #lv219:53
*** rncbc has quit IRC19:56
*** mlpug has quit IRC21:11
*** ricardocrudo has joined #lv221:13
*** falktx has quit IRC21:40
*** falktx has joined #lv222:00
rgareusme just saw  "LV2 Malevolent Dictator"  on the lac list.22:09
rgareuslol22:09
badosudrobilla: yep, that's why I wanted all along. A grid that flowed along the dimensions22:10
drobilla:)22:24
Anchakordamn sometime I regret not being on all these mailinglists, thinking LAU is enough22:25
Anchakor...with all of their semi-functional web archives22:25
rgareusAnchakor: not mailing list. the "who else is coming" list on http://lac.linuxaudio.org/2015/participants22:37
rgareusAnchakor: LAU? what's that? do you mean the Ralf Mardof list?22:38
badosurgareus: LAU is the brother of LAS22:42
rgareusextended family maybe,  LAU = linux audio user*S*  email list,   las = paul davis22:44
*** edogawa has quit IRC22:52
* drobilla opted against making the Ralf joke :)22:56
drobillaI'm not even on it.  LAIncessantRambling22:57
*** ricardocrudo has quit IRC23:05
*** NickSB has quit IRC23:34
*** NickSB has joined #lv223:40
*** falktx has quit IRC23:53

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