ChowDSP Development Thread

Sort of… I haven’t actually gone through the VCV code to figure out how to load a plugin binary directly. Instead I build my plugin along with enough of the Rack code to have access to the rack::plugin::Model object (which ends up being almost all of it), and then I can access the models declared extern in my plugin.hpp. From there I can call model->createModule(), and then basically just time how long it takes to call module->process() a bunch of times.

It’s still pretty hacky, for example I can’t have my modules calling APP->engine->getSampleRate() from the benchmarking app, since APP is never initialised.

Anyway, please ask more questions if this seems confusing. Tbh, it’s still pretty confusing to me, and attempting to explain it forces me to try to understand it better.

4 Likes

Awesome progress here Jatin! :+1:t3:

1 Like

I saw you are using 4X oversampling to reduce aliasing, but I just downloaded the new Chow Der and Chow Tape and they both seem to have a lot of aliasing. Am I don’t something wrong?

Yeah, most likely you’re doing everything right. I had a stupid bug in my anti-aliasing/anti-imaging filters, so the oversampling wasn’t working as intended. Should be fixed as of this commit. A couple more little bug fixes I wanted to get in, but hopefully I’ll have a new official version available soon.

Thanks,

Jatin

ah, cool. again, I’ve done the same thing myself before :wink:

1 Like

Hi, I have problems installing the plugins. I subscribed to the plugins in the Library and VCV downloads them. But each time I restart VCV, the red light on top shows the Chow DSP 1.3 update. And the plugins are not available in VCV. I checked, the Zip file gets downloaded to the folder. This is the first time something like that happens. Any idea ? Thanks

same here mate, itll be sorted out soon

Heh… just when I was working on some patch with mucho chow. Patience mode engaged :).

Very sorry about this folks! Not exactly sure what is the cause of this issue, but I’m working with the Library maintainers to hopefully have it fixed soon. (see here).

Thanks, Jatin

1 Like

A similar thing happened a while ago with Frozen Wasteland plugins. I don’t remember what it was though.

Hello,

Sorry if it has been raised before. I was happy to see Credit module and I tested it yesterday night. Unfortunately, it crash VCV right away. I did it again this morning to get you the logs if it can help

I’m on MAC 10.14.6, here is the last log

* [27.433 fatal src/main.cpp:45] Fatal signal 4. Stack trace:
* 18: 1   Rack                                0x00000001072ce3cd _ZL18fatalSignalHandleri + 45
* 17: 2   libsystem_platform.dylib            0x00007fff69711b5d _sigtramp + 29
* 16: 3   ???                                 0x0000000000000000 0x0 + 0
* 15: 4   libsystem_c.dylib                   0x00007fff695cb6b5 __abort + 0
* 14: 5   libsystem_c.dylib                   0x00007fff6959420d basename_r + 0
* 13: 6   AppKit                              0x00007fff3ac53634 NSViewSetCurrentlyBuildingLayerTreeForDisplay + 257
* 12: 7   AppKit                              0x00007fff3ac53465 NSViewBuildLayerTreeForDisplay + 53
* 11: 8   AppKit                              0x00007fff3ac533cc -[NSWindow displayIfNeeded] + 229
* 10: 9   AppKit                              0x00007fff3ac53240 __NSWindowGetDisplayCycleObserverForDisplay_block_invoke + 684
* 9: 10  AppKit                              0x00007fff3ac4e334 NSDisplayCycleObserverInvoke + 162
* 8: 11  AppKit                              0x00007fff3ac4deb4 NSDisplayCycleFlush + 1030
* 7: 12  QuartzCore                          0x00007fff47fe054d _ZN2CA11Transaction19run_commit_handlersE18CATransactionPhase + 49
* 6: 13  QuartzCore                          0x00007fff47fdfd26 _ZN2CA11Transaction6commitEv + 212
* 5: 14  QuartzCore                          0x00007fff4800bcd6 _ZN2CA11Transaction14release_threadEPv + 196
* 4: 15  libsystem_pthread.dylib             0x00007fff6971a6ab _pthread_tsd_cleanup + 551
* 3: 16  libsystem_pthread.dylib             0x00007fff6971d655 _pthread_exit + 70
* 2: 17  libsystem_pthread.dylib             0x00007fff6971a2f6 _pthread_body + 137
* 1: 18  libsystem_pthread.dylib             0x00007fff6971d249 _pthread_start + 66
* 0: 19  libsystem_pthread.dylib             0x00007fff6971940d thread_start + 13

hope it can help Spontex

https://community.vcvrack.com/t/rules-for-development-category/14:

Edited your post for you.

Thanks a lot Andrew.

I’m not use to post log file (still learning). I will pay more attention next time.

Cheers Spontex

Thanks for reporting this! I’ve made an attempt to patch this fix. If you have a minute, could you check if this build works for you: https://github.com/jatinchowdhury18/ChowDSP-VCV/releases/download/AzureCI/ChowDSP-1.0.fe13c9d-mac-20201004.zip

Hello

I did test this new version with success, thanks a lot. I’m able to save the file.

One comment, by default the file name is ‘patch name’.vcv which may replace the patch file if we don’t pay attention :slight_smile:

Thanks a lot for your modules

Cheers

2 Likes

Hello

I don’t know if it’s linked. I reopen my patch and add an ADSR than it crash. Here is the log.

I reopen the patch, remove CREDIT and add the aDSR without issue.

[107.476 fatal src/main.cpp:45] Fatal signal 11. Stack trace:
19: 1   Rack                                0x000000010d5123cd _ZL18fatalSignalHandleri + 45
18: 2   libsystem_platform.dylib            0x00007fff69711b5d _sigtramp + 29
17: 3   ???                                 0x0000000000000048 0x0 + 72
16: 4   Rack                                0x000000010d57646e _ZN4rack6widget6Widget4drawERKNS1_8DrawArgsE + 334
15: 5   Rack                                0x000000010d575375 _ZN4rack6widget17FramebufferWidget15drawFramebufferEv + 165
14: 6   Rack                                0x000000010d574ebf _ZN4rack6widget17FramebufferWidget4stepEv + 687
13: 7   Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
12: 8   Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
11: 9   Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
10: 10  Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
9: 11  Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
8: 12  Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
7: 13  Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
6: 14  Rack                                0x000000010d572234 _ZN4rack2ui12ScrollWidget4stepEv + 20
5: 15  Rack                                0x000000010d544db8 _ZN4rack3app16RackScrollWidget4stepEv + 680
4: 16  Rack                                0x000000010d5762f9 _ZN4rack6widget6Widget4stepEv + 185
3: 17  Rack                                0x000000010d548fcc _ZN4rack3app5Scene4stepEv + 236
2: 18  Rack                                0x000000010d52a24a _ZN4rack6Window3runEv + 1226
1: 19  Rack                                0x000000010d511efa main + 1434
0: 20  Rack                                0x000000010d4ab034 start + 52 

Hope it can help

Cheers

Spontex

Hmm, yeah it’s hard to tell just from the logs exactly where the crash is coming from. I’ll do some more testing/investigation, and see if I can reliably re-create this crash.

Thanks again for reporting!

Jatin

any chance that you upload working windows binaries to github (… as long as library updates are suspended)?

1 Like

Ah, thanks for reminding me! The most up-to-date builds can be downloaded here.

I submitted a patch to the Library yesterday, so hopefully (pending review from the Library maintainers), it should be available soon.

Hi all,

Sorry it’s been a minute. Just finished release version 1.4.0, as usual, pre-release builds are available on GitHub. Major updates include:

  • New distortion module (Warp), made in collaboration with @iggylabs. It’s a little bit hard to explain, but the overall DSP architecture consists of a nonlinear peaking filter, wrapped in a global (delay-free) feedback loop.
  • Variable oversampling (1x, 2x, 4x, 8x, 16x) for all modules with oversampling.
  • ChowModal: tuned “Frequency” control voltage input to V/Oct.
  • Updated user manual, now featuring some handy TikZ figures.

Please let me know if you run into any issues!

Thanks, Jatin

5 Likes