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: Re: I haven't used the API but I will this weekend. So, if I understand correctly the allocation happens within the host and my plugin should do its internal buffering by taking account the length and nch? Thanks.
Asked by Gio (79.130.191.x) on February 8 2018, 6:47pm
Reply on February 8 2018, 10:31pm:
    The allocation is by the caller... so if you're a plug-in getting called with that structure as a parameter, then you can use ->samples. If you're a plug-in calling GetSamples() or something, you'd want to allocate space yourself somewhere.
Comment...
Question: Is there a guaranteed allocation size of ReaSample *sample in PCM_source_transfer_t?
Asked by Gio (79.130.191.x) on February 8 2018, 3:06pm
Reply on February 8 2018, 3:40pm (edited at February 8 2018, 3:41pm):
    samples must point to a buffer of at least nch*length items.
Comment...
Question: any docs/info in the wilds about videoprocessor.h?
Asked by oli larkin (92.1.238.x) on February 8 2018, 1:59am
Reply on February 8 2018, 3:40pm:
    Hmm not much
Comment...
Question: Are you familiar with the music of Aidan Baker? If not, you should check him out. He's pretty prolific but I think you may like his song 'Chainsaw'
Asked by Silver (69.120.228.x) on February 7 2018, 4:56am
Reply on February 7 2018, 2:27pm:
    Thanks! Having a listen.
Comment...
Question: Thanks! I think I don't understand the meaning of "is raised". Is the window set to currently or always on top of others? If its the former why we do call gdk_window_set_keep_above(). If the latter why on_deactivate() is called within GDK_FOCUS_CHANGE (which makes my window not obey "always on top") ?
Asked by proxy (153.92.127.x) on February 3 2018, 8:59am
Reply on February 3 2018, 1:50pm:
    It's not meant to be similar to WS_EX_TOPMOST -- it's primarily designed for internal use to keep modal windows above various other windows.
Comment...
Question: Have you ever heard about Alan Kay (Alan Turing Award winner)? Do you have an opinion about him?
Asked by audioCL (191.115.213.x) on February 2 2018, 10:20pm
Reply on February 3 2018, 1:39am:
    Yeah I'm familiar with and respect his work, but I don't have much of an opinion.
Comment...
Question: Hi Justin. Is this a typo? github.com/justinfrankel/WDL/blob/...Shouldn't that be !h->m_israised ? If not a typo I don't quite understand (sorry needed a quick answer)
Asked by proxy (158.58.175.x) on February 2 2018, 5:56am
Reply on February 2 2018, 1:54pm:
    Not a typo -- it lowers a raised window temporarily when the application is deactivated (it will raise it again on activation).
Comment...
Question: Are you waiting for GTA 6 or any other video game, badly?
Asked by Abhijeet Singh (117.241.169.x) on February 1 2018, 9:32am
Reply on February 2 2018, 1:54pm:
    Nope.
Comment...
Question: What if Gibson (or any other) company give you $50 million for acquiring REAPER. Will you sell them your DAW and enjoy the money for rest of your life without doing anything?
Asked by Abhijeet Singh (59.97.205.x) on January 31 2018, 9:14am
Reply on February 1 2018, 2:08am:
    Haha definitely not. Which isn't to say there isn't a price -- but I doubt there is a price that anybody would be willing to pay that I would accept.
Comment...
Question: Who is your idol?
Asked by Revizneid (27.74.185.x) on January 31 2018, 1:48am
Reply on February 1 2018, 2:09am:
    Hmmm there are number of people whom I respect, but I'm not sure I have any idols...
Comment...
Question: Did you know people are still hacking on WinAMP to make it better? getwacup.com/
Asked by Will (50.84.190.x) on January 29 2018, 10:58pm
Reply on January 30 2018, 5:00pm:
    Yeah, it’s too bad that the core of it isn’t open source, though...
Comment...
Question: I really want to get into programming/scripting in Reaper. I have some experience with max/msp but not much other programming experience (eager to learn though!). I was wondering how much of those concepts from MAX will apply to JSFX and what are some important differences to be aware of going in. Any resources you would recommend?
Asked by cairca (69.120.228.x) on January 29 2018, 9:59pm
Reply on January 30 2018, 5:02pm:
    I don’t know much about Max so hard to say. In Reaper there are two main separate sections for scripting — jsfx, which is essentially like writing a VST in script (often used for real-time audio and/or MIDI processing), or ReaScript which is primarily used for writing things that run in the UI thread, which works out to a higher level function.
Comment...
Question: I understand you develope your software on a PC. Do you think windows 10 is ok? Or is windows 7 or xp preferrable?
Asked by Ulf Enhörning (192.176.237.x) on January 29 2018, 3:26pm
Reply on January 30 2018, 5:03pm:
    These days I mostly use macOS and Linux, but I do also work on Win7 and Win10. I prefer Win7 to Win10 in almost every way, aside from it being out of date...
Comment...
Question: I want to write my own DAW with quite a different aproach to conventional DAWs. I have looked into juce but feel unsure whether it is the best approach. Did you use any basic inrastructure to handle audio and MIDI or did you write it all from scratch? Can you point me in a good direction of where to start? I have a background as a painter, musician and a bit
Asked by Ulf Enhörning (94.234.36.x) on January 28 2018, 4:43pm
Reply on January 29 2018, 4:50am:
    Hard to say, JUCE is a bit too designed for my tastes, but I guess if you want a lot of stuff done for you it would make sense.
Comment...
Question: If you were me, would you make career in astronomy or in astronaut?
Asked by Abhijeet Singh (59.89.123.x) on January 27 2018, 2:16pm
Reply on January 29 2018, 4:49am:
    From where I sit today, astrology seems to be the most relevant (kidding!).
Comment...
Question: Just found this moments ago, down the rabbit hole great to find you after all these years. Reviewing again Resonance Audio/Unity (for Repear its fine of Youtube etc..) but for VR live music comparing Wwise and Fmod and just wondering if I could keep the workflows for soundesign "base" out of Reaper integrated with Unity or if the wwise and fmod integrations
Asked by Simsimphony (76.182.0.x) on January 27 2018, 2:16am
Reply on January 29 2018, 4:48am:
    I have no idea
Comment...
Question: What booth number is Cockos at NAMM? ;)
Asked by Michael (47.184.73.x) on January 27 2018, 1:25am
Reply on January 29 2018, 4:46am:
    We don't bother with such wastes of time ;)
Comment...
Question: lice svg - should it work at all? can't get anything to render with lice test on mac
Asked by oli larkin (92.30.222.x) on January 26 2018, 7:38pm
Reply on January 29 2018, 4:46am:
    Nah it was never really implemented, ignore!
Comment...
Question: Microsoft is trying so hard to abandon Win32 since W8, this time comes around as Polaris ( windowscentral.com/windows-core-polaris). What's your thoughts and the potential future of REAPER? Obviously I am more concerned about the technological aspects rather than REAPER's future.
Asked by Gio (79.130.189.x) on January 26 2018, 8:55am
Reply on January 29 2018, 4:46am:
    I would be very surprised if MS succeeded in ditching Win32, but if it came to it, it would be very easy to make SWELL (and thus REAPER) target Polaris (in addition to Cocoa and X11)... but then you'd have to deal with all of your VST plug-ins, and suddenly Linux desktop w/ WINE would be looking pretty good to pretty much all serious Windows users now. And thus you see how big of a hill MS has to climb.
Comment...
Question: Have you ever heard of or had contact with Paul Lutus? He is an early programmer who still regularly pushes updates to his website ( arachnoid.com/) and software ( bit.ly/2E4MeWs ) at the age of 72. I see similarities between the two of you, aside from both inspiring me.
Asked by GraphenHippo (64.195.215.x) on January 24 2018, 4:57pm
Reply on January 29 2018, 4:44am:
    I haven't, but right on!
Comment...
[newer questions][unreplied] | [replied] | [recent comments] | [all]
[older questions]
Copyright 2024 Justin Frankel. | RSS