justin = { main feed , music , code , 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: Hey Justin, do you use c++ move semantics much?
Asked by jack (91.90.123.x) on September 25 2023, 9:02am
Reply on September 25 2023, 1:08pm:
    Nope in general I try to avoid passing complex objects around by value anyway
Comment...
Question: Hearf of game mode in MacOS sonoma? It allocated more resources to a currently played game in full screen. Maybe this can be hacked to work on reaper as well?
Asked by mlprod (104.28.31.x) on September 25 2023, 8:07am
Reply on September 25 2023, 1:07pm:
    The audio processing threads are mostly all realtime anyway, shouldn't help much for that. Maybe for background tasks like building peaks, but those aren't really time critical anyway.
1 Comment...
Question: Does Schwa Surf?
Asked by heya (186.210.26.x) on September 24 2023, 4:26am
Reply on September 24 2023, 10:55pm:
    I have no knowledge of such
Comment...
Question: Is yours the reaper we're meant not to fear?
Asked by Gary (24.18.243.x) on September 23 2023, 2:36pm
Reply on September 23 2023, 4:38pm:
    I'm sure the timing wouldn't line up for that but retrospectively one could make that argument
Comment...
Question: Justin, what formula is used in RS5k to map velocity to amplitude?
Asked by ReaSamplomatic (50.7.142.x) on September 23 2023, 6:38am
Reply on September 23 2023, 12:58pm:
    Linear interpolation of gain (so if mapping 0..127 to -inf .. +0dB, 63 would be around -6dB (0.5), 32 would be around -12dB (0.25) etc.
1 Comment...
Question: hey jf- how do #you define the term "quantum computing" + does it play an actual reality to part of your life? (what could be possible with this code?)
Asked by 2023 (165.120.114.x) on September 21 2023, 7:59am
Reply on September 21 2023, 12:57pm:
    still has a mystical quality that I don't understand how works nor how I'd use, does not play any part in my life
1 Comment...
Question: Any change to have a closer look at __LICE_SC_INTERNAL? It looks like that __LICE_SC does not like passing a LONG argument as used in LICE internally for RECT points, int argument works as expected (also previous implementation). LICE compilation fails with an error C2665. :(
Asked by Gio (85.74.137.x) on September 20 2023, 11:58pm
Reply on September 21 2023, 1:38am (edited at September 21 2023, 1:40am):
    hah yeah already fixed this locally but forgot to push that fix, one sec! thanks and sorry for the trouble!
1 Comment...
Question: What exercise routine do you have? Have you tried Oculus Quest 2's Supernatural or Les Mills Body Combat VR?
Asked by Afzal (182.185.210.x) on September 20 2023, 3:36pm
Reply on September 20 2023, 10:00pm (edited at September 20 2023, 10:04pm):
    running (when I'm not injured), walking a lot (40-60 miles a week as of late), hiking when geography allows, some bicycling, various strengthening exercises as PT for injuries heh (lunges, dips, pullups, pushups, single leg deadlifts, bulgarian split squats, planks, ab roller, etc etc) , occasional elliptical, kayaking and SUP.
Comment...
Question: How would you code in JS an effect that sounds exactly like a bitcrusher, but you are not allowed to use anu JS function/module/effect/whatever that actually does bitcrushing (nothing else than 16-bit (say) is allowed all along). Please be as specific as you can :)
Asked by OPUS 500 (31.37.8.x) on September 20 2023, 9:39am
Reply on September 20 2023, 1:16pm (edited at September 20 2023, 1:18pm):
    If you mean JS as in JSFX:
    @init
    scale = 2^15; // 16-bit
    iscale = 1 / scale;
    
    @sample
    spl0 = floor(spl0 * scale + 0.5) * iscale;
    spl1 = floor(spl1 * scale + 0.5) * iscale;
    
    If you mean JavaScript, well, not sure what that would look like but the same logic of Math.floor would be useful...
3 Comments...
Question: How can one find balance amidst the daily demands of modern-day living?
Asked by JacekPlacek (83.238.122.x) on September 20 2023, 8:06am
Reply on September 20 2023, 1:16pm (edited at September 20 2023, 1:17pm):
    a day at a time, I suppose ((tm) (c) omar little)
Comment...
Question: Did you ever got anger or anxiety problems?
Asked by GYGEXMACHINE (201.48.183.x) on September 19 2023, 5:09pm
Reply on September 19 2023, 5:24pm:
    I am sometimes anxious but exercise helps with that.
Comment...
Question: In media representations in Europe, NYC appears to only have summer and winter. Do you have fall too and what is it like?
Asked by polish potatoes (77.190.138.x) on September 19 2023, 6:53am
Reply on September 19 2023, 5:24pm:
    Fall and spring are amazing! I mean I love the heat of summer too but fall and spring are incredibly pleasant. Winter can suck it though.
Comment...
Question: Might be a tough question: What will you do if the next major audio/midi feature that you need to adapt to REAPER requires you to remove some(or all) of the backward compatibility that REAPER has?
Asked by Reapetitive (216.247.81.x) on September 19 2023, 2:35am
Reply on September 19 2023, 5:23pm (edited at September 19 2023, 5:25pm):
    There are absolutes in that question ("need", "requires", etc)... in practice software development is about choosing compromises.
Comment...
Question: how does this website work ?
Asked by now... (146.70.113.x) on September 19 2023, 12:20am
Reply on September 19 2023, 5:22pm:
    From a user perspective, you ask questions here and I then I answer them. Internally it is written in PHP and writes a lot of files to disk...
Comment...
Question: I saw a video of Linus Torvals talking about how the main issue with desktop linux is the difficulty for application develeopers having to support all the different desktops, which seems to be the point of Flatpak. You seem to manage distributing just the one version of Reaper on Linux. Was that a propblem or is it just becasue Reaper doesn't rely on lots of Linux libraries that makes it easier?
Asked by todd_r (86.134.155.x) on September 16 2023, 5:10pm
Reply on September 17 2023, 7:54pm:
    Not exactly sure what's meant by "different desktops." Supporting different desktop environments, there are some quirks but it's pretty standardized. The bigger issues are around certain shared libraries, and we deal with this by dynamic loading when possible, and by using old libraries/toolchains when they can't be dynamically loaded. So we compile with gcc 4.x (so that we can support systems that have old versions of libc++ or whatever it is).
1 Comment...
Question: Hey Justin, hope you're well. How has your commenting style evolved over the years? Personally I like to add a dated comment outlining a system's general structure, and that's about it. Also, have you seen Unity's (game engine) latest misstep? Crazy.
Asked by Jack (91.90.123.x) on September 15 2023, 8:57am
Reply on September 15 2023, 1:09pm:
    the problem, of course, is when the design evolves and the comment doesn't get updated with it... I haven't seen the Unity misstep, lemme google that
1 Comment...
Question: Hi Justin, have you ever thought about creating a mobile sequencer that would be as simple and fast as a reaper?
Asked by Aidy (176.59.211.x) on September 13 2023, 9:43pm
Reply on September 14 2023, 1:35pm:
    For mobile it would have to be a completely different UI in order to make sense, and I don't want to make two things so nah...
Comment...
Question: Have you tried modeling amps with NAM, or jammed with any community uploads? (Neural Amp Modeler)
Asked by Dom64 (82.132.245.x) on September 13 2023, 4:40pm
Reply on September 14 2023, 1:35pm:
    I haven't really, nope!
Comment...
Question: It will be 68°F outside today, kind of overcast, forecast of light rain for the afternoon. Shorts or long pants?
Asked by Dr Glendrik (188.241.177.x) on September 13 2023, 6:24am
Reply on September 13 2023, 12:41pm:
    If you're going to be mostly sitting around, pants. If there will be a lot of walking or bicycling or things that generate heat, I'd still go shorts.
Comment...
Question: Nothing you can think of worth posting in your feed about coding? I always read with interest, last one is from January. :)
Asked by wasereb4 (83.135.15.x) on September 12 2023, 12:18am
Reply on September 13 2023, 12:41pm:
    Hah coding is usually pretty boring these days, let me think about that.
3 Comments...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2024 Justin Frankel. | RSS