csound / web-ide

Online web-ide for ide.csound.com
https://ide.csound.com
GNU Lesser General Public License v2.1
30 stars 13 forks source link

BUG: scanu opcode - syntax error - man example won't play and neither will my instruments #74

Open csounder opened 4 years ago

csounder commented 4 years ago

console output from man example

inactive allocs returned to freespace end of score. overall amps: 0.0 overall samples out of range: 0 0 errors in performance Elapsed time at end of performance: real: 12.701s, CPU: 12.701s 2188 256 sample blks of 32-bit floats written to dac resetting Csound instance 0dBFS level = 32768.0 --Csound version 6.14 (float samples) Aug 1 2019 [commit: 69f84761cbe4e7e79be1cd1e99a0f0d45eb09499] libsndfile-1.0.25 CsoundObj_compileCSD... csoundCompileCsdText... STARTING FILE Creating options Creating orchestra closing tag Creating score

error: syntax error, unexpected INTEGER_TOKEN (token "1") from file string (1) line 18:

scanu 1 <<< Unexpected untyped word scanu when expecting a variable Parsing failed due to invalid input! Stopping on parser failure displays suppressed 0dBFS level = 32768.0 orch now loaded audio buffered in 256 sample-frame blocks unknown rtaudio module: 'PortAudio', using dummy module rtaudio: dummy module enabled reading 512-byte blks of shorts from adc (RAW) unknown rtaudio module: 'PortAudio', using dummy module writing 256 sample blks of 32-bit floats to dac SECTION 1: Failed to compile CSD text.

jpffitch commented 4 years ago

It clearly does not have the scanu opcode built

⁣Sent from TypeApp ​

On May 15, 2020, 15:49, at 15:49, csounder notifications@github.com wrote:

console output from man example

inactive allocs returned to freespace end of score. overall amps: 0.0 overall samples out of range: 0 0 errors in performance Elapsed time at end of performance: real: 12.701s, CPU: 12.701s 2188 256 sample blks of 32-bit floats written to dac resetting Csound instance 0dBFS level = 32768.0 --Csound version 6.14 (float samples) Aug 1 2019 [commit: 69f84761cbe4e7e79be1cd1e99a0f0d45eb09499] libsndfile-1.0.25 CsoundObj_compileCSD... csoundCompileCsdText... STARTING FILE Creating options Creating orchestra closing tag Creating score

error: syntax error, unexpected INTEGER_TOKEN (token "1") from file string (1) line 18:

scanu 1 <<< Unexpected untyped word scanu when expecting a variable Parsing failed due to invalid input! Stopping on parser failure displays suppressed 0dBFS level = 32768.0 orch now loaded audio buffered in 256 sample-frame blocks unknown rtaudio module: 'PortAudio', using dummy module rtaudio: dummy module enabled reading 512-byte blks of shorts from adc (RAW) unknown rtaudio module: 'PortAudio', using dummy module writing 256 sample blks of 32-bit floats to dac SECTION 1: Failed to compile CSD text.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/csound/web-ide/issues/74

hlolli commented 4 years ago

@csounder I'll get scanu and other dynamically linked opcodes working on the web. I think me and Steven agree on that this is something we want to have, but seems we need to find the best way and best practice to compile plugins/libraries. Like I mentioned, this is not the only opcode missing in current Emscripten implementation used by the Web-IDE, that would at the moment include emugens and some c++ opcodes like mtof. Please ask me again in ~4 weeks, in case this is forgotten.

csounder commented 4 years ago

Excellent.

MIDI support is even more important

Dr. Richard Boulanger Professor Electronic Production and Design Berklee College of Music

On May 15, 2020, at 4:03 PM, Hlöðver Sigurðsson notifications@github.com wrote:

 @csounder I'll get scanu and other dynamically linked opcodes working on the web. I think me and Steven agree on that this is something we want to have, but seems we need to find the best way and best practice to compile plugins/libraries. Like I mentioned, this is not the only opcode missing in current Emscripten implementation used by the Web-IDE, that would at the moment include emugens and some c++ opcodes like mtof. Please ask me again in ~4 weeks, in case this is forgotten.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.