Tuesday, 2014-10-14

*** falktx has quit IRC00:03
*** NickSB2 has joined #lv200:26
*** LAbot has joined #lv204:41
*** edogawa has joined #lv205:27
*** falktx has joined #lv206:59
*** falktx has quit IRC07:06
*** falktx has joined #lv207:06
*** ddom has joined #lv208:28
*** ddom_ has joined #lv208:40
*** ddom has quit IRC08:43
falktxlv2 on osx http://i.imgur.com/tAFgI6Z.png09:41
rgareusfalktx: did you succeed to embedd NSViews (LV2#CocoaUI)?  or does this only work with dedicated windows/showUI?10:55
falktxrgareus: full cocoa UIs11:05
falktxboth in dpf and juce11:06
falktxrgareus: does ardour do lv2 cocoa uis?11:06
falktxI always forget...11:06
rgareusfalktx: no, ardour does delegates everything to libsuil11:07
rgareusI suppose someone should implement suil cocoa_in_gtk2.11:08
falktxthen cocoa_in_gtk3, qt4 and qt511:10
falktxstill missing win32_on_gtk3, qt4, and qt5 as well11:11
rgareusfalktx: I had a quick look at pugl_osx.m and that creates a window by itself. (testing with your carla-bridge-lv2-cocoa)...11:11
rgareusfalktx: .. and wondered how that can be embedded.11:11
rgareusfalktx: when running it with setBfree.lv2/upstream pugl I always get the dedicated window (not the NSView that is returned as widget)11:12
falktxit steals the window view I think11:14
rgareusfalktx: pugl creates a window, and that's the one that will be used. the original (host created one) is hidden.11:17
rgareusfalktx: I think pugl needs to be changed for a *true* embeddable NSView solution11:18
falktxmy pugl already is true embed11:18
falktxwhen there's a parent view my pugl does not create the window11:18
rgareusfalktx: I see. that makes sense11:21
rgareusfalktx: does addSubview evantually  call initWithFrame  and provide  colorBits and  depthBits?11:21
rgareusfalktx: or does your host do that?11:22
falktxhosts are supposed to init the view afaik11:22
falktxor it gets done automatically when the view is added to a window11:23
rgareusfalktx: I just did a quick check and OSX only calls initWithFrame:(NSRect)frame11:23
rgareusfalktx: the PuglOpenGLView's constructor is never called because the args are missing but the parent NSView is created11:23
falktxare you sure? wouldn't that make the view invalid?11:24
rgareusfalktx: yeah it segfaults11:24
falktxI got mine to work here11:28
falktxzamaudio stuff too11:29
falktxrgareus: so you think PuglOpenGLView needs an extra constructor?11:29
rgareusfalktx: I don't know yet11:33
rgareusfalktx: can you  gdb break in  @implementation PuglOpenGLView11:36
rgareusinitWithFrame()11:36
*** rncbc has joined #lv211:36
rgareusand get a backtrace?   who calls that function?11:36
falktxsure, let me have launch first11:37
rgareusfalktx: NSOpenGLView itsels only has a  initWithFrame:pixelFormat  constructor.11:37
falktxbbl11:37
rgareusso I wonder how apple knows to provide the extra args11:37
*** bgribble has joined #lv211:41
wrlyou should have initialized your view before you addSubview11:56
wrladdSubview will result in a few other calls made to your view, in particular viewWillMoveToSuperview/viewDidMoveToSuperview11:57
*** rncbc_jolla has joined #lv213:15
*** rncbc_jolla has quit IRC13:16
*** rncbc has quit IRC13:19
*** bgribble has quit IRC14:06
*** mlpug has joined #lv214:12
*** bgribble has joined #lv214:48
*** bgribble has quit IRC15:05
*** bgribble has joined #lv215:34
*** bgribble has quit IRC15:42
*** falktx has quit IRC15:45
*** falktx has joined #lv215:49
*** grejppi_ is now known as grejppi15:54
*** ddom_ has quit IRC16:02
*** bgribble has joined #lv216:24
*** bgribble has quit IRC16:31
JoeboyWould I be correct in thinking there's currently no way to write an LV2 plugin in python?16:31
falktxplugin? tricky16:32
falktxui? can be done16:32
falktxlv2 expects a binary16:32
JoeboyThe plugin bit is the bit I'm interested in right now. I guess you'd need some kind of bridge.16:33
falktxyou can call some python stuff from C16:33
JoeboyI guess you could have a C plugin that took the path to a python file as a parameter16:34
JoeboyAnyway, unless it exists already I'm probably not that interested.16:35
Anchakorit's very impractical, C is really the best language for DSP16:35
JoeboyI was thinking about it for the DSP course I'm doing16:36
JoeboyNot for something to be used onstage etc16:36
JoeboyJust that it would be nice to be able to call a python script from audacity16:36
Anchakorif you want a nicer language to write DSP in, use faust16:36
*** zth has joined #lv216:47
*** edogawa_ has joined #lv216:48
*** edogawa has quit IRC16:51
*** bgribble has joined #lv216:58
*** edogawa_ is now known as edogawa17:04
*** bgribble has quit IRC17:20
rgareusJoeboy: there are less than a handful of scripting languages that are realtime-safe and python is not one of them17:41
* rgareus knows only two RT-safe ones: lua and supernova (supercollider's scripting lang).17:42
Joeboyrgareus: But, there are reasons you might want to process audio outside of realtime.17:42
rgareusJoeboy: sure. python is just fine and easy.17:42
rgareusbut realtime is a different story.17:43
JoeboyWell, audacity allows you to run plugins on your audio, and realtime is obviously not relevant there.17:44
rgareuslv2file is the same (or jackd in freewheeling mode)17:45
*** mlpug has quit IRC18:05
*** bgribble has joined #lv218:12
*** mlpug has joined #lv218:21
*** bgribble has quit IRC18:37
*** zth_studiocomp has joined #lv218:53
*** unclechu has joined #lv218:57
*** bgribble has joined #lv219:13
*** falktx has quit IRC19:32
*** falktx has joined #lv219:33
*** rncbc has joined #lv219:36
*** zth_studiocomp has quit IRC19:55
*** bgribble has quit IRC19:58
*** zth has quit IRC20:05
*** rncbc has quit IRC21:14
*** mlpug has quit IRC21:35
*** edogawa has quit IRC22:49

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