justin = {
main feed
,
music
= {
decanted youth
,
yes, exactly, yes!
,
not vampires
,
full archive
}
,
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:
Here's the link to my post in the WDL forum: forum.cockos.com/showthread.php?p=1411651#post1411651...
Asked by MezmerizeR (87.162.111.x) on September 30 2014, 11:41am
Reply on October 2 2014, 5:10pm:
I don't want to do it for you, but here's my advice: processSamples should just copy the samples into some sort of queue, which should always contain the most recent X samples (where X is the FFT size or some multiple of that). Then, when ::Draw() wishes to draw, it should take the most recent FFT-size samples, copy them, window them, FFT them, then draw. If the input samples haven't changed since the previous draw, it could reuse the previous results. This method would have the added advantage of reducing the audio thread CPU use (and putting it in the UI thread).
Original link:
http://forum.cockos.com/showthread.php?p=1411651#post1411651
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2024 Justin Frankel
.
|
RSS