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:
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 -dm0 -n -+rtmidi=null -M0; 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 areskenv, areskenv
endin
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here