[Csnd-dev] WASM: NaN in output buffer
Date | 2017-08-04 12:53 |
From | Hlöðver Sigurðsson |
Subject | [Csnd-dev] WASM: NaN in output buffer |
I'm getting NaN's with csound-wasm, both by running locally wasm/minimal.html and in trough my clojurescript on Nodejs setup
Error message is on both platforms exacly the same NaN! outputPointer = 6633640 Those NaN seem have their origin in CsoundObj_getOutputBuffer coming from Csound. I think this is platform independent so I'm curious if others are getting these errors too? Best, Hlöðver |
Date | 2017-08-04 16:13 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
This happens on all examples with the newest wasm build, some regression happened here I guess. On 4 August 2017 at 13:53, Hlöðver Sigurðsson <hlolli@gmail.com> wrote:
|
Date | 2017-08-04 16:21 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
it does not happen here at all.
Maybe it's the compiler? Emscripten had strange problems with NaNs before.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-08-04 16:27 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
I try now updating emscripten from 1.37.16 to 1.37.18 (will take a while I guess). On 4 August 2017 at 17:21, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
|
Date | 2017-08-04 16:29 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
or it could be the browser. I am running chrome 59 here. Did you try firefox? ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 4 Aug 2017, at 16:27, Hlöðver Sigurðsson |
Date | 2017-08-04 16:40 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
Tried Node/Firefox too, I tried the wasm examples hosted online on github.csound.io, and I served it locally, and it works in the csound online examples but not locally with with builds (on same browser). On 4 August 2017 at 17:29, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: or it could be the browser. I am running chrome 59 here. Did you try firefox? |
Date | 2017-08-04 16:45 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
It could be the compiler then. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 4 Aug 2017, at 16:40, Hlöðver Sigurðsson |
Date | 2017-08-04 16:46 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
I have this one here (older?) victor$ emcc --version emcc (Emscripten gcc/clang-like replacement) 1.37.9 () ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 4 Aug 2017, at 16:45, Victor Lazzarini |
Date | 2017-08-04 16:50 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
ok, https://github.com/kripken/emscripten/releases you're on an older version. Well, guess it would make sense you tried out too to update :) ? On 4 August 2017 at 17:46, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: I have this one here (older?) |
Date | 2017-08-04 16:55 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
Not if it’s going to create bad builds… it’s working now, so I am not too keen on breaking it. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 4 Aug 2017, at 16:50, Hlöðver Sigurðsson |
Date | 2017-08-04 17:01 |
From | Victor Lazzarini |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
Actually the version I have is the latest released binary. You might want to use it instead of tagged git releases. It’s probably safer. ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 4 Aug 2017, at 16:55, Victor Lazzarini |
Date | 2017-08-04 17:06 |
From | Hlöðver Sigurðsson |
Subject | Re: [Csnd-dev] WASM: NaN in output buffer |
Ok good point, 30% left of this build, roll back to 1.37.9 if the latest is also causing problems. On 4 August 2017 at 18:01, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote: Actually the version I have is the latest released binary. You might want to use it instead of tagged git releases. |