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

header {
    lesson_id = "3b1f57e8-2983-4a74-96da-468aa5414e5e"
        module = idbyname
        help = "idbyname-intonation"
        title = _("Is the fifth flat, in tune or sharp? %s") % "(0.995)"
        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 328.350000
 """)
}

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

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

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

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

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

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

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

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

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

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

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

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

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