Login / Register 0 items | $0.00 New @ KVR
mystran
KVRAF
 
4893 posts since 11 Feb, 2006, from Helsinki, Finland

Postby mystran; Tue Jun 12, 2018 4:43 pm Can someone help plx?

I'm trying to implement challenge-response authentication in my plugin by sending a REST-query from the process() method to a web-service to check the validity of the users license. I need to do this in the audio thread, because I want to provide separate licenses for different genres of music, so the server needs to check what kind of music the user is processing. Unfortunately this is causing some audio glitches when running over WiFi. How can I make the program wait longer before it makes the audio glitch?

ps. I need the example code in Prolog, please.
Image <- plugins | forum
Z1202
KVRian
 
940 posts since 11 Apr, 2002

Postby Z1202; Tue Jun 12, 2018 10:10 pm Re: Can someone help plx?

Instead of Prolog you could use C++ template metaprogramming features. They are very similar to Prolog, but most of the code will be resolved at compile time. I'm not sure if the audio thread can be resolved at compile time, but maybe it'll come in the next C++ standard.

Edit: my colleague just suggested to try using a different plugin protocol
stratum
KVRAF
 
1806 posts since 29 May, 2012

Postby stratum; Wed Jun 13, 2018 12:42 am Re: Can someone help plx?

Unless the DSP code is also written in Prolog I can't see any reason as to why it shoud be called from the audio thread. Why not notify the GUI thread to call that Prolog code instead?
~stratum~
User avatar
Aleksey Vaneev
KVRAF
 
3419 posts since 7 Sep, 2002

Postby Aleksey Vaneev; Wed Jun 13, 2018 4:01 am Re: Can someone help plx?

I thought that was pure trolling. ;-)
Image
resynthesis
KVRist
 
339 posts since 17 Sep, 2007, from Planet Thanet

Postby resynthesis; Wed Jun 13, 2018 4:06 am Re: Can someone help plx?

:D
No_Use
KVRAF
 
2281 posts since 13 Mar, 2004

Postby No_Use; Wed Jun 13, 2018 4:41 am Re: Can someone help plx?

I think you have to sink the Brown Note through the Flatulator queer and then smuggle the 160KHz Notch latently bilaterally to get the full roughness of the 400500. Then the sludge runs pretty straight through the Schnoerf.
quikquak
KVRist
 
370 posts since 6 Aug, 2005, from England

Postby quikquak; Wed Jun 13, 2018 5:09 am Re: Can someone help plx?

I only have the code in Ke-bab, sorry. It makes use of multi-story meat layering thread protocols though...
stratum
KVRAF
 
1806 posts since 29 May, 2012

Postby stratum; Wed Jun 13, 2018 6:04 am Re: Can someone help plx?

Aleksey Vaneev wrote:I thought that was pure trolling. ;-)


Me too. In fact I had written that as a reply but deleted afterwards thinking that mystran can't possibly be trolling on this forum:)
~stratum~
mystran
KVRAF
 
4893 posts since 11 Feb, 2006, from Helsinki, Finland

Postby mystran; Wed Jun 13, 2018 12:50 pm Re: Can someone help plx?

stratum wrote:
Aleksey Vaneev wrote:I thought that was pure trolling. ;-)


Me too. In fact I had written that as a reply but deleted afterwards thinking that mystran can't possibly be trolling on this forum:)


No intentional trolling here, just some old-fashioned parody with some elements of satire (or possibly the other way around, I'm not quite sure).
Image <- plugins | forum
stratum
KVRAF
 
1806 posts since 29 May, 2012

Postby stratum; Wed Jun 13, 2018 2:30 pm Re: Can someone help plx?

No intentional trolling here, just some old-fashioned parody with some elements of satire (or possibly the other way around, I'm not quite sure).


Apparently you are not alone in thinking like that.

This is what O.Larkin writes about the KVR Audio DSP forum (quoted from https://github.com/olilarkin/awesome-musicdsp ) :

KvR Audio DSP and Plug-in Development Forum - This is probably the most active forum for audio DSP that is not aligned with a particular plug-in framework. There are some very smart people, some mavericks and some plain weirdos who hang out here.


Urban dictionary was helpful to decode the meaning:)
~stratum~
mystran
KVRAF
 
4893 posts since 11 Feb, 2006, from Helsinki, Finland

Postby mystran; Wed Jun 13, 2018 3:25 pm Re: Can someone help plx?

stratum wrote:
No intentional trolling here, just some old-fashioned parody with some elements of satire (or possibly the other way around, I'm not quite sure).


Apparently you are not alone in thinking like that.


Oh... I don't have any opinion about other people here.. I was talking about my motivations behind this thread. :)
Image <- plugins | forum
User avatar
Max M.
KVRist
 
241 posts since 20 Apr, 2005, from Moscow, Russian Federation

Postby Max M.; Thu Jun 14, 2018 2:25 am Re: Can someone help plx?

:o

Moderator: Moderators (Main)

Return to DSP and Plug-in Development