Hey guys I try to use Pharo to use Supercollider via OSC. OSC library is
maintained by Stef in STHub.

So SC informs that it receives the messages sent, but in Pharo I am getting
annoying Primitive errors that I paste bellow. Anyone knows if this a bug
or something missing here ?

Also SC sometimes it informs me that the message was received in a
different port than it was sent.

Here the code I am using

(OSCMessage for:{'/mixer.volume'. 1 . 0.2})sendTo: '127.0.0.1' port: 57120.

Any help greatly appreciated.

Supercollider is an application which is basically a server written in C++
that does music composition and audio synthesis live , its extremely
powerful and the top professional audio tool for audio synthesis and music
live coding.

http://supercollider.github.io

Socket(Object)>>primitiveFailed:
Socket>>errorSending:startingAt:count:toHost:port:
Socket>>primSocket:sendUDPData:toHost:port:startIndex:count:
Socket>>sendUDPData:toHost:port:
OSCMessage(OSCPacket)>>sendTo:port:
UndefinedObject>>DoIt
OpalCompiler>>evaluate
RubSmalltalkEditor>>evaluate:andDo:
RubSmalltalkEditor>>highlightEvaluateAndDo:
[ textMorph textArea editor highlightEvaluateAndDo: ann action.
textMorph shoutStyler style: textMorph text ] in [ textMorph textArea
handleEdit: [ textMorph textArea editor highlightEvaluateAndDo: ann action.
textMorph shoutStyler style: textMorph text ] ] in
GLMMorphicPharoScriptRenderer(GLMMorphicPharoCodeRenderer)>>actOnHighlightAndEvaluate:
in Block: [ textMorph textArea editor highlightEvaluateAndDo...etc...
RubEditingArea(RubAbstractTextArea)>>handleEdit:
[ textMorph textArea
handleEdit: [ textMorph textArea editor highlightEvaluateAndDo: ann action.
textMorph shoutStyler style: textMorph text ] ] in
GLMMorphicPharoScriptRenderer(GLMMorphicPharoCodeRenderer)>>actOnHighlightAndEvaluate:
in Block: [ textMorph textArea...
WorldState>>runStepMethodsIn:
WorldMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
WorldMorph>>doOneCycle
[ [ World doOneCycle.
Processor yield.
false ] whileFalse: [  ] ] in MorphicUIManager>>spawnNewProcess in Block: [
[ World doOneCycle....
[ self value.
Processor terminateActive ] in BlockClosure>>newProcess in Block: [ self
value....

Reply via email to