| It's the third button on the right, after the play and stop buttons.
The code for the instrument looks like this:
instr FM
ifreq = p4
iamp = p5
;; Adjusting index for amod2 depending on base frequency and sr/3
imodindx = ((sr / 3) - ifreq) / ifreq
imodindx *= .1
; print imodindx
; print imodindx * ifreq + ifreq
imodf1 = ifreq * 8
imodf2 = ifreq * 1
;; FM
amod1 = oscili(imodf1 * expseg(2, 0.2, .001, p3, 0.001), imodf1)
amod2 = oscili(imodf2 * imodindx, amod1 + imodf2)
acar = oscili(0.25, ifreq + amod2)
;; AM
acar2 = oscili(0.2, ifreq * 0.5)
acar2 *= oscili(1, ifreq * 1) + 1
;; Mixing signals and applying Amp envelopes
asig = acar + acar2
asig *= expseg(iamp, 0.45, .001, p3, 0.001)
asig *= linen:a(1, .001, p3, .001)
pan_verb_mix(asig, 0.5, 0.2)
endin
(can replace pan_verb_mix with out(asig,asig) and it should run
outside of the project)
On Fri, Oct 2, 2020 at 8:38 AM John ff wrote:
>
> What download button?
>
> Sent from TypeApp
>
> On Sep 30, 2020, 21:52, at 21:52, Steven Yi wrote:
> >Odd, I can see the entire project.orc here. Maybe it is a browser
> >issue we're not aware of? You could use the download button to
> >download the project as a zip and open locally.
> >
> >On Wed, Sep 30, 2020 at 4:46 PM john wrote:
> >>
> >> Ho does one see the orchestra? I can only get a few lines
> >>
> >> On Wed, 30 Sep 2020, Steven Yi wrote:
> >>
> >> > Hi All,
> >> >
> >> > I thought I'd share another instrument design that has a kind of
> >> > banjo-esque sound:
> >> >
> >> > https://ide.csound.com/editor/8hgYkyQV3dI95yl7F6FW
> >> >
> >> > This one is using a Cascade FM setup with 3 operators; I added in a
> >> > pair of oscillators doing AM to add a little heft at the bottom end
> >of
> >> > the instrument's spectrum. The FM part has an index value that is
> >> > frequency dependent (started off as an experiment in bandlimiting
> >the
> >> > spectrum) and kind of took on a life of its own from there.
> >> >
> >> > The project uses livecode.orc but the core instrument should be
> >easy
> >> > to re-use by removing the pan_verb_mix() call and inserting your
> >own
> >> > output routing.
> >> >
> >> > Cheers!
> >> > Steven
> >> >
> >>
> >> 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
> >
> >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
>
> 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
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 |