[Csnd] trying to get minimal cabbage example working
Date | 2021-11-30 10:37 |
From | Michael Mossey |
Subject | [Csnd] trying to get minimal cabbage example working |
I took the demo "Gbuzz synth" in Cabbage and replaced most of it with simpler things, trying to get the smallest working synth plugin I can. Note that Gbuzz synth works in my DAW (Reaper). I did not have success. The problem is there is no audible sound output. Here's what I tried: <Cabbage> form caption("first Synth") size(855, 375), pluginid("MikeFirst") image bounds( 0, 0,855,295), colour("DarkSlateGrey"), outlinecolour("White"), outlinethickness(1), shape("sharp") ; main panel colouration </Cabbage> <CsoundSynthesizer> <CsOptions> -dm0 -n -+rtmidi=null -M0 </CsOptions> <CsInstruments> ; originally tone.orc sr = 44100 ksmps = 16 nchnls = 2 0dbfs = 1 seed 0 massign 1, 1 instr 1 iamp ampmidi 0dbfs ifreq cpsmidi abuzz gbuzz 1, ifreq, (sr*0.75)/ifreq, 1, 0.8, 3 ;; ;; filter ;; kfilt_co expseg 3200, 0.2, 800 ; ares reson asig, xcf, xbw [, iscl] [, iskip] ares reson abuzz, kfilt_co, 200, 1 iatt_dur = 0.10 idec_dur = 0.10 itail_dur = 0.1 kenv linsegr 0, iatt_dur, 1, idec_dur, 0.4, 1, 0.4, itail_dur, 0 outs ares*kenv, ares*kenv endin </CsInstruments> <CsScore> f 0 3600 </CsScore> </CsoundSynthesizer> |
Date | 2021-11-30 11:26 |
From | Rory Walsh |
Subject | Re: [Csnd] trying to get minimal cabbage example working |
Looks like an issue with your gbuzz line because swapping it out for a vco2 results in audio. On Tue, 30 Nov 2021 at 10:38, Michael Mossey <michaelmossey@gmail.com> wrote:
|
Date | 2021-11-30 11:49 |
From | luis jure |
Subject | Re: [Csnd] trying to get minimal cabbage example working |
el Tue, 30 Nov 2021 11:26:53 +0000 Rory Walsh |
Date | 2021-11-30 12:23 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] trying to get minimal cabbage example working |
nowhere it seems. It needs to be given. Prof. Victor Lazzarini Maynooth University Ireland > On 30 Nov 2021, at 11:51, luis jure |
Date | 2021-11-30 19:29 |
From | Michael Mossey |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] trying to get minimal cabbage example working |
Oh I get it. I feel silly. Is there a way to test this for things like missing tables before running it in the DAW? And get error messages? I could always create a working CSD and play a few notes to check, then make the minimal changes to get to Cabbage, but it would be nice to verify I haven't done anything wrong in that last step. -Mike Mike On Tue, Nov 30, 2021 at 4:23 AM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: nowhere it seems. It needs to be given. |
Date | 2021-11-30 19:53 |
From | Rory Walsh |
Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] trying to get minimal cabbage example working |
If you run it in Cabbage it should tell you you are missing a table. If you want access to Csound messages in your Cabbage plugin, add a csoundoutput widget. Btw, Cabbage has its own forum here: https://forum.cabbageaudio.com Feel free to post any time. On Tue, 30 Nov 2021 at 19:30, Michael Mossey <michaelmossey@gmail.com> wrote:
|