[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Record OSC
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] Record OSC
- From: marcello.lussana@xxxxxxxxxxxx
- Date: Tue, 10 Dec 2019 21:05:54 +0100
- Autocrypt: addr=marcello.lussana@xxxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFsym90BEADN76RqbGYH3ySNjIRA4HqWuGbTeJTeCJBO3jxGq/sLYVS1k11mHuzmCjQ0 WAkntkPiQEbhpprUXVktC1xnrtt2A4d3aFyqQ8WaxQuEpdkfjtbKxWtcuvUdHQ/VKWinRYiH sLuNzkObbe2yRTwSesT3HAqXCBLy0WzixDrqH9rmeSZVMDyppqQ8GJBAShyqcSQ/VaysMdg8 RIberAABf1TyrqhHBiyVCO7K6svqcjlWnJeyOs/uRfsC3DNUpSsFRYm0Ytz+mgjwE1qtQgay Hiv01QJnJmZIRKUEarx6Gkp+BhAHsriJqZyKrKSzrq8lfOBfRjGxxA/I+vbOvT2QVLbxk2ju 9+ACSFX0Nn6jXYjMVNE7mHCz9Qz+KCsTv562CjFc5zTFyztF2oec2+JSTUDqky6PNft/oShV aZxRhJpoTq/4x8hApJW3mLRIOxV892dBvKcUEtwnG5D1P4DXLRm06iONyM4XozmEl1j4dkDN +uX9Z3Pu/lrkGn4asdBACqGwQKFNLEW+bJZpbE5ZWJf70jP/vA5nSsnKkTlMNbY/gsY4qWFv j59hJ+XbWNo2Qty0wtXEBhNCFHTsRhtoUAitf8ifZ8XxuTPBynp58GCJoQhe2e0eAomltrAG NAzD5vmf1A6VCdZKeN0bWj4OfyE+C1c2YkeL7ZEsxE4dv2Pw0wARAQABzShNYXJjZWxsbyA8 bWFyY2VsbG8ubHVzc2FuYUBodS1iZXJsaW4uZGU+wsGlBBMBCAA4AhsjBQsJCAcCBhUICQoL AgQWAgMBAh4BAheAFiEEztB7mpu0oFxzek/RzpNUeCgFTFMFAlz42U4AIQkQzpNUeCg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ji9DHPiy+4ZYB6MmXU4XFSN6MVJ7nTCW pxMi8OlYOHT1h/mAsWQBiyA25SoHutyINlZKuHqq5/sTpjuX6XQ=
- In-reply-to: <CAFniQ7X3vs9AXGsP7K2LPiOiprfGPz=sidoarC=dpiyeAk+u_A@mail.gmail.com>
- Ironport-sdr: SlnHrtxSfzQ7JMTF5kCKhpXTx13iENoj6v8ohNpbjPP+yXIshULrL7qf8o54AySxI2WVPSXFm5 Bf8FB5idrcJw==
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <456899e4-ba40-cc72-653e-c92e9e642761@hu-berlin.de> <CAFniQ7X3vs9AXGsP7K2LPiOiprfGPz=sidoarC=dpiyeAk+u_A@mail.gmail.com>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1
Thank you for your explanation.
I cannot really find where the extension try to force the float datatype
though, do you know which function/method is supposed to do that?
On 10.12.19 15:09, jamshark70@xxxxxxxxx wrote:
>
> On Tue, Dec 10, 2019 at 7:39 PM <marcello.lussana@xxxxxxxxxxxx
> <mailto:marcello.lussana@xxxxxxxxxxxx>> wrote:
>
> hi all,
>
> I am looking for a way to record and playback OSC messages.
>
> I found a an extension on git that does exactly that:
> https://github.com/sensestage/SC-OSCFileLog
> Running the example in the help file, unfortunately I get an error (see
> below) when I try to play back the recorded file, I guess it might be a
> SC version problem, as this extension is 5 years old.
>
> Are there any other known way to record and playback OSC messages?
>
> Thanks,
> Marcello
>
> ==================
>
> ERROR: Command line parse failed
> ERROR: syntax error, unexpected INTEGER, expecting NAME or WHILE or '['
> or '('
> in interpreted text
> line 1 char 5:
>
> 0.0.0
> ^
>
>
> SC changed so that floating-point numbers whose fraction is 0 (e.g. 1.0,
> 2.0 etc.) now always print with .0 at the end. Before, .0 was omitted.
>
> It looks like this extension is forcing a certain datatype to be always
> float in the text representation, without checking whether the decimal
> point is actually missing.
>
> That's an annoyance (and developers are aware that this change, though
> made for a good reason, did end up breaking code) -- but it's also
> because of fragile code design in the extension. That is, it's correct
> to add .0 if a float renders as e.g. "300" (no decimal point) -- but the
> logic in the code currently doesn't check for a decimal point -- it says
> "if the fraction is zero, then there is no decimal point, so we have to
> add one." So the extension should be updated either to remove the check
> (which is not necessary anymore) or to use a simpler condition.
>
> hjh
_______________________________________________
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/