Created
July 5, 2013 16:27
-
-
Save colinbdclark/5935676 to your computer and use it in GitHub Desktop.
Creating Flocking synths in the Infusion IoC style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fluid.defaults("colin.sinSynth", { | |
gradeNames: ["flock.synth", "autoInit"], | |
synthDef: { | |
ugen: "flock.ugen.sinOsc", | |
freq: 440, | |
mul: 0.25 | |
} | |
}); | |
fluid.defaults("colin.orchestra", { | |
gradeNames: ["fluid.littleComponent", "autoInit"], | |
components: { | |
synth1: { | |
type: "colin.sinSynth" | |
}, | |
synth2: { | |
type: "colin.sinSynth", | |
options: { | |
synthDef: { | |
freq: 640 | |
} | |
} | |
} | |
} | |
}); | |
var orc = colin.orchestra(); |
Hey Colin,
I am 63 and 3-weeks into learning about SuperCollider.
My Firefox History shows I must've been investigating your works and your
website yesterday after noon.
Yeah, I watched your videos, and listened to your audio files.
There is much I would like to learn about SuperCollider. I am an artist,
and my brains struggle to grasp coding, but I want to learn!
I used to know another Colin. A Twin who together, they built my first PC
back in 1996. Brilliant (gone now) they were nerdy as Steven Hawkings.
I want to build a sort of DRUM CIRCLE MUSIC APP (called #GitXome!).
I pretty much depend upon Coffee to start my day, and I am only on my first
cup of my usual two cups. (bare with me a moment, please, since you are
still alive and courteous enough to have taken the time to reply).
Only yesterday, during this period of time, did I discover that there is a
FlockingJS. I tried it out a little on the official site, and noticed
glitches or clicks upon each Evaluation. (One piece of your code actually
played sound pattern and I was thrilled! ..... (I had almost forgotten
about my dream MIDI App, #GitXome! -lost in this new SuperCollider Code,
World)..
Now, looking at what I saved in SC, I had been playing with redFrik code, I
think I was reading playing with
https://rohandrape.net/pub/blksc3/blksc3.html
....before I landed upon the FlockingsJS information. I am really still
out-there when I reawaken.
Now I'm in a rush to make a nooner
Would you be open to helping me answer some questions about building my App
RELYING UPON SC / and Perhaps FLOCKING JS?
I have been reading The SuperCollider book and Introduction to
SuperCollider by Andreas.
I also bought two Python paperbacks and await a third book Creating Rhythms
PaperbackStefan Hollos.
Loosely, I'd like to create an APP that -well I also saw you have a
Publication about MESH something er other.
1. Stand-alone LAN SERVER, receives MIDI MEssages from all users of
#GitXome! App, making a sort of DRUM CIRCLE-like cacophony of music. App
triggers MIDI Messages for Audio/Visuals.
My big idea is YouTube.com/THIStm (a clothing brand name)
#NewRetailTheatre, Social Media Portals like mods-pods.com
blah blah blah running out the door..
Top Z-Index Llayer, triggers MIDI Messages.
I cannot imagine how the AUDIo created from INTERACTIVITY will ever come
together without some better insight about the matter.
Buddy Jackson
Thousand Oaks.
…On Sat, Apr 8, 2023 at 8:56 AM Colin Clark ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
hmmm, I'm too new to flockingjs to know the solution.
Error: Assertion failure - check console for more details: The grade
hierarchy of component with type colin.orchestra is incomplete - it
inherits from the following grade(s): fluid.littleComponent, autoInit for
which the grade definitions are corrupt or missing. Please check the files
which might include these grades and ensure they are readable and have been
loaded by this instance of Infusion
Hi @GitXome <https://github.com/GitXome> This is a decade-old Gist, using
an API that hasn't been supported for a very long time. Out of curiosity,
is there a reason why you're interested in it, and how did you come across
it? The Flocking Playground <https://flockingjs.org/demos/playground/>
has examples that are more current, in case it is helpful.
If you really wanted to make this work, you could change lines 2 and 12 to:
gradeNames: "fluid.component"
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/colinbdclark/5935676#gistcomment-4530617> or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6RH3IXWV2E7XHNY4HU4YXTXAGDDDBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFU42TSMZVGY3TNJ3UOJUWOZ3FOKTGG4TFMF2GK>
.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @GitXome This is a decade-old Gist, using an API that hasn't been supported for a very long time. Out of curiosity, is there a reason why you're interested in it, and how did you come across it? The Flocking Playground has examples that are more current, in case it is helpful.
If you really wanted to make this work, you could change lines 2 and 12 to:
gradeNames: "fluid.component"