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

ro.interleave breaks rdtable #890

Closed
magnetophon opened this issue May 1, 2023 · 5 comments
Closed

ro.interleave breaks rdtable #890

magnetophon opened this issue May 1, 2023 · 5 comments

Comments

@magnetophon
Copy link
Contributor

magnetophon commented May 1, 2023

When I put back the interleave in this code:

import("stdfaust.lib");

process =
  par(i, 4, 4)
  //: ro.interleave(2,2)
  : (si.bus(3),!)
  : rdtable;

I get ERROR : the parameter must a constant numerical expression : SigBinOp[0,0,4]

Which is a bummer, cause I was pretty far with an N dimensional tabulator when I ran into this.
I'll PR it to the libraries if I get it working.

@magnetophon
Copy link
Contributor Author

It's the table size that can not be interleaved, the other parameters can handle it.

@sletz
Copy link
Member

sletz commented May 3, 2023

What do you expect ? The table size is a Constant Numerical Expression.

@magnetophon
Copy link
Contributor Author

magnetophon commented May 3, 2023

I don't understand, are you saying the value is not known at compile time in this case?
It's clearly 4, both with the interleave and without it, isn't it?

@sletz
Copy link
Member

sletz commented May 4, 2023

Fixed in d7ce024.

@sletz sletz closed this as completed May 4, 2023
@magnetophon
Copy link
Contributor Author

Thank you! :)

magnetophon added a commit to magnetophon/lamb that referenced this issue May 4, 2023
possible due to the fix for grame-cncm/faust#890
Thanks Stéphane!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants