Clicking sound in 3O

Having trouble with LMMS? Ask about it here.
I am getting a click when playing a note in this instrument:
https://drive.google.com/file/d/1AnS_ng ... sp=sharing
(It is a drive link to a triple-oscillator preset)
I took care to make sure attack and release values are high enough. My buffer value etc in settings are also good. I cannot understand why playing this preset gives a click.
The issue resolves itself when I change the cutoff and reso envelopes back to zero. But they were at very small values before and should not cause clicking, unless I misunderstand how they work.
Monospace wrote:
Tue Aug 24, 2021 11:12 am
I am getting a click when playing a note in this instrument:
I took care to make sure attack and release values are high enough. My buffer value etc in settings are also good. I cannot understand why playing this preset gives a click.
The issue resolves itself when I change the cutoff and reso envelopes back to zero. But they were at very small values before and should not cause clicking, unless I misunderstand how they work.
Unless you really do want that output to 'die' in that odd way after a HOLD, then i think this is better

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE lmms-project>
<lmms-project creator="LMMS" creatorversion="1.2.1" version="1.0" type="instrumenttracksettings">
  <head/>
  <instrumenttracksettings solo="0" muted="0" type="0" name="click-artefactERepair">
    <instrumenttrack pan="0" basenote="57" fxch="0" pitch="0" pitchrange="1" vol="100" usemasterpitch="1">
      <instrument name="tripleoscillator">
        <tripleoscillator pan1="0" modalgo2="1" finer2="0" finel2="0" finer0="0" wavetype1="0" finel0="0" pan0="0" userwavefile1="" phoffset2="0" wavetype2="4" vol2="10" pan2="0" stphdetun2="0" coarse0="-24" userwavefile2="" vol1="33" finel1="0" phoffset0="0" modalgo3="2" coarse1="-12" coarse2="-12" stphdetun1="0" modalgo1="0" finer1="0" vol0="40" stphdetun0="0" userwavefile0="" phoffset1="0" wavetype0="5"/>
      </instrument>
      <eldata fwet="1" fres="0.01" fcut="1" ftype="3">
        <elvol lamt="0" lspd_denominator="4" dec="0.463" amt="1" pdel="0" x100="0" lpdel="0" ctlenvamt="0" latt="0" userwavefile="" hold="0" lshp="0" lspd="0.1" sustain="0" rel="0.195" lspd_syncmode="0" lspd_numerator="4" att="0.015"/>
        <elcut lamt="0" lspd_denominator="4" dec="0.473" amt="1" pdel="0" x100="0" lpdel="0" ctlenvamt="0" latt="0" userwavefile="" hold="0.357" lshp="0" lspd="0.1" sustain="0.967" rel="0.672" lspd_syncmode="0" lspd_numerator="4" att="0.481"/>
        <elres lamt="0" lspd_denominator="4" dec="0.747" amt="0" pdel="0" x100="0" lpdel="0" ctlenvamt="0" latt="0" userwavefile="" hold="1.015" lshp="0" lspd="0.001" sustain="0.552" rel="0.474" lspd_syncmode="0" lspd_numerator="4" att="0.352"/>
      </eldata>
      <chordcreator chordrange="1" chord="0" chord-enabled="0"/>
      <arpeggiator arptime_syncmode="0" arp-enabled="0" arprange="1" arpmiss="0" arp="0" arpgate="100" arptime_numerator="4" arptime="100" arpdir="0" arptime_denominator="4" arpmode="0" arpskip="0" arpcycle="0"/>
      <midiport outputcontroller="0" fixedinputvelocity="-1" readable="0" outputchannel="1" inputchannel="0" outputprogram="1" fixedoutputnote="-1" writable="0" basevelocity="63" inputcontroller="0" fixedoutputvelocity="-1"/>
      <fxchain enabled="1" numofeffects="1">
        <effect autoquit_denominator="4" wet="1" autoquit_numerator="4" autoquit_syncmode="0" autoquit="1" gate="0" name="eq" on="1">
          <Eq Peak2gain="0" Peak1active="0" LP12="1" AnalyseIn="1" HP12="1" HP48="0" LP48="0" Outputgain="0" Peak4gain="0" LPres="0.707" HighShelfgain="0" Peak3bw="0.75" Peak4active="0" Peak1bw="0.3" Peak3active="1" LP24="0" HPactive="0" Lowshelfactive="1" LowShelfres="0.55" Lowshelfgain="-14.94" Peak2bw="0.75" HighShelfres="1.4" HPres="0.707" LP="0" HP="0" AnalyseOut="1" Highshelfactive="0" LPactive="0" HP24="0" Peak4bw="0.3" Peak2active="0" Peak3gain="-12.42">
            <Inputgain value="0" scale_type="log" id="15695"/>
            <Peak1gain value="0" scale_type="log" id="28517"/>
            <HPfreq value="31" scale_type="log" id="9564"/>
            <LowShelffreq value="80" scale_type="log" id="14903"/>
            <Peak1freq value="120" scale_type="log" id="23143"/>
            <Peak2freq value="214.424" scale_type="log" id="9279"/>
            <Peak3freq value="1223.76" scale_type="log" id="13161"/>
            <Peak4freq value="4000" scale_type="log" id="15369"/>
            <Highshelffreq value="12000" scale_type="log" id="19268"/>
            <LPfreq value="18000" scale_type="log" id="32753"/>
          </Eq>
          <key/>
        </effect>
      </fxchain>
    </instrumenttrack>
  </instrumenttracksettings>
</lmms-project>

Nice code musikbear. :D
Saving code as mmp opens a completely empty project?
Monospace wrote:
Wed Aug 25, 2021 5:38 am
Saving code as mmp opens a completely empty project?
Noo The extension is .XPF it is an LMMS-instrument! All instruments exists as XML after you have saved it to disk, with the save button on the instrument
Thanks, musikbear. (Volume envelope is MUCH better now and) reso/cutoff envelope difference isn't much noticeable.