Thursday, 2015-03-12

*** gianMOD_ has joined #lv200:20
*** gianMOD has quit IRC00:23
*** Magnus_RM has quit IRC00:24
*** gianMOD_ has quit IRC00:25
*** gianMOD has joined #lv201:26
*** gianMOD has quit IRC01:31
*** wend has joined #lv201:42
wendHey guys.01:42
wendAnyone free for a few mins?01:42
rgareuswend: I'll check tomorrow. too late for me now03:37
rgareuswend: could you post the complete code?  maybe it's as simple as not hooking up the control inputs03:38
rgareuswend: if you try this in ardour it won't work (due to inline-processing)03:39
rgareuswend: in jalv it shoudl work03:39
rgareusw/inline processing:     output_left == input_left03:39
rgareuswend: line 42  modifies output_left03:39
rgareuswend: line 45 probably expects the original value03:40
rgareusstill that would not explan the crash03:40
rgareusalso you store back the global variable in the inner looop03:43
rgareusdenoiser->i_lb2 = i_lb1;   // should be done after the loop03:43
rgareusfor each sample just use     i_lb2 = i_lb1;   etc03:44
rgareusanyway bedtime03:44
rgareuswend: http://pastebin.com/CnASzUA2   # untested, edited on pastebin03:52
wendHey rgareus03:53
wendThanks for the help man :) Gonna give it another shot03:53
rgareuswend: hiho03:53
rgareuswend: you're almost there it seems.03:53
wendI hope so man ^^03:54
rgareuswend: looking again. i made a typo in line 6003:55
rgareuswend: but there idea behind the changes  should be clear anyway, I hope.03:56
wendYep, I understand that I was changing the global buffers. I don't understand why you substituted input_left/right for another variable though.03:57
rgareusmany plugin hosts do "in-place processing"    the  outbut buffer is identical to the input buffer03:58
rgareus denoiser->input_left  points to the same memory as denoiser->output_left03:58
rgareusline 42 in your code modifies the output   and thereby also modifies the input.03:59
wendWow, did not know that!04:01
rgareusif your plugin can't do that there's http://lv2plug.in/ns/lv2core/#inPlaceBroken04:01
rgareusVST these days discontinued that. all VSTs are expected to process in-place04:02
wendThanks for the help man :) It's behaving like a notch filter. However, it's attenuating signal a lot. The lower the center freq, the lower the amplitude.04:04
rgareusmight be some global gain scaling is missing04:04
wendIs this to be expected with this kind of notch filter?04:04
rgareusI didn't check the DSP.04:04
rgareusit's not unusual that some filters require 'normalization'.04:05
rgareusor maybe it's just a wrong sign :)04:06
rgareussome plus instead of minus somwhere04:06
rgareusor you did the same copy/paste errors as I did :)04:07
wendI've seen a few notch filter cookbooks that mention scaling but the one I used for this didn't mention any. Gonna look over everything again, probably is a typo.04:09
wendYep, typo on line 23.04:12
wendNow it's working perfectly :) You're a lifesaver, rgareus!04:12
*** zth_studiocomp has joined #lv204:16
*** gianMOD has joined #lv205:27
*** gianMOD has quit IRC05:34
*** gianMOD has joined #lv205:40
*** gianMOD has quit IRC07:02
*** ddom has joined #lv207:08
*** gianMOD has joined #lv207:39
*** ddom has quit IRC07:44
*** gianMOD has quit IRC07:51
*** ricardocrudo has joined #lv208:00
*** falktx has joined #lv208:18
*** falktx has quit IRC08:32
*** wend has quit IRC09:27
*** edogawa has joined #lv209:47
*** falktx has joined #lv210:12
*** ricardocrudo has quit IRC13:12
*** ricardocrudo has joined #lv213:13
*** ricardocrudo has quit IRC13:23
*** ricardocrudo has joined #lv213:24
*** gianMOD has joined #lv213:26
*** ddom has joined #lv214:01
*** gianMOD has quit IRC14:31
*** NickSB2 has quit IRC14:38
*** arguy has joined #lv214:40
*** gianMOD has joined #lv215:59
*** gianMOD has quit IRC16:29
*** falktx has quit IRC16:35
*** falktx has joined #lv216:35
*** sigma6 has joined #lv217:00
*** ddom has quit IRC17:13
*** aombk2 is now known as aombk17:29
*** gianMOD has joined #lv217:30
*** gianMOD has quit IRC17:34
*** Magnus_RM has joined #lv218:03
*** sigma6 has quit IRC18:05
*** gianMOD has joined #lv218:21
*** ricardocrudo has quit IRC18:28
*** ricardocrudo has joined #lv218:29
*** ricardocrudo has quit IRC18:31
*** ddom has joined #lv218:32
*** falktx has quit IRC18:40
*** rncbc has joined #lv218:47
*** gianMOD has quit IRC18:47
*** gianMOD has joined #lv218:50
*** gianMOD has quit IRC18:55
*** Magnus_RM has quit IRC18:58
*** rncbc has quit IRC19:30
*** gianMOD has joined #lv219:40
*** falktx has joined #lv219:53
*** ricardocrudo has joined #lv220:38
*** gianMOD has quit IRC20:47
*** NickSB2 has joined #lv220:53
*** gianMOD has joined #lv221:23
*** Magnus_RM has joined #lv222:05
*** ricardocrudo has quit IRC22:18
*** gianMOD has quit IRC22:36
*** falktx has quit IRC23:02
*** ddom has quit IRC23:56

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