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: could you document the ReaStream UDP protocol (esp. midi)?
Asked by matt (108.182.51.x) on June 17 2013, 3:03pm
Reply on June 18 2013, 2:53pm:
    Yeah, I need to do that.
Comment...
Question: Is it okay, when it's in a threeway? www.youtube.com/watch?v=Pi7gwX7rjOw
Asked by Will (70.173.150.x) on June 16 2013, 6:54pm
Reply on July 3 2013, 7:27pm:
    Har.
Comment...
Question: Have you looked at StartMail (startmail.com)? Do you think privacy applications both via the internet and on your PC like TrueCrypt will be more popular now that the NSA PRISM program has been exposed?
Asked by Jason (71.196.32.x) on June 15 2013, 3:00pm
Reply on June 18 2013, 2:52pm:
    I haven't.
Comment...
Question: Best drug/high you've ever experienced?
Asked by Mick (101.165.16.x) on June 15 2013, 7:42am
Reply on June 18 2013, 2:53pm:
    Hmm I think being about 7 miles into a 10 mile run feels pretty good... but also the stuff they gave me when they removed my wisdom teeth was pretty awesome.
Comment...
Question: What do you use for regex in Win32 (if any)?
Asked by Rodrigo (177.96.51.x) on June 14 2013, 10:59pm
Reply on June 14 2013, 11:51pm:
    vim/bash/perl/etc, but if you mean in Win32 programs, errr, well, yeah nothing.
Comment...
Question: when are you going to rocks some new tools? make some new stuff...itching to use some new stuff from you!!!! please?.
Asked by poop (75.119.11.x) on June 14 2013, 9:32pm
Reply on June 14 2013, 11:51pm:
    such as? :)
Comment...
Question: Any thoughts on the new Macs?
Asked by Will (24.234.85.x) on June 14 2013, 4:43pm
Reply on June 14 2013, 5:59pm:
    Reminded of the G4 cube, hah. Some neat things in there, but will probably be overly expensive.
Comment...
Question: how did you learn the asm techniques to speed up nitrane? did you read intel manuals on the chips/mmx?
Asked by Will (70.173.150.x) on June 14 2013, 2:12am
Reply on June 14 2013, 5:58pm:
    For MMX specifically I read the Intel docs, but also I had read a bunch of other books on assembly stuff. Michael Abrash's graphics programming book was a good read too.
Comment...
Question: HI, Transactional Synchronization in new Haswell cpu's. Do you think this will be useful for daw users? Thanks
Asked by Mplay (217.122.97.x) on June 13 2013, 7:40pm
Reply on June 14 2013, 5:58pm:
    Hard to say, don't know much about them but in theory I suppose once the OS starts using them for thread synchronization it could have small benefits.
Comment...
Question: @JustinFrankel #GNU WASTE #Netention blog.automenta.com/2013/06/national-survival-agency-decentralize... � www.youtube.com/watch?v=Pvw-qGjEwLI � #SNOWDEN #P2P
Asked by @automenta (24.131.65.x) on June 13 2013, 1:26am
Reply on June 13 2013, 1:55pm:
    No question here I can read...
Comment...
Question: Re: constructor. how about std::nothrow in header -- is it beneficial or to put it better does it make sense with what we already have? On the other hand living in danger feels extremely good, manly stuff, etc.
Asked by gio (94.66.28.x) on June 8 2013, 12:31am
Reply on June 9 2013, 6:58pm:
    it looks like std::nothrow would have to be used with every call to new, unless one could override it per-class. Probably wouldn't want to do it per-class, anyway, but instead any time you call new you'd add it and check the return value...
Comment...
Question: Re: effVendorSpecific/effString2Parameter - Apparently atof() should support scientific notation, see tinyurl.com/bfa2472. But in this case "%.16f" will be just as precise. Thanks! Oh wait, I'm supposed to ask a question� Human (enter yes)?
Asked by Tale (77.170.68.x) on June 7 2013, 9:47pm
Reply on June 9 2013, 6:59pm:
    Cool I guess, %e would be advantageous for very large/small values...
Comment...
Question: What do you think about PRISM? Man, I look back to '03 and it looks like that after all it wasn't a WASTE of time... ;)
Asked by gio (94.66.28.x) on June 7 2013, 3:50pm
Reply on June 7 2013, 5:19pm:
    Haha of course SSH/HTTPS to your own servers is pretty much fine too...
Comment...
Question: with PCM_SOURCE_EXT_SETPREVIEWTEMPO I can set BPM of MIDI item but can't find a way to set time sig. Thanks for any help you're willing to provide and a lengthy 2-part question :)
Asked by Martin (93.136.52.x) on June 7 2013, 3:40pm
Reply on June 7 2013, 5:18pm:
    You can't currently (I'll take that as another request!)...
Comment...
Question: API call PCM_Source_GetSectionInfo tells you if take source is reversed. But how to set it? Been fooling around with Extend(call, *parm1, *parm2, *parm3) in PCM_Source defined in reaper_plugin.h and something tells me parm1 is the key here when calling with PCM_SOURCE_EXT_TRIMITEM. But I just can't seem to make it work. Bonus question for PCM_source/Extend:
Asked by Martin (78.0.211.x) on June 7 2013, 3:35pm
Reply on June 7 2013, 5:17pm:
    Unfortunately PCM_SOURCE_EXT_TRIMITEM isn't usable for this (it is only for MIDI items). We need to add an API for configuring section sources, but alternatively you can SaveState() the source, modify the chunks, and LoadState() it back...
Comment...
Question: What do you think of foobar2000?
Asked by awsa (31.6.45.x) on June 7 2013, 9:42am
Reply on June 7 2013, 5:15pm:
    Never was a platform that I wanted to use. The whole point of the software I end up making is to make things that work the way I want them to, and foobar missed the boat on that.
Comment...
Question: Does the WDL need a precaution measure to check when a constructor fails to instantiate? I haven't seen that myself in our codebase happen even once but it will hurt if it occurs. How about REAPER's codebase which I assume it's big and complex enough, how you deal with such an inconvenience?
Asked by gio (94.66.28.x) on June 7 2013, 8:49am
Reply on June 7 2013, 5:14pm:
    Yeah, the whole new-failing-throws-exception thing bothers me too. :/ REAPER mostly just tries to keep new/delete allocations small for this reason (if small allocations fail, bad things inevitably will happen), but larger buffers are error-checked (and the user is warned).
Comment...
Question: Askjf has become useful resource for some things I care. I've been using search to get answers on various topics over the years but it looks like that the search results are limited to around 20. Can you eliminate that limitation? after all it's just text not a big deal in terms of bandwidth.
Asked by gio (94.66.36.x) on June 7 2013, 8:28am
Reply on June 7 2013, 5:13pm:
    done
Comment...
Question: I have implemented the REAPER VST effString2Parameter extension in IPlug, using "%f" to return the normalized value. Can I also use "%.16e" for higher precision?
Asked by Tale (77.170.68.x) on June 7 2013, 8:16am
Reply on June 7 2013, 5:11pm:
    If you mean effVendorSpecific/effString2Parameter: we use atof() on the resulting string, so probably best to use %.16f rather than %.16e (not sure if atof() supports scientific notation...)
Comment...
Question: (Different Will, btw): what did you last use linear algebra for in programming?
Asked by Will (70.173.150.x) on June 7 2013, 5:23am
Reply on June 7 2013, 5:09pm:
    I'm really bad with linear algebra.
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS