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: I always wondered how would you manage memory in a DAW ? I would guess since latency is very important you cant be using new and delete, do you use custom allocators,arenas?
Asked by Malloc (196.159.83.x) on August 16 2024, 4:25am
Reply on August 16 2024, 9:32pm:
    The key would be to allocate things before you need them, from a non-realtime thread, and dispose of them leisurely when you're done with them.
Comment...
Question: In VST2 sdk, calling effSetSpeakerArrangement from 64bit host will pass 64bit input speaker arrangement pointer as a 32bit number. Is that correct? Will it crash someday?
Asked by Ruchira (123.231.120.x) on August 16 2024, 3:33am
Reply on August 16 2024, 9:33pm:
    The 4th parameter to the VST dispatch function is VstIntPtr, which is the same as intpr_t or INT_PTR, which means you can map the pointer to it safely.
Comment...
Question: If you haven't seen this, it's fun. jordaneldredge.com/notes/corrupted...Curious if you remember the dad's request for a skin...
Asked by shane (76.115.173.x) on August 14 2024, 9:32pm
Reply on August 15 2024, 12:20pm:
    Yeah saw that (I follow Jordan via RSS heh), and no memory at all of that, but I've forgotten a lot from 25+ years ago.
Comment...
Question: If you had to write new software that wasn't a DAW, audio player or P2P platform, what could it be? Is there something you once wanted to write but then discarded?
Asked by Stefan Ritter (79.219.84.x) on August 14 2024, 8:19am
Reply on August 14 2024, 2:09pm:
    Maybe a site+app called "in space and time" where you upload geotagged pictures from your phone and can cross reference it with pictures where you've been and stuff (from strava/gpx/your own pictures/etc)
Comment...
Question: Amateur coder here. I'd like to try making something like the searchable databases in the REAPER media explorer. What's the general idea to create a searchable database? Does it extract meta data from the files and build some kind of full text search database? I was checking out the files in the MediaDB folder, but I didn't quite understand the format and how that is searchable. Is this something you created yourself or some kind of standard format? If you could point me in the right direction on what to
Asked by helpme (89.187.187.x) on August 14 2024, 1:56am
Reply on August 14 2024, 2:00am:
    The format on disk is more or less as text, but we then build our own lists of all of the metadata. But there's no index built, we just search everything when the time comes to search, even tens or hundreds of megabytes can be searched very quickly these days (if you need to search it a hundred times a second that might be another story...).

    Another option, of course, is to use something like sqlite. But it's probably overkill.
2 Comments...
Question: What's your email? I'm at bruce@...
Asked by Bruce Brinick (174.82.43.x) on August 13 2024, 5:19pm
Reply on August 13 2024, 6:30pm:
    first name at company dot com
Comment...
Question: Wow, thunderbird works awsome. It does everything I want it to do. (Just like reaper :) ) You write that you use it too. What do you like most about it?
Asked by Trill (170.203.211.x) on August 13 2024, 12:57am
Reply on August 13 2024, 5:06pm:
    It is reliable and works and I can copy its appdata folder to new machines rather than having to reinstall/reconfigure everywhere.
Comment...
Question: Hey jf. What are your thoughts on DRM, the SKG (Stop Killing Games) campaign, digital media ownership, intellectual property, and copyright laws? And I do apologize for the loaded question. But researching about this stuff has really put alot of things into perspective as an aspiring software developer (Mainly C, C++, and some Lua). Especially when it comes to software ethics.
Asked by Matthew (76.37.54.x) on August 12 2024, 9:25pm
Reply on August 13 2024, 5:05pm (edited at August 13 2024, 5:06pm):
    DRM - bad. SKG - no idea what that is. digital media ownership - I think if you buy a copy of something (e.g. a digital download) it should be yours and you should be able to resell it in the same way a physical copy would be. intellectual property - an abstract concept that can be implemented well or poorly. copyright - a concrete form of intellectual property that exists for good reason and is a good thing for society!
Comment...
Question: How to know if vst2/vst3 plugin is supporting HiDPI? Can host check that?
Asked by Ruchira (123.231.104.x) on August 12 2024, 7:29pm
Reply on August 13 2024, 5:03pm:
    see https://forum.cockos.com/showthread.php?t=228566 but hidpi on Windows ugh ugh blah terrible
Comment...
Question: I'm considering building some apps based on software I once developed, but it was deprecated by Microsoft. May I talk with you about it and some ideas I have about how you might want to be involved?
Asked by Bruce Brinick (174.82.43.x) on August 11 2024, 7:42pm
Reply on August 12 2024, 11:47am:
    You can send me an email if you like but in general I have a very full plate
Comment...
Question: hey jf- "when does the past end & the future begin?"
Asked by 2024 (165.120.114.x) on August 9 2024, 9:40pm
Reply on August 11 2024, 1:14am:
    the present?
1 Comment...
Question: Do have a system for bug/FR triaging? Perhaps even further tips for people who have trouble prioritising (other than "don't get a job in software when you have ADHD" ;) )?
Asked by blunt splinter (77.184.195.x) on August 9 2024, 3:24pm
Reply on August 9 2024, 3:28pm:
    Nah it's pretty ad-hoc, definitely could be more organized but by keeping it random it makes it less like work and more fun.
Comment...
Question: If you need to take with you only a laptop with 1 OS which would be?
Asked by ape din (141.98.141.x) on August 8 2024, 7:25pm
Reply on August 9 2024, 3:06am:
    I usually take my M1 MBA with me when traveling. But I have UTM on it which can run win11/aarch64 and linux, too.
4 Comments...
Question: Have you used plush again since the WA credits?
Asked by Will (23.125.224.x) on August 7 2024, 4:05pm
Reply on August 7 2024, 4:07pm:
    I updated it to v2 w/ 24-bit color and alpha channel, and used it in the REAPER credits until v4.0. It's now used by ReaSurroundPan for the 3D visualization of spaces.
1 Comment...
Question: hey jf- are you into any of the olympic events? (there seems to be a few changes this year?)
Asked by 2024 (86.183.196.x) on August 7 2024, 11:01am
Reply on August 7 2024, 4:07pm:
    Not so much
Comment...
Question: With the recent .Prealloc() improvement for the containers do you ever see a need for .begin()/.end() for those who wish to use range loops and the algorithm header? Thanks
Asked by Gio (79.130.181.x) on August 6 2024, 9:46am
Reply on August 6 2024, 10:29pm:
    I suppose it would be easy to add these wrappers, what do you suggest?
7 Comments...
Question: hey jf- introduce me some of your favorite music!
Asked by lililil (151.244.169.x) on August 2 2024, 4:02pm
Reply on August 2 2024, 4:52pm (edited at August 2 2024, 4:54pm):
    Some albums I've listened to a ton lately:
    • The Verve - A Storm in Heaven
    • Idles - TANGK
    • The Smile - Wall of Eyes
    • Mogwai - Hardcore Will Never Die, but You Will

    Just realized these are all UK bands, damn. Coincidental, maybe? I'll add a couple more from elsewhere:
    • TV on the Radio - Young Liars
    • Soundgarden - Superunknown
Comment...
Question: Can you list names of free and/or open source software which you think are equal or better than their paid proprietary alternates?
Asked by Ahhhhh again (182.69.19.x) on August 2 2024, 11:46am
Reply on August 2 2024, 3:42pm (edited at August 2 2024, 3:43pm):
    Linux/OpenBSD/etc? I'm a huge fan of git too, though I haven't used a commercial source control system in decades. I'd take clang or gcc over msvc any day, though perhaps ICC has an edge?
1 Comment...
Question: Do you use the razor edit? if so, how often?
Asked by robert8 (37.168.112.x) on August 2 2024, 8:17am
Reply on August 2 2024, 3:27pm:
    Sometimes, but for most of my workflow I don't need it
Comment...
Question: Ahhhhhh I don't know if it is appropriate to ask this here. But I am really sick of that white title bar above in REAPER in Windows version. I know it's from Windows' side (because MacOS have black title bar in dark theme). Isn't there any way to make that white title bar to black? Like in many other software in Windows (even FOSS DAW like LMMS) has black title bar. Maybe it can be done in REAPER too somehow? REAPER looks so cool & attractive in MacOS dark theme, but Windows ruined it.
Asked by Ahhhhh (110.227.154.x) on July 31 2024, 6:50am
Reply on August 1 2024, 2:17am:
9 Comments...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2024 Justin Frankel. | RSS