Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Capytalk ‘nil’ #1968
    Cristian Vogel
    Participant

      …or?    Maybe not. I can’t quite tell in the context I am working right now. Except that it compiles, so perhaps SSC can clarify 🙂

       

      its not urgent

      in reply to: Ambisonics and Kyma #1551
      Cristian Vogel
      Participant

        Yes so we did publish the KAT toolkit for ambisonics

         

        Kyma Ambisonic Toolkit

        in reply to: Script to rewrite OSC for Kyma #1030
        Cristian Vogel
        Participant

          I made a little mistake in the code posted above… but seems like the forum won’t let me edit my post. The rewrite block should read:

           

          rewriter:=
          [:inputList |
          | result |
          result := OrderedCollection new.
          inputList do: [:message |
          | stem argCount  |
          stem := (‘osc_’&(message copyFrom: 2 to: message size) copyReplaceAll: #($/) with: #($_)).

          argCount := message occurrencesOf: $f.
          (argCount > 0) ifTrue: [
          (1 to: argCount) do: [:n | |
          arg |
          arg := (stem copyUpTo: $ )&’__’&n.
          result add: (arg asHotValue).
          ]
          ] ifFalse: [    result add: (stem asHotValue).]
          ].
          result
          ].

           

        Viewing 3 posts - 1 through 3 (of 3 total)