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):
[
newer questions
]
[
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
[
older questions
]
Question:
When are you going to come and talk about your work?
Asked by Verde Valley Sch (12.44.144.x) on January 7 2011, 6:51pm
Reply on January 8 2011, 2:08pm:
Well, an invite would go a long way.. and an honorary degree. Oh wait, maybe I should try for one from Harvard instead?
I'm kidding of course.. if I was invited I'd be more likely to do those sorts of things. Might be fun to do a project period in some area, maybe recording?
Comment...
Question:
Drew this for you years ago. Use it however you'd like (if at all). stashbox.org/1052386/jesusonic.jpg
Asked by Will (24.234.128.x) on January 7 2011, 3:29pm
Reply on January 8 2011, 2:08pm:
That is awesome!
Comment...
Question:
So given compiler technology in 2011, is it not as worthwhile to know the guts of CPUs (cache intricacies) as much as the 90s?
Asked by Will (24.234.128.x) on January 5 2011, 12:06pm
Reply on January 6 2011, 6:49am:
I think it is still worthwhile, but two factors are primarily different (Compiler tech has gotten incrementally better but I wouldn't say it is a primary factor):
I think you're less likely to be writing things that use more than 90% of the CPU power available at once, which makes it harder to test those sort of optimizations -- getting a result of "this took less time than before" vs "this can actually run fast enough to watch" is less satisfying, and more time might be spent making things run in multiple threads for bigger improvements, rather than say, optimization for cache line size, etc.
CPUs are a lot more complex, so it is a lot harder to know their intricacies than it was. Back in the day, we could write assembly code Pentiums with paired instructions for U and V pipelines, we knew approximately how big the caches were and what the cache line size was, and it was a pretty simple target. These days, if you write assembly, you're targeting many different generations of CPUs, which have a wide variety of characteristics, can schedule instructions out of order, etc, so it's really harder to know how a change will affect code, and often hard to test that.
Comment...
Question:
any filter code to remove spikes in audio samples at realtime?
Asked by ruchira (202.129.233.x) on January 3 2011, 6:59pm
Reply on January 3 2011, 8:02pm:
Hmm nothing off the top of my head, it's not a trivial task.
Comment...
Question:
Hey have you seen this clip of Tame Impala? bit.ly/eBpgpT I wish they did that part for 3+ minutes it sounds great!
Asked by AnalSeducer (71.204.133.x) on January 3 2011, 3:07pm
Reply on January 3 2011, 8:02pm:
Awesome. They did something similar when I saw them, so great.
Comment...
Question:
When was the time you last used your Pouet.net account? (Or thought about making a 256 byte intro again, for that matter.) :P
Asked by Gargaj (81.183.89.x) on January 3 2011, 11:27am
Reply on January 3 2011, 8:02pm:
It's been a while.
Comment...
Question:
By what scalefactor is CPU cache faster than memory running at modern bus speeds?
Asked by Will (24.234.128.x) on January 3 2011, 11:00am
Reply on January 3 2011, 8:04pm:
If I had to guess, the latency on memory in cache would be 1 cycle (for L1, I'm not sure how it works these days with the various caches, but the others may be close to that), and for going across the memory controller to DDR, probably something like 10-50x that. I'm pulling those number out of my ass, though.
Comment...
Question:
Hey just curious. What made you start to learn Perl? Was it for work or for play? Hey got new pics of NY you might upload?
Asked by AnalSeducer (71.204.133.x) on January 3 2011, 10:48am
Reply on January 3 2011, 8:04pm:
Convenience, mostly, since OS X comes with, and msysgit does too... whereas PHP I need to install on win32...
Comment...
Question:
Does smaller really matter now? Multi TB drives: check. 15mbps internet: check. 16gb flash drive: check. etc.
Asked by Will (70.173.150.x) on January 2 2011, 8:00pm
Reply on January 3 2011, 9:23am:
Hmm yes but CPUs only have a few megabytes of cache, still... and if we increased our download size by 10x, we'd use a lot more bandwidth.
Comment...
Question:
Why is reaper so small? Others are 100times bigger (but not necessarily better)?
Asked by mopsi007 (194.48.133.x) on January 2 2011, 5:38am
Reply on January 2 2011, 5:33pm:
To be fair other software usually includes a bunch of samples, etc -- but having said that I think we are generally a lot smaller (maybe around 5x or so?), just because we strive to be.
Comment...
Question:
I wouldn't know how to build a service like that, but I can give you my e-mail address so you can let me know if you ever come.
Asked by sieyin (87.219.150.x) on January 1 2011, 2:28pm
Reply on January 2 2011, 5:33pm:
Aww thx.. but I'd probably forget anyway. :)
Comment...
Question:
Why didn't you (or don't they..) develope a winamp for MAC?
Asked by Dave (222.90.231.x) on December 30 2010, 10:12pm
Reply on January 2 2011, 5:33pm:
I made some, never complete, that were usable. I think my "code" page has an OS X build.
Comment...
Question:
Reaper 4.0 alpha 21 crash (bit.ly/fvibUs)... leaving credit on will crash reaper... the snow falling...
Asked by Poop (67.88.171.x) on December 30 2010, 9:08am
Reply on January 2 2011, 5:33pm:
That doesn't include any useful info.
Comment...
Question:
Whynot play with the new APIs and .NET framework / C# just to see if you like it or not? You may find WPF to be revolutionary.
Asked by Will (24.234.128.x) on December 29 2010, 10:25am
Reply on December 29 2010, 1:30pm:
If I was starting from scratch I might; but at this point I'm too invested in what we got. Cross platform compatibility is important, too.
Comment...
Question:
Ever had a great idea come to you while you were half-asleep?
Asked by schmoe (96.55.149.x) on December 28 2010, 11:44pm
Reply on December 29 2010, 6:21am:
Yeah, or fully asleep. I often have dreams where we're hanging out playing music and we play music that is so unbelievably good.. like Tame Impala good. Then I wake up and am sad/happy.
Comment...
Question:
Assuming you were an alien who knew nothing about Microsoft/Apple, and saw only their OSes/APIs, which would you pick today?
Asked by Will (70.173.150.x) on December 28 2010, 8:25pm
Reply on December 29 2010, 6:20am:
I'll assume the MS API in question is plain win32 -- I haven't really touched their newer stuff, so I can't really judge it.
It's hard to say, assuming I only saw the APIs. In theory I think Cocoa would look easier and simpler, assuming aliens could grasp objective C. I think after a few months programming both Cocoa and Win32, I probably would find Win32 to be more frustrating, because of all the cruft/legwork required to make things function right. For example, to get standard application behavior in plain Win32, you really have to define most of that logic in your application, whereas Cocoa does it all for you.
OS X would be frustrating further down the line when you try to do more complex things, because it often does get in your way... and the documentation isn't great for complex things. A good example of this: when making a user-defined keyboard shortcut system, it is in many ways easier on Win32, because you need to implement how keyboard shortcuts are defined anyway -- in Cocoa normally you just set their equivalency in the top level menu and *boom* they work. Which is great, except for the fact that you are limited by how that system functions. Anyway...
Comment...
Question:
When looping in R, do you round the loop length to a sample boundry, or add a sample every 1./fmod(looplen,1.) loops?
Asked by swstim (96.42.28.x) on December 28 2010, 7:48am
Reply on December 28 2010, 6:44pm:
We track partial samples, so if a loop is 375000.04 samples long, it'll be 375000 samples most times through, and occasionally 375001 samples long in order to keep it in time. It might drift off ever so slightly due to floating point rounding errors, but that'd probably require thousands of times through before it would go a sample off.
Comment...
Question:
If you ever come to Barcelona will you let me buy you a beer?
Asked by sieyin (87.219.150.x) on December 28 2010, 6:09am
Reply on December 28 2010, 6:43pm:
Sure.. maybe there should be a service where you can add that offer and then when I go a place I can see if there are outstanding beer-offers waiting for me...
Comment...
Question:
What'd you get for Christmas? :-)
Asked by Will (70.173.150.x) on December 26 2010, 11:41pm
Reply on December 27 2010, 9:24am:
Other than a cozy time at home with my lovely wife, a coding bug that was very productive! and tea. and cookies.
Comment...
Question:
Shitttt....Its all out of fun. You don't think im like this right? bit.ly/d5ivXb Merry Christmas...again haha
Asked by AnalSeducer (66.87.1.x) on December 26 2010, 9:08am
Reply on December 27 2010, 9:24am:
haha you never know.
Comment...
[
newer questions
]
[
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
[
older questions
]
Copyright 2025 Justin Frankel
.
|
RSS