justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
In a few words how will advise someone getting started with JSFX coding, for example, is the advice don't calculate too much at the @slider a good advice?
Asked by Deeee (197.251.240.x) on April 28 2025, 7:01pm
Reply on April 28 2025, 9:48pm:
depends on what the goals are, but in general make things simple and readable and don't prematurely try to optimize.
also, for JSFX in particular, variables (e.g. x) are a lot faster than memory (e.g. x[1]), and variables and constants are roughly similar in speed (e.g. using some_global_scale = 2.0 vs 2.0 directly in the code, no real difference).
Comments:
Posted by Deeee (197.251.240.x) on April 29 2025, 2:08am:
I see, thanks for tips, especially the variables vs memory.
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2025 Justin Frankel
.
|
RSS