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: Problem is I can't be picky when things get deleted since they reside in WDL_PtrListDeleteOnDestroy within WDL_PtrList which manages stuff in all active projects. So sometimes the object may get deleted because it's not needed, and sometimes when Reaper quits :) However, this seems to do the trick for now: if (EnumProjects(0, NULL, 0)) DestroyAudioAccessor(m
Asked by Martin (93.139.111.x) on March 18 2014, 1:17am
Reply on March 18 2014, 1:29am (edited at March 18 2014, 1:51am):
    Just don't delete anything that you don't need to in the unload, then (and don't make your global ptrlists DeleteOnDestroy)... On OSX you will not get your DLL unloaded, too.

    Anyway fixing it on our end too, mostly.
Comment...
Question: I wrote some small patches for NSIS back in the day, and you were kind enough to include me in the credits. As a nerdy teen i found that cool.. thanks man! Anyway you mentioned liking East London. If you ever need a coffee buddy here give me a shout!
Asked by PeterWindridge (81.157.72.x) on March 17 2014, 10:47pm
Reply on March 17 2014, 11:36pm:
    Ah nice! Thanks for your contributions!
Comment...
Question: I have DestroyAudioAccessor call in destructor of an object that gets deleted in REAPER_PLUGIN_ENTRYPOINT() on !rec If accessor is not NULL I get Access violation reading location (location is not NULL). Is this Reaper's fault or I shouldn't do that?
Asked by Martin (93.139.111.x) on March 17 2014, 10:11pm
Reply on March 17 2014, 11:35pm (edited at March 17 2014, 11:39pm):
Comment...
Question: Re LE: I would expect exactly what you described for REAPER_FOURCC('a','b','c','d') >> "dcba" but I get "abcd". e.g. Y800 should hex to 0x30303859 but it isn't, I get 0x59383030. Unless things has gone terribly wrong here could you have a closer look please? Using 2009 Mini-SDK, thanks.
Asked by gio (94.66.14.x) on March 13 2014, 3:25pm
Reply on March 13 2014, 4:27pm:
    On x86 (LE), REAPER_FOURCC(1,2,3,4) is 0x01020304, and "4321" in memory... so REAPER_FOURCC is backwards from what you expect, but consistent across platforms and has always been that.
Comment...
Question: Clarification plz: Is the byte order of REAPER_FOURCC @reaper_plugin.h correct for little-endian?
Asked by gio (94.66.14.x) on March 13 2014, 6:51am
Reply on March 13 2014, 2:32pm:
    Not sure what "Correct" means, but REAPER_FOURCC('a','b','c','d') will result in "dcba" being stored in memory on all platforms.
Comment...
Question: Taking back my question...items were being resampled! Don't you hate when things like that happen during testing? :)
Asked by Martin (93.139.50.x) on March 13 2014, 5:17am
Reply on March 13 2014, 2:32pm:
    Phew!
Comment...
Question: Is there a reason that GetAudioAccessorSamples is so much slower than PCM_source->GetSamples(). The difference is staggering when getting 4 minutes of wav. We're talking around 3 seconds as opposed to 25 seconds.
Asked by Martin (78.0.233.x) on March 13 2014, 4:47am
Reply on March 13 2014, 2:32pm:
    Some additional work/mutex locking perhaps but not enough to cause that. hm.
Comment...
Question: Is there a contact email for a ninjam tech guru? I'm composing a book about online jamming solutions and hope to include Ninjam in it.
Asked by Steve (124.125.48.x) on March 9 2014, 2:47pm
Reply on March 11 2014, 11:02pm:
    You can send me an email (my first name at my company name dot com).
Comment...
Question: I haven't been succeeding at the latter lately, but I got another question! Can I hide install directory choose when it's open over already install in nsis?
Asked by Nick Forystek (173.31.164.x) on March 6 2014, 12:16pm
Reply on March 11 2014, 11:02pm:
    Yeah, pretty sure you can, but I forget at the moment.
Comment...
Question: mp3DirectCut can split mp3 files without reencoding, but interface is horrible... could you code something like that? It would be great.
Asked by Rodrigo (189.26.143.x) on March 3 2014, 2:46pm
Reply on March 4 2014, 2:55am:
    Hmm it mostly would be pretty straightforward, but UI is pain, and I forget how the bit reservoir works/would affect such a thing.
Comment...
Question: Re: "Using software you make." I get the distinct feeling that some workstation developers actually don't, at least not on the level of their most loyal users. Big problem?
Asked by PunkyBrewster (76.226.54.x) on March 3 2014, 2:40pm
Reply on March 4 2014, 2:54am:
    "Using every day" != "Using like 0.01% of the users" IMO. There's a balance to be found, and a lot of the massive feedback you get needs to be sorted and filtered inside, where it can be worked into a consistent vision... or something.
Comment...
Question: Would you agree greatness is a lot of small things done well? You're obviously a better than average programmer. What's the secret sauce? Are you simply smarter, or do you persevere more when you have no idea what you're doing until you eventually figure things out?
Asked by Will (70.173.80.x) on March 2 2014, 10:00pm
Reply on March 2 2014, 10:08pm:
    Well for software it's making something you want to use, and then using it every day. I haven't been succeeding at the latter lately, but I'm trying.
Comment...
Question: good djs @wfmu ..slightly OT how far from true is [p=1319571] ?
Asked by ubik (62.235.215.x) on March 2 2014, 9:34pm
Reply on March 2 2014, 10:08pm:
    It's just speculation, nobody knows how far away a 5.x cycle is, including me.
Comment...
Question: Do you like/listen to WFMU ? Did you give some money to help them ?
Asked by ubik (62.235.215.x) on March 2 2014, 10:05am
Reply on March 2 2014, 7:57pm:
    I haven't listened to the radio/NPR much since SF, but I do kind of miss it.
Comment...
Question: Thanks for 4.60 -- I'm very happy to see REAPER going forward strongly, so much progress since the early days. Do you have a special version that you particularly like more than others?
Asked by gio (94.66.16.x) on March 1 2014, 5:58pm
Reply on March 1 2014, 6:11pm:
    For me, every version makes the previous one seem inferior... Could I imagine writing JSFX without keyboard support? No! ha ha
Comment...
Question: I agree! We should be able to print them from irs.gov and call it a day. They claim the red forms are necessary for their OCR scanners. I have a suspicion the red form print is ignored by their OCR software to get around alignment issues in case your type overlays the form verbiage.
Asked by Will (70.173.80.x) on February 28 2014, 7:51am
Reply on February 28 2014, 1:41pm:
Comment...
Question: If you sold Reaper tommorrow, what price would you put on it?
Asked by PunkyBrewster (108.84.200.x) on February 28 2014, 1:49am
Reply on February 28 2014, 5:34am (edited at February 28 2014, 1:39pm):
    $60 for non-commercial, $225 for commercial! Ohh, you meant SOLD sold. Hmm, not really looking to do that, so the price would have to be really ludicrous.

    Edit: I would also take non-monetary things, such as a global end to software patents, or a (affordable) cure for cancer, or...
Comment...
Question: Ugh, the new 1099-MISC tax form alignment isn't compatible with Quickbooks
Asked by Will (24.234.85.x) on February 27 2014, 9:55pm
Reply on February 28 2014, 5:34am:
    Yeah, what's with 1099s having to be on special paper, too? Surely the IRS can just use regular paper...
Comment...
Question: Asked you this a few months ago: www.askjf.com/index.php?q=2597s sent an email but never r heard back..did I use the wrong email? I used the cockos.com one .
Asked by neuman (74.66.80.x) on February 26 2014, 10:03pm
Reply on February 28 2014, 5:35am:
    Ah sorry yes, fell through the cracks. Life is messy. I'll email soon.
Comment...
Question: When you went about writing EEL, what reference did you consult for stack frame architecture, calling conventions (caller/callee register saving duties, etc.)?
Asked by Will (70.173.80.x) on February 23 2014, 7:39am
Reply on February 24 2014, 2:05am:
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2024 Justin Frankel. | RSS