Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined tone name in tone system leads to crash #14

Open
keinstein opened this issue Jan 22, 2020 · 0 comments
Open

Undefined tone name in tone system leads to crash #14

keinstein opened this issue Jan 22, 2020 · 0 comments

Comments

@keinstein
Copy link
Owner

Try

Ton a' = 440 "Hz"
Intervall
    Oktave = 2:1
    Quinte = 3:2
    

Ton 
    ais   = dis  + Quinte
    dis   = gis  + Quinte - Oktave
    gis   = cis  + Quinte
    cis   = fis  + Quinte - Oktave
    fis   = h    + Quinte - Oktave
    h     = e    + Quinte
    e     = a    + Quinte - Oktave
    a     = 440 "Hz"
    d     = a    - Quinte
    g     = d    - Quinte + Oktave
    c     = g    - Quinte
    f     = c    - Quinte + Oktave
    b     = f    - Quinte + Oktave
    es    = b    - Quinte
    as    = es   - Quinte + Oktave
    des   = as   - Quinte
    ges   = des  - Quinte + Oktave
    ces   = ges  - Quinte
    fes   = ces  - Quinte + Oktave
    bes   = fes  - Quinte + Oktave
    eses  = bes  - Quinte
    asas  = eses - Quinte + Oktave
    deses = asas - Quinte
    
Tonsystem
    Testtonleiter = 60 [ c, des, cis, d, es, dis, e, f, ges, fis, g, as, gis, a, b, ais, h] Oktave 
    Rast     = 60 [ c     ,      ,     d,      ,   fes, geses,      ,     g,      ,     a,      ,   ces] Oktave
    Nihavend = 60 [ c     ,      ,     d,    es,      , geses,      ,     g,    as,      ,     b,      ] Oktave
    Ussak "Uşşak"    = 60 [ c     ,      ,  eses,    es,      , geses,      ,     g,    as,      ,     b,      ] Oktave
    Huseyni "Hüseynî"  = 60 [ c     ,      ,  eses,    es,      , geses,      ,     g,      ,   bes,     b,      ] Oktave
    Hicaz    = 60 [ c     ,   des,      ,      ,   fes, geses,      ,     g,      ,   bes,     b,      ] Oktave
    Huzzam "Hüzzam"   = 60 [ deses ,   des,      ,    es,     e,      ,      ,  asas,    as,      ,     b,      ] Oktave
    
Logik 
    Test Taste T = Testtonleiter []
    Makalam Taste L = [
        Taste R -> Rast
        Taste N -> Nihavend
        Taste K -> Ussak "Uşşak"
        Taste Y -> Huseyni "Hüseynî"
        Taste H -> Hicaz
        Taste Z -> Huzzam "Hüzzam"
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant