• [Feature request] Lossy monoliths

    Feature Requests
    15
    0 Votes
    15 Posts
    380 Views
    d.healeyD

    Ahhhh I decided to have another go at it. I think I've solved it but unsure if the code is a little messy. I was thinking along the correct lines before, just I was not following the logic. The problem was that the start position was being applied multiple times to the end position (once for each mic position) whereas it should only be applied once. Here is the modified function.

    void apply(const Identifier& id) { auto value = propertyData.getProperty(id); if (id == SampleIds::SampleStart) addDelta(-int(value), { SampleIds::SampleEnd, SampleIds::LoopStart, SampleIds::LoopEnd }); for (auto f : sampleFiles) { apply(id, f); } propertyData.removeProperty(id, nullptr); }

    The addDelta part was previously in void apply(const Identifier& id, File& fileToUse).

    Hoping that improving my C++ foo will make me more useful to the community :) or at least more useful to myself.

  • 0 Votes
    2 Posts
    341 Views
    Dan KorneffD

    @mwplugs Do you have auto makeup turned on? I found that the output is way too hot, so I updated the math in another thread.
    Also, when the attack and release values are set too low, the signal will have terrible artifacts. I wouldn't use anything lower than .1ms there