a different gain curve with SFZ

Things that make the work with LinuxSampler & Co easier, better, faster, louder and more sexy. Including friends like JACK, ALSA, etc.

a different gain curve with SFZ

Postby nicop » Thu Nov 03, 2011 12:52 pm

Hi, I'd like to share with you a gain curve that has a wider dynamic and I find more suitable for my playing style.
By default, the gain curve follow this calculation: -20 * log(127^2 / Velocity^2). This curve has a gain range that goes from -84db to 0db.
I made a different curve that follow this calculation: -30 * log(127^2 / Velocity^2), and has a gain range from -127 to 0db.
This curve is defined as:

amp_velcurve_1=0.0000009
amp_velcurve_2=0.0000063
amp_velcurve_3=0.0000202
amp_velcurve_4=0.0000464
amp_velcurve_5=0.0000884
amp_velcurve_6=0.0001496
amp_velcurve_7=0.0002334
amp_velcurve_8=0.0003431
amp_velcurve_9=0.000482
amp_velcurve_10=0.0006533
amp_velcurve_11=0.0008601
amp_velcurve_12=0.0011055
amp_velcurve_13=0.0013927
amp_velcurve_14=0.0017248
amp_velcurve_15=0.0021047
amp_velcurve_16=0.0025355
amp_velcurve_17=0.0030202
amp_velcurve_18=0.0035617
amp_velcurve_19=0.004163
amp_velcurve_20=0.0048271
amp_velcurve_21=0.0055568
amp_velcurve_22=0.006355
amp_velcurve_23=0.0072247
amp_velcurve_24=0.0081687
amp_velcurve_25=0.0091898
amp_velcurve_26=0.010291
amp_velcurve_27=0.0114749
amp_velcurve_28=0.0127444
amp_velcurve_29=0.0141024
amp_velcurve_30=0.0155517
amp_velcurve_31=0.0170949
amp_velcurve_32=0.0187349
amp_velcurve_33=0.0204744
amp_velcurve_34=0.0223162
amp_velcurve_35=0.024263
amp_velcurve_36=0.0263175
amp_velcurve_37=0.0284826
amp_velcurve_38=0.0307608
amp_velcurve_39=0.0331549
amp_velcurve_40=0.0356676
amp_velcurve_41=0.0383015
amp_velcurve_42=0.0410594
amp_velcurve_43=0.043944
amp_velcurve_44=0.0469578
amp_velcurve_45=0.0501036
amp_velcurve_46=0.0533839
amp_velcurve_47=0.0568015
amp_velcurve_48=0.0603591
amp_velcurve_49=0.0640591
amp_velcurve_50=0.0679042
amp_velcurve_51=0.0718971
amp_velcurve_52=0.0760404
amp_velcurve_53=0.0803367
amp_velcurve_54=0.0847886
amp_velcurve_55=0.0893986
amp_velcurve_56=0.0941694
amp_velcurve_57=0.0991036
amp_velcurve_58=0.1042037
amp_velcurve_59=0.1094723
amp_velcurve_60=0.1149121
amp_velcurve_61=0.1205254
amp_velcurve_62=0.126315
amp_velcurve_63=0.1322833
amp_velcurve_64=0.1384329
amp_velcurve_65=0.1447664
amp_velcurve_66=0.1512863
amp_velcurve_67=0.1579951
amp_velcurve_68=0.1648954
amp_velcurve_69=0.1719897
amp_velcurve_70=0.1792806
amp_velcurve_71=0.1867704
amp_velcurve_72=0.1944618
amp_velcurve_73=0.2023573
amp_velcurve_74=0.2104594
amp_velcurve_75=0.2187705
amp_velcurve_76=0.2272932
amp_velcurve_77=0.23603
amp_velcurve_78=0.2449834
amp_velcurve_79=0.2541558
amp_velcurve_80=0.2635497
amp_velcurve_81=0.2731677
amp_velcurve_82=0.2830122
amp_velcurve_83=0.2930856
amp_velcurve_84=0.3033905
amp_velcurve_85=0.3139293
amp_velcurve_86=0.3247045
amp_velcurve_87=0.3357185
amp_velcurve_88=0.3469738
amp_velcurve_89=0.3584728
amp_velcurve_90=0.370218
amp_velcurve_91=0.3822119
amp_velcurve_92=0.3944569
amp_velcurve_93=0.4069554
amp_velcurve_94=0.4197098
amp_velcurve_95=0.4327227
amp_velcurve_96=0.4459964
amp_velcurve_97=0.4595334
amp_velcurve_98=0.473336
amp_velcurve_99=0.4874068
amp_velcurve_100=0.5017481
amp_velcurve_101=0.5163624
amp_velcurve_102=0.5312521
amp_velcurve_103=0.5464195
amp_velcurve_104=0.5618671
amp_velcurve_105=0.5775973
amp_velcurve_106=0.5936125
amp_velcurve_107=0.6099152
amp_velcurve_108=0.6265076
amp_velcurve_109=0.6433922
amp_velcurve_110=0.6605715
amp_velcurve_111=0.6780477
amp_velcurve_112=0.6958233
amp_velcurve_113=0.7139007
amp_velcurve_114=0.7322822
amp_velcurve_115=0.7509702
amp_velcurve_116=0.7699672
amp_velcurve_117=0.7892754
amp_velcurve_118=0.8088973
amp_velcurve_119=0.8288353
amp_velcurve_120=0.8490916
amp_velcurve_121=0.8696687
amp_velcurve_122=0.890569
amp_velcurve_123=0.9117948
amp_velcurve_124=0.9333484
amp_velcurve_125=0.9552322
amp_velcurve_126=0.9774486
amp_velcurve_127=1


Maybe someone could find it useful :-)
nicop
User
 
Posts: 38
Joined: Thu Mar 31, 2011 2:51 pm

Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests