[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [sc-users] Re: Make a function into a synthdef



Sure, sorry about that.
Ege Gonul posted a DX-7 emulator a few years ago:
https://github.com/everythingwillbetakenaway/DX7-Supercollider

It works by users calling function "~mainCaller", which has three
arguments: note value, velocity, and program number.

The stumbling block is being able to control this with a pattern
language.  adam@xxxxxxxxxx provided the following:

(
Pbind(
     \degree, Rest, // make pattern silent
     \dur, Pseq([1,3,7,2], inf),
     \note, Pseq([50,52,64], inf),
     \vel, Pseq([80,50,10,127], inf),
     \preset, Pseq([1,2,3,4,8], inf),
     \put, Pfunc({|values|
         ~mainCaller.value(
             values.note,
             values.vel,
             values.preset)
     })
).play(TempoClock(65/60*4));
)

This works fairly well, except it doesn't manage noteOff/legato/etc.
Julian Rohrhuber suggested modifying the event type, but I couldn't
quite figure out how to make it work for this application.


On Mon, Dec 23, 2019 at 7:40 AM <daniel-mayer@xxxxxxxx> wrote:
>
> Hi,
>
> I cannot find the old thread in the archives (probably because sent from nabble).
> From the text here I cannot understand exactly what you're intending to do.
> Could you please give a little example ?
>
> Greetings
>
> Daniel
>
> > Gesendet: Montag, 23. Dezember 2019 um 04:28 Uhr
> > Von: geoffbaltan@xxxxxxxxx
> > An: sc-users@xxxxxxxxxxxxxxxx
> > Betreff: Re: [sc-users] Re: Make a function into a synthdef
> >
> > Hi there -
> > I started digging into this code again recently, after I put it on the
> > back-burner for quite some time. Looks like about two years!
> >
> > Has anyone had any luck using this DX7 emulation with an alternate
> > event type (including legato/rests/etc?)?
> >
> > Thanks,
> > Geoff
> >
> >
> > On Wed, Jun 20, 2018 at 10:03 PM geoff baltan <geoffbaltan@xxxxxxxxx> wrote:
> > >
> > > Hi there -
> > >
> > > I am still struggling with this project - I'm curious if anyone has
> > > made any progress here and would be willing to share.
> > >
> > > HJH suggested that my function:
> > > 1. Starts the note.
> > > 2. Schedules the release for "~sustain.value" beats later.
> > >
> > > I can't quite wrap my head around how one would do this on the
> > > code-side, though.
> > >
> > > I understand that something like Event.addEventType(\noteStopper)
> > > would be the start....but what I'd like to do is take the incoming
> > > note and the duration value (\dur) and produce a combination of the
> > > incoming note, paired with a velocity of "0"  that arrives at the time
> > > specified by the duration. I have no idea how this would look - are
> > > there some example addEventTypes that will help me understand how this
> > > protocol gets used? Can anyone help me with the intended function?
> > >
> > > I'm also curious if anyone has managed to figure out pitchbends within
> > > this DX7 emulator. I'm not used to calling a function in this way and
> > > it has been an uphill battle.
> > >
> > >
> > >
> > > On Fri, Dec 15, 2017 at 9:38 PM,  <fbfrankb5@xxxxxxxxx> wrote:
> > > > thank you so much. All of you.
> > > >
> > > >
> > > >
> > > > --
> > > > Sent from: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html
> > > >
> > > > _______________________________________________
> > > > sc-users mailing list
> > > >
> > > > info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> > > > archive: https://listarc.bham.ac.uk/marchives/sc-users/
> > > > search: https://listarc.bham.ac.uk/lists/sc-users/search/
> >
> > _______________________________________________
> > sc-users mailing list
> >
> > info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> > archive: https://listarc.bham.ac.uk/marchives/sc-users/
> > search: https://listarc.bham.ac.uk/lists/sc-users/search/
> >
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/