*** falktx has quit IRC | 00:03 | |
*** NickSB2 has joined #lv2 | 00:26 | |
*** LAbot has joined #lv2 | 04:41 | |
*** edogawa has joined #lv2 | 05:27 | |
*** falktx has joined #lv2 | 06:59 | |
*** falktx has quit IRC | 07:06 | |
*** falktx has joined #lv2 | 07:06 | |
*** ddom has joined #lv2 | 08:28 | |
*** ddom_ has joined #lv2 | 08:40 | |
*** ddom has quit IRC | 08:43 | |
falktx | lv2 on osx http://i.imgur.com/tAFgI6Z.png | 09:41 |
---|---|---|
rgareus | falktx: did you succeed to embedd NSViews (LV2#CocoaUI)? or does this only work with dedicated windows/showUI? | 10:55 |
falktx | rgareus: full cocoa UIs | 11:05 |
falktx | both in dpf and juce | 11:06 |
falktx | rgareus: does ardour do lv2 cocoa uis? | 11:06 |
falktx | I always forget... | 11:06 |
rgareus | falktx: no, ardour does delegates everything to libsuil | 11:07 |
rgareus | I suppose someone should implement suil cocoa_in_gtk2. | 11:08 |
falktx | then cocoa_in_gtk3, qt4 and qt5 | 11:10 |
falktx | still missing win32_on_gtk3, qt4, and qt5 as well | 11:11 |
rgareus | falktx: 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 |
rgareus | falktx: .. and wondered how that can be embedded. | 11:11 |
rgareus | falktx: when running it with setBfree.lv2/upstream pugl I always get the dedicated window (not the NSView that is returned as widget) | 11:12 |
falktx | it steals the window view I think | 11:14 |
rgareus | falktx: pugl creates a window, and that's the one that will be used. the original (host created one) is hidden. | 11:17 |
rgareus | falktx: I think pugl needs to be changed for a *true* embeddable NSView solution | 11:18 |
falktx | my pugl already is true embed | 11:18 |
falktx | when there's a parent view my pugl does not create the window | 11:18 |
rgareus | falktx: I see. that makes sense | 11:21 |
rgareus | falktx: does addSubview evantually call initWithFrame and provide colorBits and depthBits? | 11:21 |
rgareus | falktx: or does your host do that? | 11:22 |
falktx | hosts are supposed to init the view afaik | 11:22 |
falktx | or it gets done automatically when the view is added to a window | 11:23 |
rgareus | falktx: I just did a quick check and OSX only calls initWithFrame:(NSRect)frame | 11:23 |
rgareus | falktx: the PuglOpenGLView's constructor is never called because the args are missing but the parent NSView is created | 11:23 |
falktx | are you sure? wouldn't that make the view invalid? | 11:24 |
rgareus | falktx: yeah it segfaults | 11:24 |
falktx | I got mine to work here | 11:28 |
falktx | zamaudio stuff too | 11:29 |
falktx | rgareus: so you think PuglOpenGLView needs an extra constructor? | 11:29 |
rgareus | falktx: I don't know yet | 11:33 |
rgareus | falktx: can you gdb break in @implementation PuglOpenGLView | 11:36 |
rgareus | initWithFrame() | 11:36 |
*** rncbc has joined #lv2 | 11:36 | |
rgareus | and get a backtrace? who calls that function? | 11:36 |
falktx | sure, let me have launch first | 11:37 |
rgareus | falktx: NSOpenGLView itsels only has a initWithFrame:pixelFormat constructor. | 11:37 |
falktx | bbl | 11:37 |
rgareus | so I wonder how apple knows to provide the extra args | 11:37 |
*** bgribble has joined #lv2 | 11:41 | |
wrl | you should have initialized your view before you addSubview | 11:56 |
wrl | addSubview will result in a few other calls made to your view, in particular viewWillMoveToSuperview/viewDidMoveToSuperview | 11:57 |
*** rncbc_jolla has joined #lv2 | 13:15 | |
*** rncbc_jolla has quit IRC | 13:16 | |
*** rncbc has quit IRC | 13:19 | |
*** bgribble has quit IRC | 14:06 | |
*** mlpug has joined #lv2 | 14:12 | |
*** bgribble has joined #lv2 | 14:48 | |
*** bgribble has quit IRC | 15:05 | |
*** bgribble has joined #lv2 | 15:34 | |
*** bgribble has quit IRC | 15:42 | |
*** falktx has quit IRC | 15:45 | |
*** falktx has joined #lv2 | 15:49 | |
*** grejppi_ is now known as grejppi | 15:54 | |
*** ddom_ has quit IRC | 16:02 | |
*** bgribble has joined #lv2 | 16:24 | |
*** bgribble has quit IRC | 16:31 | |
Joeboy | Would I be correct in thinking there's currently no way to write an LV2 plugin in python? | 16:31 |
falktx | plugin? tricky | 16:32 |
falktx | ui? can be done | 16:32 |
falktx | lv2 expects a binary | 16:32 |
Joeboy | The plugin bit is the bit I'm interested in right now. I guess you'd need some kind of bridge. | 16:33 |
falktx | you can call some python stuff from C | 16:33 |
Joeboy | I guess you could have a C plugin that took the path to a python file as a parameter | 16:34 |
Joeboy | Anyway, unless it exists already I'm probably not that interested. | 16:35 |
Anchakor | it's very impractical, C is really the best language for DSP | 16:35 |
Joeboy | I was thinking about it for the DSP course I'm doing | 16:36 |
Joeboy | Not for something to be used onstage etc | 16:36 |
Joeboy | Just that it would be nice to be able to call a python script from audacity | 16:36 |
Anchakor | if you want a nicer language to write DSP in, use faust | 16:36 |
*** zth has joined #lv2 | 16:47 | |
*** edogawa_ has joined #lv2 | 16:48 | |
*** edogawa has quit IRC | 16:51 | |
*** bgribble has joined #lv2 | 16:58 | |
*** edogawa_ is now known as edogawa | 17:04 | |
*** bgribble has quit IRC | 17:20 | |
rgareus | Joeboy: there are less than a handful of scripting languages that are realtime-safe and python is not one of them | 17:41 |
* rgareus knows only two RT-safe ones: lua and supernova (supercollider's scripting lang). | 17:42 | |
Joeboy | rgareus: But, there are reasons you might want to process audio outside of realtime. | 17:42 |
rgareus | Joeboy: sure. python is just fine and easy. | 17:42 |
rgareus | but realtime is a different story. | 17:43 |
Joeboy | Well, audacity allows you to run plugins on your audio, and realtime is obviously not relevant there. | 17:44 |
rgareus | lv2file is the same (or jackd in freewheeling mode) | 17:45 |
*** mlpug has quit IRC | 18:05 | |
*** bgribble has joined #lv2 | 18:12 | |
*** mlpug has joined #lv2 | 18:21 | |
*** bgribble has quit IRC | 18:37 | |
*** zth_studiocomp has joined #lv2 | 18:53 | |
*** unclechu has joined #lv2 | 18:57 | |
*** bgribble has joined #lv2 | 19:13 | |
*** falktx has quit IRC | 19:32 | |
*** falktx has joined #lv2 | 19:33 | |
*** rncbc has joined #lv2 | 19:36 | |
*** zth_studiocomp has quit IRC | 19:55 | |
*** bgribble has quit IRC | 19:58 | |
*** zth has quit IRC | 20:05 | |
*** rncbc has quit IRC | 21:14 | |
*** mlpug has quit IRC | 21:35 | |
*** edogawa has quit IRC | 22:49 |
Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!