lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Some Xpressive expressions not playing in nightly build (the particular expressions played audio in 1.3.0-alpha1.102

Open ewanp2025 opened this issue 2 weeks ago • 3 comments

I have a project created in Alpha that I uploaded to the sharing platform at https://lmms.io/lsp/?action=show&file=23898 . It does a trick to include 4 bit PCM (samples). The 'samples' play on Alpha but not the nightly build or the latest version on GitHub. I know this was not the intent of Xpressive (to store samples as expressions), but it has got me thinking, if these aren't working anymore, what other Xpressive expressions also aren't working. If you open the linked project, you should be able to hear singing - which you won't anymore.

ewanp2025 avatar Dec 09 '25 12:12 ewanp2025

Not all the tracks in the project file play audio. But some tracks do have that. For example, in your file: track H17_8; second from the last is not playing audio. Track Pluck (has expression) or House_Piano_v4 plays.

Many tracks are having empty expressions, though.

Did I reproduce it correctly?

I also cannot mute/unmute while playing on the Pattern 0 (first one).

anytizer avatar Dec 09 '25 14:12 anytizer

Thanks for your reply.

I just checked instrument H17_8. The expression is in O1. As it is a large expression it will take a good second to show in the box. The visible part is (0.000+((t<0.064000?(t<0.000125?0.067:(t<0.000250?-0.067:(t<0.000375?-0.067:(t<0.000500?-0.067:(t<0.000625?-0.067 with the expression continuing past the part visible on screen.

What I noticed this time, is that when you open it in the nightly build or the version on Github in Linux, there is a red LED below the expression (syntax error) and no sound plays for the instrument. If you open the Alpha version on Windows (and I have been told Linux too), there is no red LED for syntax error and the sound plays for H17_8.

Could it be do to with the parser?

Thanks

ewanp2025 avatar Dec 10 '25 09:12 ewanp2025

The ExprTk library that Xpressive uses was updated last year by @ArashPartow (the library author), which would be my guess as to why there's a difference in behavior between the nightly build and alpha1. I haven't checked, but it's possible it could be a regression in the library.

messmerd avatar Dec 10 '25 09:12 messmerd

there is a red LED below the expression (syntax error)

@ewanp2025 given there could be a syntax error, would you happen to have the expression being used?

Can you also provide a screenshot of what it is you're seeing in the UI

Does your "expression" work with previous versions of xpressive/lmms? if so which ones?

ArashPartow avatar Dec 13 '25 05:12 ArashPartow

Thanks Arash

I had to create a new expression as the one in the file was too large to paste in here (pasted at the end of this post). I made a "sample" .5 seconds this time. It works only in 1.3.0-alpha.1.102 in Windows. There is no red dot and the sound plays (note as the expression is large, it will take a good second to show up when you click O1 from the project file or copy and paste the expression below into O1).

Image

On 1.3.0-alpha.19.04 you will see that there is the red LED for syntax error no "sample" is drawn and no sound will play for the instance of the instrument.

Image

O1 Shortened expression:

(0.000+((t<0.064000?(t<0.000125?0.067:(t<0.000250?-0.067:(t<0.000375?0.067:(t<0.000500?0.067:(t<0.000625?0.067:(t<0.000750?0.067:(t<0.000875?0.067:(t<0.001000?0.067:(t<0.001125?0.067:(t<0.001250?0.067:(t<0.001375?0.067:(t<0.001500?-0.067:(t<0.001625?-0.067:(t<0.001750?-0.067:(t<0.001875?-0.067:(t<0.002000?-0.067:(t<0.002125?-0.067:(t<0.002250?-0.067:(t<0.002375?-0.067:(t<0.002500?-0.067:(t<0.002625?-0.067:(t<0.002750?-0.067:(t<0.002875?-0.067:(t<0.003000?-0.067:(t<0.003125?-0.067:(t<0.003250?-0.067:(t<0.003375?-0.067:(t<0.003500?-0.067:(t<0.003625?-0.067:(t<0.003750?-0.067:(t<0.003875?-0.067:(t<0.004000?-0.067:(t<0.004125?0.067:(t<0.004250?0.067:(t<0.004375?0.067:(t<0.004500?0.067:(t<0.004625?0.067:(t<0.004750?0.067:(t<0.004875?0.067:(t<0.005000?0.067:(t<0.005125?0.067:(t<0.005250?0.067:(t<0.005375?0.067:(t<0.005500?0.067:(t<0.005625?0.067:(t<0.005750?0.067:(t<0.005875?0.067:(t<0.006000?0.067:(t<0.006125?0.067:(t<0.006250?0.067:(t<0.006375?-0.067:(t<0.006500?-0.067:(t<0.006625?-0.067:(t<0.006750?-0.067:(t<0.006875?-0.067:(t<0.007000?-0.067:(t<0.007125?-0.067:(t<0.007250?-0.067:(t<0.007375?-0.067:(t<0.007500?-0.067:(t<0.007625?-0.200:(t<0.007750?-0.200:(t<0.007875?-0.200:(t<0.008000?-0.200:(t<0.008125?-0.200:(t<0.008250?-0.200:(t<0.008375?-0.067:(t<0.008500?-0.067:(t<0.008625?-0.067:(t<0.008750?-0.067:(t<0.008875?-0.067:(t<0.009000?-0.067:(t<0.009125?-0.067:(t<0.009250?0.067:(t<0.009375?0.067:(t<0.009500?0.067:(t<0.009625?0.067:(t<0.009750?0.067:(t<0.009875?0.200:(t<0.010000?0.200:(t<0.010125?0.200:(t<0.010250?0.200:(t<0.010375?0.200:(t<0.010500?0.200:(t<0.010625?0.200:(t<0.010750?0.200:(t<0.010875?0.067:(t<0.011000?0.067:(t<0.011125?0.067:(t<0.011250?0.067:(t<0.011375?0.067:(t<0.011500?0.067:(t<0.011625?-0.067:(t<0.011750?-0.067:(t<0.011875?-0.067:(t<0.012000?-0.067:(t<0.012125?-0.067:(t<0.012250?-0.067:(t<0.012375?-0.067:(t<0.012500?-0.067:(t<0.012625?-0.200:(t<0.012750?-0.200:(t<0.012875?-0.200:(t<0.013000?-0.200:(t<0.013125?-0.200:(t<0.013250?-0.200:(t<0.013375?-0.200:(t<0.013500?-0.200:(t<0.013625?-0.200:(t<0.013750?-0.200:(t<0.013875?-0.200:(t<0.014000?-0.200:(t<0.014125?-0.200:(t<0.014250?-0.200:(t<0.014375?-0.067:(t<0.014500?-0.067:(t<0.014625?-0.067:(t<0.014750?0.067:(t<0.014875?0.067:(t<0.015000?0.067:(t<0.015125?0.067:(t<0.015250?0.200:(t<0.015375?0.200:(t<0.015500?0.200:(t<0.015625?0.200:(t<0.015750?0.200:(t<0.015875?0.200:(t<0.016000?0.200:(t<0.016125?0.200:(t<0.016250?0.200:(t<0.016375?0.200:(t<0.016500?0.200:(t<0.016625?0.200:(t<0.016750?0.200:(t<0.016875?0.200:(t<0.017000?0.200:(t<0.017125?0.200:(t<0.017250?0.067:(t<0.017375?0.067:(t<0.017500?0.067:(t<0.017625?-0.067:(t<0.017750?-0.067:(t<0.017875?-0.200:(t<0.018000?-0.200:(t<0.018125?-0.200:(t<0.018250?-0.333:(t<0.018375?-0.333:(t<0.018500?-0.467:(t<0.018625?-0.467:(t<0.018750?-0.333:(t<0.018875?-0.333:(t<0.019000?-0.333:(t<0.019125?-0.333:(t<0.019250?-0.333:(t<0.019375?-0.333:(t<0.019500?-0.333:(t<0.019625?-0.200:(t<0.019750?-0.200:(t<0.019875?-0.200:(t<0.020000?-0.067:(t<0.020125?-0.067:(t<0.020250?0.067:(t<0.020375?0.067:(t<0.020500?0.067:(t<0.020625?0.200:(t<0.020750?0.200:(t<0.020875?0.200:(t<0.021000?0.333:(t<0.021125?0.333:(t<0.021250?0.333:(t<0.021375?0.333:(t<0.021500?0.333:(t<0.021625?0.333:(t<0.021750?0.333:(t<0.021875?0.333:(t<0.022000?0.333:(t<0.022125?0.333:(t<0.022250?0.200:(t<0.022375?0.200:(t<0.022500?0.200:(t<0.022625?0.200:(t<0.022750?0.067:(t<0.022875?0.067:(t<0.023000?-0.067:(t<0.023125?-0.067:(t<0.023250?-0.067:(t<0.023375?-0.200:(t<0.023500?-0.200:(t<0.023625?-0.200:(t<0.023750?-0.200:(t<0.023875?-0.333:(t<0.024000?-0.333:(t<0.024125?-0.333:(t<0.024250?-0.333:(t<0.024375?-0.333:(t<0.024500?-0.333:(t<0.024625?-0.333:(t<0.024750?-0.333:(t<0.024875?-0.333:(t<0.025000?-0.200:(t<0.025125?-0.200:(t<0.025250?-0.200:(t<0.025375?-0.067:(t<0.025500?-0.067:(t<0.025625?-0.067:(t<0.025750?-0.067:(t<0.025875?0.067:(t<0.026000?0.067:(t<0.026125?0.067:(t<0.026250?0.200:(t<0.026375?0.200:(t<0.026500?0.200:(t<0.026625?0.200:(t<0.026750?0.333:(t<0.026875?0.333:(t<0.027000?0.333:(t<0.027125?0.333:(t<0.027250?0.333:(t<0.027375?0.333:(t<0.027500?0.200:(t<0.027625?0.200:(t<0.027750?0.200:(t<0.027875?0.067:(t<0.028000?0.067:(t<0.028125?-0.067:(t<0.028250?-0.067:(t<0.028375?-0.067:(t<0.028500?-0.200:(t<0.028625?-0.067:(t<0.028750?-0.200:(t<0.028875?-0.200:(t<0.029000?-0.200:(t<0.029125?-0.200:(t<0.029250?-0.067:(t<0.029375?-0.200:(t<0.029500?-0.067:(t<0.029625?-0.067:(t<0.029750?-0.067:(t<0.029875?0.067:(t<0.030000?-0.067:(t<0.030125?-0.067:(t<0.030250?-0.067:(t<0.030375?0.067:(t<0.030500?-0.067:(t<0.030625?-0.067:(t<0.030750?-0.067:(t<0.030875?-0.067:(t<0.031000?-0.067:(t<0.031125?0.067:(t<0.031250?0.067:(t<0.031375?-0.067:(t<0.031500?0.067:(t<0.031625?0.067:(t<0.031750?0.067:(t<0.031875?0.200:(t<0.032000?0.200:(t<0.032125?0.067:(t<0.032250?-0.200:(t<0.032375?0.067:(t<0.032500?-0.067:(t<0.032625?-0.333:(t<0.032750?0.067:(t<0.032875?-0.333:(t<0.033000?-0.200:(t<0.033125?-0.067:(t<0.033250?-0.200:(t<0.033375?-0.067:(t<0.033500?-0.200:(t<0.033625?0.067:(t<0.033750?-0.067:(t<0.033875?0.200:(t<0.034000?0.333:(t<0.034125?-0.067:(t<0.034250?0.200:(t<0.034375?0.067:(t<0.034500?0.067:(t<0.034625?0.067:(t<0.034750?-0.067:(t<0.034875?-0.067:(t<0.035000?-0.067:(t<0.035125?0.067:(t<0.035250?-0.067:(t<0.035375?0.067:(t<0.035500?0.067:(t<0.035625?0.067:(t<0.035750?0.200:(t<0.035875?0.200:(t<0.036000?0.200:(t<0.036125?0.067:(t<0.036250?0.200:(t<0.036375?0.200:(t<0.036500?0.067:(t<0.036625?0.067:(t<0.036750?-0.067:(t<0.036875?-0.600:(t<0.037000?-0.200:(t<0.037125?-0.333:(t<0.037250?-0.600:(t<0.037375?-0.200:(t<0.037500?-0.733:(t<0.037625?-0.467:(t<0.037750?-0.200:(t<0.037875?-0.200:(t<0.038000?0.067:(t<0.038125?-0.200:(t<0.038250?0.200:(t<0.038375?0.067:(t<0.038500?0.200:(t<0.038625?0.467:(t<0.038750?-0.067:(t<0.038875?0.067:(t<0.039000?0.067:(t<0.039125?0.067:(t<0.039250?0.067:(t<0.039375?-0.067:(t<0.039500?-0.067:(t<0.039625?-0.067:(t<0.039750?0.333:(t<0.039875?0.200:(t<0.040000?0.200:(t<0.040125?0.333:(t<0.040250?0.200:(t<0.040375?0.333:(t<0.040500?0.333:(t<0.040625?0.333:(t<0.040750?0.200:(t<0.040875?0.333:(t<0.041000?0.200:(t<0.041125?0.067:(t<0.041250?-0.067:(t<0.041375?-0.733:(t<0.041500?-0.333:(t<0.041625?-0.600:(t<0.041750?-0.600:(t<0.041875?-0.333:(t<0.042000?-0.867:(t<0.042125?-0.333:(t<0.042250?-0.333:(t<0.042375?-0.067:(t<0.042500?0.067:(t<0.042625?-0.333:(t<0.042750?0.200:(t<0.042875?-0.200:(t<0.043000?0.200:(t<0.043125?0.200:(t<0.043250?-0.200:(t<0.043375?-0.067:(t<0.043500?-0.333:(t<0.043625?0.067:(t<0.043750?0.067:(t<0.043875?-0.067:(t<0.044000?0.067:(t<0.044125?-0.067:(t<0.044250?0.467:(t<0.044375?0.200:(t<0.044500?0.333:(t<0.044625?0.333:(t<0.044750?0.200:(t<0.044875?0.467:(t<0.045000?0.467:(t<0.045125?0.467:(t<0.045250?0.200:(t<0.045375?0.200:(t<0.045500?0.333:(t<0.045625?0.067:(t<0.045750?-0.467:(t<0.045875?-0.467:(t<0.046000?-0.200:(t<0.046125?-0.600:(t<0.046250?-0.200:(t<0.046375?-0.467:(t<0.046500?-0.467:(t<0.046625?-0.200:(t<0.046750?-0.200:(t<0.046875?0.200:(t<0.047000?-0.200:(t<0.047125?-0.067:(t<0.047250?-0.067:(t<0.047375?-0.200:(t<0.047500?0.200:(t<0.047625?-0.333:(t<0.047750?-0.200:(t<0.047875?-0.200:(t<0.048000?-0.333:(t<0.048125?0.067:(t<0.048250?-0.067:(t<0.048375?0.067:(t<0.048500?-0.067:(t<0.048625?0.200:(t<0.048750?0.333:(t<0.048875?0.200:(t<0.049000?0.467:(t<0.049125?0.200:(t<0.049250?0.333:(t<0.049375?0.467:(t<0.049500?0.333:(t<0.049625?0.467:(t<0.049750?0.200:(t<0.049875?0.200:(t<0.050000?-0.333:(t<0.050125?-0.600:(t<0.050250?0.067:(t<0.050375?-0.600:(t<0.050500?-0.333:(t<0.050625?-0.200:(t<0.050750?-0.467:(t<0.050875?-0.067:(t<0.051000?-0.067:(t<0.051125?0.200:(t<0.051250?-0.067:(t<0.051375?-0.067:(t<0.051500?0.200:(t<0.051625?-0.200:(t<0.051750?0.200:(t<0.051875?-0.067:(t<0.052000?-0.467:(t<0.052125?-0.200:(t<0.052250?-0.333:(t<0.052375?-0.200:(t<0.052500?-0.067:(t<0.052625?-0.067:(t<0.052750?-0.067:(t<0.052875?0.067:(t<0.053000?0.333:(t<0.053125?0.067:(t<0.053250?0.333:(t<0.053375?0.333:(t<0.053500?0.200:(t<0.053625?0.333:(t<0.053750?0.333:(t<0.053875?0.467:(t<0.054000?0.333:(t<0.054125?0.333:(t<0.054250?-0.467:(t<0.054375?-0.600:(t<0.054500?0.067:(t<0.054625?-0.733:(t<0.054750?-0.200:(t<0.054875?-0.200:(t<0.055000?-0.467:(t<0.055125?0.067:(t<0.055250?-0.067:(t<0.055375?0.467:(t<0.055500?-0.067:(t<0.055625?0.067:(t<0.055750?0.200:(t<0.055875?-0.333:(t<0.056000?0.333:(t<0.056125?-0.200:(t<0.056250?-0.333:(t<0.056375?-0.333:(t<0.056500?-0.333:(t<0.056625?-0.067:(t<0.056750?-0.200:(t<0.056875?0.067:(t<0.057000?-0.200:(t<0.057125?-0.067:(t<0.057250?0.200:(t<0.057375?0.067:(t<0.057500?0.333:(t<0.057625?0.067:(t<0.057750?0.200:(t<0.057875?0.200:(t<0.058000?0.467:(t<0.058125?0.467:(t<0.058250?0.333:(t<0.058375?-0.200:(t<0.058500?-0.733:(t<0.058625?-0.067:(t<0.058750?-0.600:(t<0.058875?-0.067:(t<0.059000?-0.067:(t<0.059125?-0.600:(t<0.059250?0.067:(t<0.059375?-0.200:(t<0.059500?0.467:(t<0.059625?0.200:(t<0.059750?0.067:(t<0.059875?0.200:(t<0.060000?-0.467:(t<0.060125?0.333:(t<0.060250?-0.067:(t<0.060375?-0.067:(t<0.060500?-0.067:(t<0.060625?-0.467:(t<0.060750?0.067:(t<0.060875?-0.067:(t<0.061000?0.333:(t<0.061125?-0.067:(t<0.061250?-0.067:(t<0.061375?0.067:(t<0.061500?-0.200:(t<0.061625?0.333:(t<0.061750?-0.067:(t<0.061875?0.067:(t<0.062000?0.067:(t<0.062125?0.200:(t<0.062250?0.333:(t<0.062375?0.067:(t<0.062500?-0.200:(t<0.062625?-0.733:(t<0.062750?-0.200:(t<0.062875?-0.600:(t<0.063000?-0.067:(t<0.063125?-0.067:(t<0.063250?-0.333:(t<0.063375?0.067:(t<0.063500?-0.200:(t<0.063625?0.467:(t<0.063750?0.067:(t<0.063875?0.200:(t<0.064000?0.200:0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))):(t<0.128000?(t<0.064125?-0.467:(t<0.064250?0.200:(t<0.064375?-0.333:(t<0.064500?0.067:(t<0.064625?0.067:(t<0.064750?-0.200:(t<0.064875?0.200:(t<0.065000?-0.200:(t<0.065125?0.333:(t<0.065250?0.067:(t<0.065375?0.067:(t<0.065500?0.200:(t<0.065625?-0.200:(t<0.065750?0.200:(t<0.065875?0.067:(t<0.066000?0.200:(t<0.066125?0.200:(t<0.066250?0.200:(t<0.066375?0.200:(t<0.066500?-0.333:(t<0.066625?-0.600:(t<0.066750?-0.067:(t<0.066875?-0.733:(t<0.067000?-0.333:(t<0.067125?0.067:(t<0.067250?-0.467:(t<0.067375?0.200:(t<0.067500?-0.067:(t<0.067625?0.067:(t<0.067750?0.200:(t<0.067875?0.067:(t<0.068000?0.333:(t<0.068125?-0.333:(t<0.068250?0.067:(t<0.068375?-0.200:(t<0.068500?-0.333:(t<0.068625?0.200:(t<0.068750?-0.200:(t<0.068875?0.200:(t<0.069000?0.067:(t<0.069125?0.333:(t<0.069250?0.333:(t<0.069375?0.200:(t<0.069500?0.200:(t<0.069625?-0.067:(t<0.069750?0.200:(t<0.069875?-0.067:(t<0.070000?0.067:(t<0.070125?-0.067:(t<0.070250?-0.067:(t<0.070375?0.067:(t<0.070500?-0.333:(t<0.070625?-0.600:(t<0.070750?-0.333:(t<0.070875?-0.467:(t<0.071000?-0.333:(t<0.071125?0.333:(t<0.071250?-0.200:(t<0.071375?0.200:(t<0.071500?0.200:(t<0.071625?0.067:(t<0.071750?0.333:(t<0.071875?0.067:(t<0.072000?0.200:(t<0.072125?-0.333:(t<0.072250?-0.333:(t<0.072375?-0.200:(t<0.072500?-0.467:(t<0.072625?0.067:(t<0.072750?-0.200:(t<0.072875?0.067:(t<0.073000?0.067:(t<0.073125?0.200:(t<0.073250?0.333:(t<0.073375?0.333:(t<0.073500?0.467:(t<0.073625?0.200:(t<0.073750?0.200:(t<0.073875?0.200:(t<0.074000?0.067:(t<0.074125?0.067:(t<0.074250?-0.067:(t<0.074375?-0.067:(t<0.074500?-0.467:(t<0.074625?-0.467:(t<0.074750?-0.467:(t<0.074875?-0.600:(t<0.075000?-0.200:(t<0.075125?-0.067:(t<0.075250?-0.067:(t<0.075375?0.200:(t<0.075500?0.067:(t<0.075625?0.333:(t<0.075750?0.067:(t<0.075875?0.200:(t<0.076000?0.200:(t<0.076125?-0.200:(t<0.076250?-0.067:(t<0.076375?-0.467:(t<0.076500?-0.200:(t<0.076625?-0.333:(t<0.076750?-0.200:(t<0.076875?0.067:(t<0.077000?0.067:(t<0.077125?0.333:(t<0.077250?0.200:(t<0.077375?0.333:(t<0.077500?0.333:(t<0.077625?0.333:(t<0.077750?0.333:(t<0.077875?0.067:(t<0.078000?0.200:(t<0.078125?0.067:(t<0.078250?-0.067:(t<0.078375?-0.067:(t<0.078500?-0.333:(t<0.078625?-0.333:(t<0.078750?-0.467:(t<0.078875?-0.333:(t<0.079000?-0.200:(t<0.079125?-0.333:(t<0.079250?0.067:(t<0.079375?-0.067:(t<0.079500?0.200:(t<0.079625?0.200:(t<0.079750?0.067:(t<0.079875?0.200:(t<0.080000?-0.200:(t<0.080125?0.067:(t<0.080250?-0.200:(t<0.080375?-0.333:(t<0.080500?-0.200:(t<0.080625?-0.333:(t<0.080750?0.067:(t<0.080875?-0.067:(t<0.081000?0.200:(t<0.081125?0.200:(t<0.081250?0.067:(t<0.081375?0.467:(t<0.081500?0.200:(t<0.081625?0.467:(t<0.081750?0.333:(t<0.081875?0.200:(t<0.082000?0.200:(t<0.082125?-0.200:(t<0.082250?-0.067:(t<0.082375?-0.600:(t<0.082500?-0.333:(t<0.082625?-0.467:(t<0.082750?-0.467:(t<0.082875?-0.067:(t<0.083000?-0.333:(t<0.083125?0.067:(t<0.083250?0.067:(t<0.083375?0.067:(t<0.083500?0.200:(t<0.083625?0.067:(t<0.083750?0.333:(t<0.083875?-0.067:(t<0.084000?-0.067:(t<0.084125?-0.067:(t<0.084250?-0.467:(t<0.084375?-0.200:(t<0.084500?-0.333:(t<0.084625?-0.200:(t<0.084750?-0.067:(t<0.084875?-0.067:(t<0.085000?0.333:(t<0.085125?0.333:(t<0.085250?0.600:(t<0.085375?0.333:(t<0.085500?0.333:(t<0.085625?0.467:(t<0.085750?0.200:(t<0.085875?0.333:(t<0.086000?-0.067:(t<0.086125?-0.200:(t<0.086250?-0.600:(t<0.086375?-0.600:(t<0.086500?-0.467:(t<0.086625?-0.867:(t<0.086750?-0.067:(t<0.086875?-0.333:(t<0.087000?-0.067:(t<0.087125?0.200:(t<0.087250?-0.067:(t<0.087375?0.333:(t<0.087500?0.067:(t<0.087625?0.467:(t<0.087750?0.067:(t<0.087875?-0.067:(t<0.088000?-0.067:(t<0.088125?-0.733:(t<0.088250?-0.067:(t<0.088375?-0.333:(t<0.088500?-0.333:(t<0.088625?-0.067:(t<0.088750?-0.200:(t<0.088875?0.067:(t<0.089000?0.200:(t<0.089125?0.733:(t<0.089250?0.333:(t<0.089375?0.733:(t<0.089500?0.467:(t<0.089625?0.067:(t<0.089750?0.467:(t<0.089875?0.200:(t<0.090000?-0.067:(t<0.090125?-0.600:(t<0.090250?-0.333:(t<0.090375?-0.733:(t<0.090500?-0.733:(t<0.090625?-0.067:(t<0.090750?-0.467:(t<0.090875?-0.067:(t<0.091000?0.067:(t<0.091125?-0.067:(t<0.091250?0.067:(t<0.091375?0.333:(t<0.091500?0.467:(t<0.091625?-0.067:(t<0.091750?0.200:(t<0.091875?-0.067:(t<0.092000?-0.600:(t<0.092125?-0.200:(t<0.092250?-0.333:(t<0.092375?-0.333:(t<0.092500?-0.200:(t<0.092625?-0.067:(t<0.092750?-0.067:(t<0.092875?0.067:(t<0.093000?0.600:(t<0.093125?0.200:(t<0.093250?0.733:(t<0.093375?0.467:(t<0.093500?0.200:(t<0.093625?0.467:(t<0.093750?0.333:(t<0.093875?0.333:(t<0.094000?-0.600:(t<0.094125?-0.200:(t<0.094250?-0.733:(t<0.094375?-0.867:(t<0.094500?-0.067:(t<0.094625?-0.600:(t<0.094750?0.067:(t<0.094875?-0.067:(t<0.095000?-0.067:(t<0.095125?0.067:(t<0.095250?0.200:(t<0.095375?0.467:(t<0.095500?-0.067:(t<0.095625?0.333:(t<0.095750?-0.200:(t<0.095875?-0.467:(t<0.096000?-0.067:(t<0.096125?-0.467:(t<0.096250?-0.200:(t<0.096375?-0.200:(t<0.096500?-0.067:(t<0.096625?-0.067:(t<0.096750?0.200:(t<0.096875?0.600:(t<0.097000?0.200:(t<0.097125?0.733:(t<0.097250?0.600:(t<0.097375?0.333:(t<0.097500?0.467:(t<0.097625?0.333:(t<0.097750?0.200:(t<0.097875?-0.600:(t<0.098000?-0.333:(t<0.098125?-0.867:(t<0.098250?-0.600:(t<0.098375?-0.200:(t<0.098500?-0.467:(t<0.098625?-0.067:(t<0.098750?-0.067:(t<0.098875?0.067:(t<0.099000?0.067:(t<0.099125?0.200:(t<0.099250?0.200:(t<0.099375?-0.067:(t<0.099500?0.200:(t<0.099625?-0.200:(t<0.099750?-0.333:(t<0.099875?-0.200:(t<0.100000?-0.467:(t<0.100125?-0.200:(t<0.100250?-0.067:(t<0.100375?-0.067:(t<0.100500?0.067:(t<0.100625?0.333:(t<0.100750?0.467:(t<0.100875?0.467:(t<0.101000?0.733:(t<0.101125?0.467:(t<0.101250?0.333:(t<0.101375?0.600:(t<0.101500?0.200:(t<0.101625?-0.200:(t<0.101750?-0.333:(t<0.101875?-0.600:(t<0.102000?-0.867:(t<0.102125?-0.333:(t<0.102250?-0.600:(t<0.102375?-0.333:(t<0.102500?-0.067:(t<0.102625?-0.067:(t<0.102750?-0.067:(t<0.102875?0.067:(t<0.103000?0.200:(t<0.103125?0.067:(t<0.103250?0.200:(t<0.103375?-0.067:(t<0.103500?-0.333:(t<0.103625?-0.333:(t<0.103750?-0.467:(t<0.103875?-0.333:(t<0.104000?-0.200:(t<0.104125?-0.067:(t<0.104250?-0.067:(t<0.104375?0.200:(t<0.104500?0.333:(t<0.104625?0.333:(t<0.104750?0.733:(t<0.104875?0.600:(t<0.105000?0.600:(t<0.105125?0.467:(t<0.105250?0.333:(t<0.105375?0.200:(t<0.105500?-0.200:(t<0.105625?-0.067:(t<0.105750?-0.867:(t<0.105875?-0.600:(t<0.106000?-0.467:(t<0.106125?-0.733:(t<0.106250?0.067:(t<0.106375?-0.200:(t<0.106500?0.067:(t<0.106625?-0.067:(t<0.106750?0.067:(t<0.106875?0.200:(t<0.107000?-0.067:(t<0.107125?0.467:(t<0.107250?-0.333:(t<0.107375?-0.200:(t<0.107500?-0.333:(t<0.107625?-0.600:(t<0.107750?-0.067:(t<0.107875?-0.200:(t<0.108000?0.067:(t<0.108125?-0.067:(t<0.108250?0.200:(t<0.108375?0.333:(t<0.108500?0.333:(t<0.108625?1.000:(t<0.108750?0.467:(t<0.108875?0.733:(t<0.109000?0.333:(t<0.109125?0.200:(t<0.109250?0.067:(t<0.109375?-0.200:(t<0.109500?-0.067:(t<0.109625?-1.000:(t<0.109750?-0.200:(t<0.109875?-0.733:(t<0.110000?-0.467:(t<0.110125?0.200:(t<0.110250?-0.467:(t<0.110375?0.200:(t<0.110500?-0.200:(t<0.110625?0.333:(t<0.110750?-0.067:(t<0.110875?0.067:(t<0.111000?0.333:(t<0.111125?-0.600:(t<0.111250?0.067:(t<0.111375?-0.600:(t<0.111500?-0.333:(t<0.111625?0.067:(t<0.111750?-0.200:(t<0.111875?0.200:(t<0.112000?-0.067:(t<0.112125?0.467:(t<0.112250?0.067:(t<0.112375?0.600:(t<0.112500?0.867:(t<0.112625?0.467:(t<0.112750?0.733:(t<0.112875?0.067:(t<0.113000?0.067:(t<0.113125?-0.200:(t<0.113250?-0.067:(t<0.113375?-0.467:(t<0.113500?-0.600:(t<0.113625?-0.200:(t<0.113750?-0.867:(t<0.113875?-0.067:(t<0.114000?-0.200:(t<0.114125?-0.067:(t<0.114250?0.067:(t<0.114375?-0.067:(t<0.114500?0.200:(t<0.114625?-0.200:(t<0.114750?0.333:(t<0.114875?-0.333:(t<0.115000?-0.200:(t<0.115125?-0.200:(t<0.115250?-0.600:(t<0.115375?-0.067:(t<0.115500?-0.200:(t<0.115625?0.067:(t<0.115750?0.067:(t<0.115875?0.200:(t<0.116000?0.200:(t<0.116125?0.333:(t<0.116250?0.867:(t<0.116375?0.467:(t<0.116500?0.733:(t<0.116625?0.467:(t<0.116750?0.067:(t<0.116875?-0.067:(t<0.117000?-0.200:(t<0.117125?-0.333:(t<0.117250?-0.600:(t<0.117375?-0.200:(t<0.117500?-0.600:(t<0.117625?-0.467:(t<0.117750?-0.067:(t<0.117875?-0.333:(t<0.118000?0.067:(t<0.118125?0.067:(t<0.118250?0.067:(t<0.118375?0.067:(t<0.118500?0.200:(t<0.118625?-0.067:(t<0.118750?-0.467:(t<0.118875?-0.067:(t<0.119000?-0.467:(t<0.119125?-0.200:(t<0.119250?-0.067:(t<0.119375?-0.067:(t<0.119500?0.067:(t<0.119625?0.067:(t<0.119750?0.333:(t<0.119875?0.200:(t<0.120000?0.733:(t<0.120125?0.733:(t<0.120250?0.600:(t<0.120375?0.600:(t<0.120500?0.200:(t<0.120625?-0.067:(t<0.120750?-0.200:(t<0.120875?-0.333:(t<0.121000?-0.333:(t<0.121125?-0.467:(t<0.121250?-0.333:(t<0.121375?-0.600:(t<0.121500?-0.200:(t<0.121625?-0.333:(t<0.121750?-0.200:(t<0.121875?0.333:(t<0.122000?-0.067:(t<0.122125?0.200:(t<0.122250?0.067:(t<0.122375?-0.067:(t<0.122500?-0.333:(t<0.122625?-0.333:(t<0.122750?-0.333:(t<0.122875?-0.467:(t<0.123000?-0.067:(t<0.123125?-0.200:(t<0.123250?-0.067:(t<0.123375?0.200:(t<0.123500?0.067:(t<0.123625?0.333:(t<0.123750?0.467:(t<0.123875?0.733:(t<0.124000?0.600:(t<0.124125?0.600:(t<0.124250?0.333:(t<0.124375?-0.067:(t<0.124500?0.067:(t<0.124625?-0.467:(t<0.124750?-0.200:(t<0.124875?-0.467:(t<0.125000?-0.333:(t<0.125125?-0.467:(t<0.125250?-0.467:(t<0.125375?-0.067:(t<0.125500?-0.467:(t<0.125625?0.333:(t<0.125750?-0.067:(t<0.125875?0.067:(t<0.126000?0.333:(t<0.126125?-0.333:(t<0.126250?-0.067:(t<0.126375?-0.467:(t<0.126500?-0.200:(t<0.126625?-0.333:(t<0.126750?-0.067:(t<0.126875?0.067:(t<0.127000?-0.333:(t<0.127125?0.333:(t<0.127250?-0.067:(t<0.127375?0.333:(t<0.127500?0.600:(t<0.127625?0.600:(t<0.127750?0.733:(t<0.127875?0.467:(t<0.128000?0.600:0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))):(t<0.192000?(t<0.128125?-0.067:(t<0.128250?0.067:(t<0.128375?-0.333:(t<0.128500?-0.200:(t<0.128625?-0.200:(t<0.128750?-0.600:(t<0.128875?-0.200:(t<0.129000?-0.600:(t<0.129125?-0.067:(t<0.129250?-0.467:(t<0.129375?0.200:(t<0.129500?0.200:(t<0.129625?-0.067:(t<0.129750?0.467:(t<0.129875?-0.333:(t<0.130000?-0.067:(t<0.130125?-0.333:(t<0.130250?-0.333:(t<0.130375?-0.200:(t<0.130500?-0.200:(t<0.130625?0.200:(t<0.130750?-0.333:(t<0.130875?0.200:(t<0.131000?0.067:(t<0.131125?0.067:(t<0.131250?0.733:(t<0.131375?0.600:(t<0.131500?0.867:(t<0.131625?0.467:(t<0.131750?0.467:(t<0.131875?-0.067:(t<0.132000?-0.067:(t<0.132125?-0.200:(t<0.132250?-0.333:(t<0.132375?-0.067:(t<0.132500?-0.467:(t<0.132625?-0.200:(t<0.132750?-0.600:(t<0.132875?-0.067:(t<0.133000?-0.333:(t<0.133125?0.067:(t<0.133250?0.333:(t<0.133375?-0.200:(t<0.133500?0.467:(t<0.133625?-0.333:(t<0.133750?-0.067:(t<0.133875?-0.200:(t<0.134000?-0.333:(t<0.134125?-0.200:(t<0.134250?-0.333:(t<0.134375?0.200:(t<0.134500?-0.333:(t<0.134625?0.067:(t<0.134750?0.067:(t<0.134875?0.067:(t<0.135000?0.600:(t<0.135125?0.467:(t<0.135250?0.867:(t<0.135375?0.600:(t<0.135500?0.600:(t<0.135625?0.067:(t<0.135750?-0.067:(t<0.135875?-0.067:(t<0.136000?-0.467:(t<0.136125?-0.067:(t<0.136250?-0.600:(t<0.136375?-0.333:(t<0.136500?-0.600:(t<0.136625?-0.200:(t<0.136750?-0.333:(t<0.136875?-0.200:(t<0.137000?0.467:(t<0.137125?-0.200:(t<0.137250?0.467:(t<0.137375?-0.067:(t<0.137500?-0.200:(t<0.137625?-0.200:(t<0.137750?-0.467:(t<0.137875?-0.067:(t<0.138000?-0.467:(t<0.138125?0.200:(t<0.138250?-0.333:(t<0.138375?-0.067:(t<0.138500?0.200:(t<0.138625?-0.067:(t<0.138750?0.600:(t<0.138875?0.467:(t<0.139000?0.867:(t<0.139125?0.600:(t<0.139250?0.733:(t<0.139375?0.200:(t<0.139500?-0.200:(t<0.139625?0.067:(t<0.139750?-0.600:(t<0.139875?-0.067:(t<0.140000?-0.600:(t<0.140125?-0.333:(t<0.140250?-0.600:(t<0.140375?-0.467:(t<0.140500?-0.200:(t<0.140625?-0.333:(t<0.140750?0.467:(t<0.140875?-0.200:(t<0.141000?0.333:(t<0.141125?0.067:(t<0.141250?-0.200:(t<0.141375?-0.067:(t<0.141500?-0.467:(t<0.141625?-0.067:(t<0.141750?-0.467:(t<0.141875?0.067:(t<0.142000?-0.333:(t<0.142125?-0.200:(t<0.142250?0.200:(t<0.142375?-0.067:(t<0.142500?0.467:(t<0.142625?0.467:(t<0.142750?0.867:(t<0.142875?0.733:(t<0.143000?0.733:(t<0.143125?0.333:(t<0.143250?-0.200:(t<0.143375?0.200:(t<0.143500?-0.600:(t<0.143625?-0.067:(t<0.143750?-0.600:(t<0.143875?-0.467:(t<0.144000?-0.600:(t<0.144125?-0.600:(t<0.144250?-0.200:(t<0.144375?-0.467:(t<0.144500?0.600:(t<0.144625?-0.067:(t<0.144750?0.333:(t<0.144875?0.333:(t<0.145000?-0.200:(t<0.145125?0.067:(t<0.145250?-0.333:(t<0.145375?-0.067:(t<0.145500?-0.467:(t<0.145625?-0.067:(t<0.145750?-0.200:(t<0.145875?-0.467:(t<0.146000?0.067:(t<0.146125?-0.200:(t<0.146250?0.333:(t<0.146375?0.467:(t<0.146500?0.733:(t<0.146625?0.733:(t<0.146750?0.600:(t<0.146875?0.600:(t<0.147000?-0.067:(t<0.147125?0.200:(t<0.147250?-0.333:(t<0.147375?-0.200:(t<0.147500?-0.467:(t<0.147625?-0.600:(t<0.147750?-0.600:(t<0.147875?-0.733:(t<0.148000?-0.200:(t<0.148125?-0.467:(t<0.148250?0.467:(t<0.148375?0.067:(t<0.148500?0.200:(t<0.148625?0.333:(t<0.148750?-0.067:(t<0.148875?0.067:(t<0.149000?-0.200:(t<0.149125?0.067:(t<0.149250?-0.333:(t<0.149375?-0.067:(t<0.149500?-0.200:(t<0.149625?-0.467:(t<0.149750?-0.067:(t<0.149875?-0.200:(t<0.150000?0.200:(t<0.150125?0.467:(t<0.150250?0.733:(t<0.150375?0.733:(t<0.150500?0.600:(t<0.150625?0.600:(t<0.150750?0.067:(t<0.150875?0.333:(t<0.151000?-0.200:(t<0.151125?-0.200:(t<0.151250?-0.333:(t<0.151375?-0.733:(t<0.151500?-0.600:(t<0.151625?-0.867:(t<0.151750?-0.333:(t<0.151875?-0.600:(t<0.152000?0.200:(t<0.152125?0.200:(t<0.152250?0.200:(t<0.152375?0.467:(t<0.152500?-0.067:(t<0.152625?0.067:(t<0.152750?-0.067:(t<0.152875?0.067:(t<0.153000?-0.200:(t<0.153125?-0.200:(t<0.153250?-0.067:(t<0.153375?-0.467:(t<0.153500?-0.067:(t<0.153625?-0.200:(t<0.153750?0.067:(t<0.153875?0.467:(t<0.154000?0.600:(t<0.154125?0.733:(t<0.154250?0.600:(t<0.154375?0.600:(t<0.154500?0.067:(t<0.154625?0.200:(t<0.154750?-0.067:(t<0.154875?-0.200:(t<0.155000?-0.200:(t<0.155125?-0.733:(t<0.155250?-0.600:(t<0.155375?-0.867:(t<0.155500?-0.467:(t<0.155625?-0.467:(t<0.155750?0.067:(t<0.155875?0.200:(t<0.156000?0.067:(t<0.156125?0.467:(t<0.156250?0.067:(t<0.156375?0.067:(t<0.156500?-0.067:(t<0.156625?0.067:(t<0.156750?-0.200:(t<0.156875?-0.200:(t<0.157000?-0.200:(t<0.157125?-0.467:(t<0.157250?-0.200:(t<0.157375?-0.200:(t<0.157500?0.067:(t<0.157625?0.333:(t<0.157750?0.600:(t<0.157875?0.733:(t<0.158000?0.600:(t<0.158125?0.733:(t<0.158250?0.200:(t<0.158375?0.200:(t<0.158500?0.200:(t<0.158625?-0.200:(t<0.158750?-0.200:(t<0.158875?-0.733:(t<0.159000?-0.600:(t<0.159125?-0.867:(t<0.159250?-0.600:(t<0.159375?-0.600:(t<0.159500?-0.067:(t<0.159625?0.200:(t<0.159750?0.067:(t<0.159875?0.333:(t<0.160000?0.200:(t<0.160125?0.200:(t<0.160250?0.067:(t<0.160375?0.067:(t<0.160500?-0.067:(t<0.160625?-0.200:(t<0.160750?-0.200:(t<0.160875?-0.467:(t<0.161000?-0.333:(t<0.161125?-0.200:(t<0.161250?-0.067:(t<0.161375?0.333:(t<0.161500?0.467:(t<0.161625?0.733:(t<0.161750?0.600:(t<0.161875?0.600:(t<0.162000?0.467:(t<0.162125?0.333:(t<0.162250?0.333:(t<0.162375?-0.067:(t<0.162500?-0.200:(t<0.162625?-0.600:(t<0.162750?-0.733:(t<0.162875?-0.867:(t<0.163000?-0.733:(t<0.163125?-0.600:(t<0.163250?-0.200:(t<0.163375?0.067:(t<0.163500?0.067:(t<0.163625?0.333:(t<0.163750?0.200:(t<0.163875?0.200:(t<0.164000?0.200:(t<0.164125?0.200:(t<0.164250?0.067:(t<0.164375?-0.067:(t<0.164500?-0.067:(t<0.164625?-0.467:(t<0.164750?-0.333:(t<0.164875?-0.200:(t<0.165000?-0.200:(t<0.165125?0.200:(t<0.165250?0.467:(t<0.165375?0.600:(t<0.165500?0.600:(t<0.165625?0.600:(t<0.165750?0.467:(t<0.165875?0.333:(t<0.166000?0.467:(t<0.166125?0.200:(t<0.166250?-0.067:(t<0.166375?-0.333:(t<0.166500?-0.733:(t<0.166625?-0.867:(t<0.166750?-0.733:(t<0.166875?-0.733:(t<0.167000?-0.333:(t<0.167125?-0.067:(t<0.167250?-0.067:(t<0.167375?0.200:(t<0.167500?0.067:(t<0.167625?0.200:(t<0.167750?0.200:(t<0.167875?0.333:(t<0.168000?0.067:(t<0.168125?0.067:(t<0.168250?-0.067:(t<0.168375?-0.333:(t<0.168500?-0.333:(t<0.168625?-0.333:(t<0.168750?-0.200:(t<0.168875?0.067:(t<0.169000?0.333:(t<0.169125?0.467:(t<0.169250?0.467:(t<0.169375?0.600:(t<0.169500?0.467:(t<0.169625?0.467:(t<0.169750?0.467:(t<0.169875?0.333:(t<0.170000?0.067:(t<0.170125?-0.333:(t<0.170250?-0.600:(t<0.170375?-0.867:(t<0.170500?-0.733:(t<0.170625?-0.733:(t<0.170750?-0.467:(t<0.170875?-0.200:(t<0.171000?-0.200:(t<0.171125?0.067:(t<0.171250?0.067:(t<0.171375?0.200:(t<0.171500?0.200:(t<0.171625?0.333:(t<0.171750?0.200:(t<0.171875?0.067:(t<0.172000?0.067:(t<0.172125?-0.333:(t<0.172250?-0.333:(t<0.172375?-0.333:(t<0.172500?-0.200:(t<0.172625?-0.067:(t<0.172750?0.200:(t<0.172875?0.333:(t<0.173000?0.467:(t<0.173125?0.600:(t<0.173250?0.600:(t<0.173375?0.600:(t<0.173500?0.600:(t<0.173625?0.467:(t<0.173750?0.200:(t<0.173875?-0.200:(t<0.174000?-0.467:(t<0.174125?-0.867:(t<0.174250?-0.733:(t<0.174375?-0.733:(t<0.174500?-0.600:(t<0.174625?-0.200:(t<0.174750?-0.333:(t<0.174875?-0.067:(t<0.175000?-0.067:(t<0.175125?0.067:(t<0.175250?0.200:(t<0.175375?0.200:(t<0.175500?0.333:(t<0.175625?0.200:(t<0.175750?0.067:(t<0.175875?-0.200:(t<0.176000?-0.333:(t<0.176125?-0.333:(t<0.176250?-0.333:(t<0.176375?-0.067:(t<0.176500?0.200:(t<0.176625?0.200:(t<0.176750?0.333:(t<0.176875?0.467:(t<0.177000?0.467:(t<0.177125?0.600:(t<0.177250?0.733:(t<0.177375?0.600:(t<0.177500?0.333:(t<0.177625?-0.067:(t<0.177750?-0.333:(t<0.177875?-0.733:(t<0.178000?-0.733:(t<0.178125?-0.733:(t<0.178250?-0.733:(t<0.178375?-0.333:(t<0.178500?-0.467:(t<0.178625?-0.200:(t<0.178750?-0.200:(t<0.178875?0.067:(t<0.179000?0.200:(t<0.179125?0.333:(t<0.179250?0.333:(t<0.179375?0.200:(t<0.179500?0.200:(t<0.179625?-0.067:(t<0.179750?-0.200:(t<0.179875?-0.333:(t<0.180000?-0.200:(t<0.180125?-0.200:(t<0.180250?0.067:(t<0.180375?0.200:(t<0.180500?0.067:(t<0.180625?0.333:(t<0.180750?0.467:(t<0.180875?0.467:(t<0.181000?0.733:(t<0.181125?0.733:(t<0.181250?0.467:(t<0.181375?0.200:(t<0.181500?-0.200:(t<0.181625?-0.467:(t<0.181750?-0.733:(t<0.181875?-0.600:(t<0.182000?-0.733:(t<0.182125?-0.467:(t<0.182250?-0.467:(t<0.182375?-0.467:(t<0.182500?-0.200:(t<0.182625?-0.067:(t<0.182750?0.067:(t<0.182875?0.200:(t<0.183000?0.333:(t<0.183125?0.333:(t<0.183250?0.200:(t<0.183375?-0.067:(t<0.183500?-0.200:(t<0.183625?-0.200:(t<0.183750?-0.200:(t<0.183875?-0.200:(t<0.184000?-0.067:(t<0.184125?0.067:(t<0.184250?0.067:(t<0.184375?0.200:(t<0.184500?0.333:(t<0.184625?0.467:(t<0.184750?0.733:(t<0.184875?0.733:(t<0.185000?0.600:(t<0.185125?0.200:(t<0.185250?0.067:(t<0.185375?-0.333:(t<0.185500?-0.600:(t<0.185625?-0.467:(t<0.185750?-0.733:(t<0.185875?-0.467:(t<0.186000?-0.467:(t<0.186125?-0.467:(t<0.186250?-0.333:(t<0.186375?-0.200:(t<0.186500?0.067:(t<0.186625?0.200:(t<0.186750?0.333:(t<0.186875?0.200:(t<0.187000?0.200:(t<0.187125?0.067:(t<0.187250?-0.067:(t<0.187375?-0.200:(t<0.187500?-0.200:(t<0.187625?-0.200:(t<0.187750?-0.067:(t<0.187875?0.067:(t<0.188000?-0.067:(t<0.188125?0.067:(t<0.188250?0.333:(t<0.188375?0.467:(t<0.188500?0.733:(t<0.188625?0.733:(t<0.188750?0.600:(t<0.188875?0.467:(t<0.189000?0.067:(t<0.189125?-0.200:(t<0.189250?-0.467:(t<0.189375?-0.333:(t<0.189500?-0.600:(t<0.189625?-0.467:(t<0.189750?-0.467:(t<0.189875?-0.467:(t<0.190000?-0.333:(t<0.190125?-0.333:(t<0.190250?-0.067:(t<0.190375?0.067:(t<0.190500?0.333:(t<0.190625?0.200:(t<0.190750?0.200:(t<0.190875?0.067:(t<0.191000?-0.067:(t<0.191125?-0.200:(t<0.191250?-0.200:(t<0.191375?-0.067:(t<0.191500?-0.067:(t<0.191625?-0.067:(t<0.191750?-0.067:(t<0.191875?0.067:(t<0.192000?0.200:0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))):(t<0.192125?0.333:(t<0.192250?0.467:(t<0.192375?0.600:(t<0.192500?0.600:(t<0.192625?0.467:(t<0.192750?0.200:(t<0.192875?-0.067:(t<0.193000?-0.333:(t<0.193125?-0.333:(t<0.193250?-0.467:(t<0.193375?-0.467:(t<0.193500?-0.467:(t<0.193625?-0.467:(t<0.193750?-0.333:(t<0.193875?-0.333:(t<0.194000?-0.067:(t<0.194125?0.067:(t<0.194250?0.200:(t<0.194375?0.200:(t<0.194500?0.067:(t<0.194625?0.067:(t<0.194750?-0.067:(t<0.194875?-0.067:(t<0.195000?-0.200:(t<0.195125?-0.067:(t<0.195250?-0.200:(t<0.195375?-0.067:(t<0.195500?-0.067:(t<0.195625?-0.067:(t<0.195750?0.067:(t<0.195875?0.200:(t<0.196000?0.467:(t<0.196125?0.467:(t<0.196250?0.600:(t<0.196375?0.333:(t<0.196500?0.200:(t<0.196625?0.067:(t<0.196750?-0.200:(t<0.196875?-0.200:(t<0.197000?-0.333:(t<0.197125?-0.467:(t<0.197250?-0.333:(t<0.197375?-0.467:(t<0.197500?-0.333:(t<0.197625?-0.200:(t<0.197750?-0.067:(t<0.197875?0.200:(t<0.198000?0.067:(t<0.198125?0.333:(t<0.198250?0.067:(t<0.198375?0.067:(t<0.198500?-0.067:(t<0.198625?-0.067:(t<0.198750?-0.067:(t<0.198875?-0.067:(t<0.199000?-0.067:(t<0.199125?-0.200:(t<0.199250?-0.067:(t<0.199375?-0.067:(t<0.199500?0.067:(t<0.199625?0.200:(t<0.199750?0.333:(t<0.199875?0.467:(t<0.200000?0.333:0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

ewanp2025 avatar Dec 13 '25 10:12 ewanp2025

@ewanp2025 this is the error that is generated when compiling your expression:

Error: ERR000 - Current stack depth 401 exceeds maximum allowed stack depth of 400

Here it is in the REPL:

https://www.partow.net/programming/exprtk/repl/index.html?$load_github=github/lmms_issues_8162_01.txt

The short of it: The expression while being compiled exceeded the stack size checker. The checker prevents the compilation process from incurring a stack-overflow and crashing the LMMS program.

Note: When using Firefox you will see the above denoted error. However in chrome depending on the setup you may instead see the following error:

Maximum call stack size exceeded


In any case your expression is very long and perhaps could be better written using the switch statement instead of the ternary operators.

Here is an example of a switch statement with 100k cases:

https://www.partow.net/programming/exprtk/repl/index.html?$load_github=github/lmms_issues_8162_02.txt

This variant of the expression will not only compile but it will compile much faster and will also run much faster than when using cascading ternary operators, and is also far more comprehensible to the human eye.

ArashPartow avatar Dec 14 '25 02:12 ArashPartow

Thanks Arash

I studied your example then tried to write a parser in Matlab to convert between the expression formats for the two different versions (Matlab was originally what I used to create the "samples") (and only as I am more experienced in Matlab scripting than I am with any other language). My parsed expressions kept on coming up with a syntax error (red LED). I then tried copying and pasting your expression straight in and also obtained a syntax error. I guess it's not real important, but it was kind of a fun trick to store 4 bit vocal "samples" within the projects for the sharing platform.

Image

ewanp2025 avatar Dec 14 '25 05:12 ewanp2025