I am of course in my very first field steps, but
I was wandering how difficult would it be to add some kind of support for another 3d party environment ??
I already mentioned that I use supercollider for sound synthesis for years so my first concern was to establish an OSC connection between field - which I did easily,
but prior to start porting code to python and since supercollider can be interfaced from several IDEs ( emacs, gedit, VI ) it seems to me that it won' t be too difficult to make field a proper sc IDE
I am not at all experienced in that sort of things
but I could try porting the emacs code as an exercise at some point - who knows.. I might succeed..
what I' d like to ask is if there are any guidelines ? What is the usual procedure to add support for a 3d party piece of software ??
--
Marinos Koutsomichalis
Music Research Center, University of York
Contemporary Music Research Centre (CMRC)
Faculty of Music Technology & Acoustics - TEI of Crete
www.marinoskoutsomichalis.com
Just introducing myself - Dr J Milo Taylor - installation artist,
musician, producer, improvisor, academic.
Currently working on a project with motion capture at Uni of Sussex and
hoping to get into field to create a collaborative performance with dancers.
Keep up the great work,
Best,
Milo
> Faculty of Music Technology& Acoustics - TEI of Crete
> www.marinoskoutsomichalis.com
>
>
>
>
>
>
>
I noticed that there is support for a vast number of other languages and even 3d party apps .. like Java, Max/Msp, Processing, Clojure..
I am of course in my very first field steps, but
I was wandering how difficult would it be to add some kind of support for another 3d party environment ??
I already mentioned that I use supercollider for sound synthesis for years so my first concern was to establish an OSC connection between field - which I did easily,
but prior to start porting code to python and since supercollider can be interfaced from several IDEs ( emacs, gedit, VI ) it seems to me that it won' t be too difficult to make field a proper sc IDE
I am not at all experienced in that sort of things
but I could try porting the emacs code as an exercise at some point - who knows.. I might succeed..
what I' d like to ask is if there are any guidelines ? What is the usual procedure to add support for a 3d party piece of software ??
--
Marinos Koutsomichalis
Music Research Center, University of York
Contemporary Music Research Centre (CMRC)
Faculty of Music Technology & Acoustics - TEI of Crete
www.marinoskoutsomichalis.com
--
You received this message because you are subscribed to the Google Groups "Field-development" group.
To post to this group, send email to field-de...@googlegroups.com.
To unsubscribe from this group, send email to field-developm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/field-development?hl=en.
I already mentioned that I use supercollider for sound synthesis for years so my first concern was to establish an OSC connection between field - which I did easily,
but prior to start porting code to python and since supercollider can be interfaced from several IDEs ( emacs, gedit, VI ) it seems to me that it won' t be too difficult to make field a proper sc IDE
Me too.
Following on, since from the Overtone roadmap there appears:
> * include libscsynth in jar file and boot server in process
> * Link directly with the SuperCollider library and start the server in the same process as the JVM so we can have lower latency osc communication, and direct access to buffers of audio data for real-time visualization,
, and given clojure's reputation for ease of concurrency, some
clojure-jna work around sc-server seems like a great idea, maybe on a
general scale.
Perhaps now is also the proper time to raise as also interesting
https://github.com/Sciss/ScalaCollider. It seems to be a scala-based
redesign or rewrite of sclang, which is the language with which one
typically interacts with sc-server the supercollider server.
A little matrix of comparison:
Overtone appears to use clojure-jna to wrap sc-server into a jvm process ?
ScalaCollider seems based on the JavaCollider java bindings, to sc-server
Overtone appears to layer an entire environment upon the sc-server "engine"
ScalaCollider seems to concentrate on reworking the sclang composition layer
Supposing this encapsulated the options, then there could variously be
a) a javacollider jar in field
b) scalacollider likewise, in field
c) clojure-jna work against sc-server
I'd like to think the javacollider layer in scalacollider may be
abstracted out.
Might that not open the door to SuperCollider work in Field in either
sclang or scala, against c)?
--
Al Matthews
Finally had an hour to hack on this and I have something with Overtone
working fine in Field.
Brief story (it's pretty much as you'd expect):
follow the install instructions at
https://github.com/overtone/overtone until you can get the whole thing
working (i.e. lein repl , ((synth (out 0 (pan2 (sin-osc 440))))) makes
sound come out of your speakers ).
you'll end up with a directory ..../overtone/lib and ..../overton/src in it.
Now you need to tell Field's plugin manager about these dirs. The
first is a "add directory full of jars to classpath" and the second is
a "add jar/directory to classpath".
Now you can write:
(use 'overtone.live)
(definst sin-wave [freq 440 attack 0.01 sustain 0.4 release 0.1 vol 0.4]
(* (env-gen (lin-env attack sustain release) 1 1 0 1 :free)
(sin-osc freq)
vol))
(sin-wave)
(definst spooky-house [freq 440 width 0.2
attack 0.3 sustain 4 release 0.3
vol 0.4]
(* (env-gen (lin-env attack sustain release) 1 1 0 1 :free)
(sin-osc (+ freq (* 20 (lf-pulse:kr 0.5 0 width))))
vol))
(spooky-house)
---
Wrapped in a Clojure transform of course. That's basically the extent
of my testing right now.
Unfortunately you'll need the current repository version of Field
rather than a stock Field 12 (bug concerning how Field redirects
Clojure output — it seems that there's some serious voodo inside
Clojure about how *out* and *err* are bound). If anybody is desperate
to try this and isn't in the mood to build Field from source, give me
a shout and I'll make an interim build.
>
> Me too.
>
> Following on, since from the Overtone roadmap there appears:
>
> > * include libscsynth in jar file and boot server in process
> > * Link directly with the SuperCollider library and start the server in the same process as the JVM so we can have lower latency osc communication, and direct access to buffers of audio data for real-time visualization,
Yes, as far as I can tell this is what they are currently doing (I
certainly don't recall installing, and can't find, SC on this
partition).
>
> , and given clojure's reputation for ease of concurrency, some
> clojure-jna work around sc-server seems like a great idea, maybe on a
> general scale.
>
> Perhaps now is also the proper time to raise as also interesting
> https://github.com/Sciss/ScalaCollider. It seems to be a scala-based
> redesign or rewrite of sclang, which is the language with which one
> typically interacts with sc-server the supercollider server.
>
> A little matrix of comparison:
>
> Overtone appears to use clojure-jna to wrap sc-server into a jvm process ?
> ScalaCollider seems based on the JavaCollider java bindings, to sc-server
>
> Overtone appears to layer an entire environment upon the sc-server "engine"
> ScalaCollider seems to concentrate on reworking the sclang composition layer
>
> Supposing this encapsulated the options, then there could variously be
>
> a) a javacollider jar in field
> b) scalacollider likewise, in field
> c) clojure-jna work against sc-server
>
> I'd like to think the javacollider layer in scalacollider may be
> abstracted out.
I agree. But briefly looking at both projects shows a lot of sugar for
writing Supercollider code without writing it in the supercollider
language. I wouldn't want to sign up to supporting a Python version of
all that; cool as it would be.
It's also a good excuse to sharpen my Clojure (or Scala) skills and
the Field / Clojure interop.
Marc.
> Yes, as far as I can tell this is what they are currently doing (I
> certainly don't recall installing, and can't find, SC on this
> partition).
Maybe the .so files in
~/.m2/overtone/lib/scsynth-jna-0.1.2-20100502.112537-1.jar, is all I
can figure
--
Al Matthews
Overtone is a new version ahead of that tutorial. Let me download their latest and see what's changed.
--
Al Matthews