-
Notifications
You must be signed in to change notification settings - Fork 29
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
tables with a size which is not a power of two? #706
Comments
no longer true. Also there is no need to use negative size since 6.0. |
good. i will remove this Note. |
yes but i suggest that on this manual page we should mention the issues
we discussed about the extended guard point and its effect on the
reported table size. perhaps victor can say whether this is correct and
can go into the manual:
Note that setting a *positive* table size as a power of two plus one is
interpreted by Csound as a power of two size with extended guard point
for interpolation.
E.g. positive table size 8 and 9 both will report 8 as actual table size:
ftlen(ftgen(0,0,8,2,0)) -> 8
ftlen(ftgen(0,0,9,2,0)) -> 8
A *negative* table size however will set the real size of the table,
without distiguishing between power-of-two-plus-one and other sizes:
ftlen(ftgen(0,0,-8,2,0)) -> 8
ftlen(ftgen(0,0,-9,2,0)) -> 9
…On 30/04/2024 10:02, vlazzarini wrote:
no longer true. Also there is no need to use negative size since 6.0.
—
Reply to this email directly, view it on GitHub
<#706 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQYHKS63L4YK2AARYV24V3Y75F25AVCNFSM6AAAAABG7V52BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGY2TEMZUGQ>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
GEN20 still Must be a power of 2 ( + 1). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://csound.com/manual/SiggenTableacc.html
Is this Note no longer true for 7.0?
[Note] Note
Although tables with a size which is not a power of two can be created using a negative size (see f score statement), some opcodes will not accept them.
The text was updated successfully, but these errors were encountered: