# Solfege - ear training for GNOME
# Copyright (C) 2004, 2005 Tom Cato Amundsen
# License is GPL, see file COPYING

header {
    lesson_id = "aa5c3b18-664b-4e3d-b42d-2f06582f4135"
        module = idbyname
        help = "idbyname-intonation"
        title = _("Is the fifth flat, in tune or sharp? %s") % "(0.98)"
        filldir = vertic
        fillnum = 4
}

question {
 name = _i("intonation|flat")
 set=0
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 220.000000
    i1 + 1 323.400000
 """)
}

question {
 name = _i("intonation|in tune")
 set=0
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 220.000000
    i1 + 1 330.000000
 """)
}

question {
 name = _i("intonation|sharp")
 set=0
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 220.000000
    i1 + 1 336.734694
 """)
}

question {
 name = _i("intonation|flat")
 set=1
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 247.500000
    i1 + 1 363.825000
 """)
}

question {
 name = _i("intonation|in tune")
 set=1
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 247.500000
    i1 + 1 371.250000
 """)
}

question {
 name = _i("intonation|sharp")
 set=1
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 247.500000
    i1 + 1 378.826531
 """)
}

question {
 name = _i("intonation|flat")
 set=2
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 293.333333
    i1 + 1 431.200000
 """)
}

question {
 name = _i("intonation|in tune")
 set=2
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 293.333333
    i1 + 1 440.000000
 """)
}

question {
 name = _i("intonation|sharp")
 set=2
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 293.333333
    i1 + 1 448.979592
 """)
}

question {
 name = _i("intonation|flat")
 set=3
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 330.000000
    i1 + 1 485.100000
 """)
}

question {
 name = _i("intonation|in tune")
 set=3
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 330.000000
    i1 + 1 495.000000
 """)
}

question {
 name = _i("intonation|sharp")
 set=3
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 330.000000
    i1 + 1 505.102041
 """)
}

question {
 name = _i("intonation|flat")
 set=4
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 366.666667
    i1 + 1 539.000000
 """)
}

question {
 name = _i("intonation|in tune")
 set=4
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 366.666667
    i1 + 1 550.000000
 """)
}

question {
 name = _i("intonation|sharp")
 set=4
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 366.666667
    i1 + 1 561.224490
 """)
}

question {
 name = _i("intonation|flat")
 set=5
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 412.500000
    i1 + 1 606.375000
 """)
}

question {
 name = _i("intonation|in tune")
 set=5
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 412.500000
    i1 + 1 618.750000
 """)
}

question {
 name = _i("intonation|sharp")
 set=5
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 412.500000
    i1 + 1 631.377551
 """)
}

question {
 name = _i("intonation|flat")
 set=6
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 440.000000
    i1 + 1 646.800000
 """)
}

question {
 name = _i("intonation|in tune")
 set=6
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 440.000000
    i1 + 1 660.000000
 """)
}

question {
 name = _i("intonation|sharp")
 set=6
 csound(load("share/sinus.orc"), """
    f1 0 4096 10 1 
    i1 0 1 440.000000
    i1 + 1 673.469388
 """)
}
