Computer Science Canada

Inability to Distinguish Flats, Sharps, Normal Notes

Author:  raskolnikova [ Mon Dec 09, 2013 2:28 pm ]
Post subject:  Inability to Distinguish Flats, Sharps, Normal Notes

Why do flats and sharps sound exactly like normal notes when they are played independently in Turing? I am having a bit of trouble with this in my piano project as each note is played one-at-a-time. I am not well versed in music theory - does this have to do with the one-at-a-time problem or is it to do with the program itself?

Example :

var count : int := 0
loop
exit when count = 5
count += 1
Music.Play ("a")
Music.Play ("+a")
Music.Play ("-a")
put "hello"
end loop

Author:  Tony [ Mon Dec 09, 2013 2:34 pm ]
Post subject:  RE:Inability to Distinguish Flats, Sharps, Normal Notes

What about Music.Play("a+")?


: