• 0 Posts
  • 152 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle











  • …Yes, if you go back and read my fist post, you will find that I, too, refer to tabs as notation, and say: “it’s a customary txt-format notation”. And if you go to the wiki article you linked and read the sentence after the one you pasted, you’ll find it says :“ASCII tab is intended to be a human-readable format rather than machine-readable, and hence is not strictly defined.”.

    Wanna see another musical notation method that doesn’t actually notate music?

    +5 -6 -7 +7 -6 +5 -6 -7 +7 -6 
    +5 -6 -7 +7 -7 -6 +7 -7 -6 +8 +8 +8 
    +8 -8 +8 -9 -9 -9 +8 -8 -9 +8 
    -8 +7 -7 +8 +7 -7 -6 
    

    That’s a harmonica tab - the number is the hole, the sign is inhale-exhale, but to actually play the song, you need to already know the tune to Bella Ciao.









  • Aqarius@lemmy.worldto196@lemmy.blahaj.zoneRule
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 months ago

    Essentially.

    A straightforward example would be an equation system: 2x+4y=10, 3x+5y=13. You could solve it manually, or you could call Cramer’s rule and plug the numbers into the formula:

    Ax+By=C
    Dx+Ey=F

    x=[CB/FE]/[AB/DE] = (CE-BF)/(AE-BD)=(10*5-4*13) / (2*5 - 3*4) = (50-52)/(10-12)=1,
    y=[AC/DF]/[AB/DE]=AF-CD / AE-BD = -4/-2=2

    Pure algo, no thinking required. Also note that you don’t strictly need x to get y and vice versa.

    In a more complex example: You’re making a program to draw something in 2D. You could implement mirroring, rotation, scaling etc…, or, you could declare each point (xy) a vector V=[X Y], implement matrices, and then V times [1 0/0 1] gives you V, [-1 0/0 1] gives you V mirrored on the Y axis, [1 0/0 -1] mirrors on the X axis, [j 0/0 j] scales it by j, [cosw -sinw/sinw cosw] rotates it by w… Makes life much easier.