Gen Code Export and pfft


    Jul 04 2016 | 12:16 pm
    I have a patch on Gen, which operates within pfft ~, I need to use the export to (au, audiobus etc), but there is no way to function properly without the part of the code, STFT (forward and inverse) in C ++, I tried to affordable adapt some variants but not sound good.
    Please Cycling's programmers, maybe it´s time for an little and friendly update to the example "Gen Code Export".

    • Jul 04 2016 | 6:05 pm
      So are , most of the functions that are used in gen and are exported along with the code in genlib_ops.h In addition the term " balls" is sexist and refers to the male genitalia. This reminds me because I had no desire to participate in the forum.
    • Jul 05 2016 | 6:58 am
      I agree with Barbara. More examples and docs about gen and code export would help many of us.
    • Jul 05 2016 | 7:59 am
      I'm glad you decided to be part of this community in spite of your (quite reasonable) reservations. I wish Raja hadn't used the term balls, when another word like chutzpah or guts would have been more accurate and less offensive. Keeping the Max community inclusive is important to many of us, but we still have a long way to go. I thank you for persevering.
      WRT: gen~. Yes, looking through the headers will show what functions are available to gen, and it looks like genlib_ops.h is an important one. genlib.h is interesting too. I imagine the reason that gen doesn't include fft code is because most of gen is directed towards processing single samples, or a history of a few samples, where fft is an operation that works on much larger buffers of samples. From a Max perspective, (p)fft is much more at home in MSP than it would be in Gen.
      As a workaround, you might want to look at Faust ( http://faust.grame.fr/ ) for compiling plugins that involve fft processing. The development tool is called FaustLive, and might let you do similar things to what you are currently doing in Gen.
    • Jul 05 2016 | 9:58 pm
      I use, KissFFT for projects entirely made in c ++ . No luck with Faust and fft . Anyway the use need to give g is for fast prototyping and testing .
      Something like : If you need to export gen code you use within pfft , add this header and cpp library to your project . Something simple, friendly and generous as that. Thank you.
      PS: OK, Here is allowed to talk about the attitude of the other . I do not think it wise to calculate that word was better to qualify a person who makes a suggestion " legitimate" . For years I have seen how interesting threads, were marred by his attitude . Not infrequently times have called troll , I overlooked and it said Raja makes interesting contributions , in any case it is a kind of troll , but " troll - savant " Unfortunately, his " passive- aggressive " and obsequious to the company, makes me think it's a troll , fanboy troll .