Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

karray = iarray no longer works #1712

Open
ErrorThink opened this issue Jun 1, 2023 · 1 comment
Open

karray = iarray no longer works #1712

ErrorThink opened this issue Jun 1, 2023 · 1 comment
Assignees
Labels
CsoundWASM Relating to the Csound WASM/Web Audio backend

Comments

@ErrorThink
Copy link

karray assignment from an i array used to work
For example: The following code works in Windows Csound version 6.18 (double samples) Nov 23 2022
However raises an error in the Web version 6.18.7 (as found at https://cdn.jsdelivr.net/npm/@csound/browser@6.18.7/+esm).

instr 1
  iArr[] fillarray 1,2,3,4,5
  kArr[] = iArr
  printarray kArr
  turnoff
endin

schedule 1,0,1

Error message is:
InitError in wrong mode 0
INIT ERROR in instr 1 (opcode =._) line nnn: array-variable types do not match

@vlazzarini
Copy link
Member

@hlolli do you know why?

@vlazzarini vlazzarini added the CsoundWASM Relating to the Csound WASM/Web Audio backend label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CsoundWASM Relating to the Csound WASM/Web Audio backend
Projects
None yet
Development

No branches or pull requests

3 participants