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: 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...
Question: What console do you use in your studio? Do you have a home studio and office studio?
Asked by Will (69.15.110.x) on June 6 2013, 6:39pm
Reply on June 7 2013, 5:09pm:
    I usually just use whatever interfaces I have around (be it a cheapo MOTU, Focusrite, Zoom R24, or RME + ADA8k etc).
Comment...
Question: What's your faviourite fruit? :)
Asked by Tinny (88.207.51.x) on June 6 2013, 12:50pm
Reply on June 7 2013, 5:08pm:
    I hate to play favorites, but cherry season is so short that I miss it the most. Apples are awesome, though.
Comment...
Question: Have you seen "Indie Game: The Movie"? If not, you should check it out. :)
Asked by Will (70.173.150.x) on June 6 2013, 6:44am
Reply on June 7 2013, 5:07pm:
    I will check it.
Comment...
Question: re smp: hmm good stuff. so when you say that you render ahead Xms where this operation happens, in the I/O thread or in the audio thread (sink)? Doesn't the later introduce lag?
Asked by gio (94.66.66.x) on June 6 2013, 12:14am
Reply on June 6 2013, 2:20am:
    It happens in a worker thread; there is latency (from say, tweaking FX knobs to hearing the results), but 200ms (or if you lower it, less) is pretty manageable.
Comment...
Question: Did Patty Hewes try to have Ellen Parsons killed, or was that Uncle Pete's proactive idea?
Asked by Will (70.173.150.x) on June 5 2013, 12:23am
Reply on June 5 2013, 2:54pm:
    From wikipedia: "She then gets Patty's confession that she indeed was responsible for setting up Ellen to be murdered." -- but of course a confession at gunpoint isn't terribly reliable.
Comment...
Question: Thats awesome. He did an AMA on Reddit and seemed like a lovely chap. Did he over up any FR's when he was there? If so, what were they?
Asked by lxmREAPER (24.52.241.x) on June 4 2013, 7:48pm
Reply on June 5 2013, 2:54pm:
    I think there might have been a few things, but it's often hard to remember.
Comment...
Question: What's the maximum cores you have run REAPER, does the current smp scale infinite or there's a limit? It would be interesting to read about the smp implementation of REAPER.
Asked by gio (94.66.31.x) on June 4 2013, 6:34am
Reply on June 5 2013, 2:57pm:
    Me personally, 8 separate cores. I could do a write-up of it, but instead I'll summarize:

    There are two modes:
    • The first (oldest) is anticipative FX, where tracks are rendered up to Xms (default 200) ahead, to the extent possible. This allows maximum use of all cores, and should scale to many cores since there is very little synchronization between all of the cores. This mode is also advantageous on single core systems, as it does allow higher CPU use without interrupting the audio device (i.e. FFT and other block-based processing will not interrupt audio as much if done from another thread, etc).
    • There is also "Live FX multiprocessing", which is a traditional multiprocessing approach (which is required for multiprocessing of live input and things dependent on live input). The scaling of this mode is dependent on the latency and overhead of the OS synchronization features available.
    There you go!
Comment...
Question: Did you know that Tycho user REAPER exclusively? Oh and hai. So do I :)
Asked by lxmREAPER (24.52.241.x) on June 3 2013, 9:49pm
Reply on June 4 2013, 1:43am:
    Yep, have had the honor of meeting him, too. He's an incredibly nice guy.
Comment...
Question: any interest in writing a android app?
Asked by poop (70.199.97.x) on June 1 2013, 7:54pm
Reply on June 3 2013, 6:57pm:
    Not really.
Comment...
Question: Did you ever have to work a non-coding job? I'm a sysadmin and hate it 80% of the time. How can I find the energy to make coding my career while working a butt-crushing 9-5?
Asked by Eric (70.191.113.x) on June 1 2013, 12:44pm
Reply on June 3 2013, 6:57pm:
    Not since I was a teenager, and then it was voluntary... :/ Maybe work on writing code to make your sysadmin-job easier/more fun?
Comment...
Question: Do you still work on your own music?
Asked by MIck (27.127.192.x) on May 31 2013, 1:48am
Reply on May 31 2013, 1:33pm (edited at May 31 2013, 1:36pm):
Comment...
Question: What means the acronym jmde?
Asked by gio (94.66.10.x) on May 30 2013, 3:44am
Reply on May 30 2013, 2:17pm:
    Justin's Music Development Environment :)
Comment...
Question: what happened to brennan? is he ok?
Asked by ruchira (175.157.215.x) on May 28 2013, 2:29pm
Reply on May 29 2013, 1:52pm:
    afaik yes
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2025 Justin Frankel. | RSS