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

header {
    lesson_id = "5098fb96-c362-45b9-bbb3-703db149a079"
        module = idbyname
        help = "idbyname-intonation"
        title = _("Is the fifth flat, in tune or sharp? %s") % "(0.99)"
        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 326.700000
 """)
}

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 333.333333
 """)
}

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

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 375.000000
 """)
}

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

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 444.444444
 """)
}

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

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 500.000000
 """)
}

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

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 555.555556
 """)
}

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

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 625.000000
 """)
}

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

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 666.666667
 """)
}
