Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Inability to Distinguish Flats, Sharps, Normal Notes
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
raskolnikova




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Mon Dec 09, 2013 2:34 pm   Post subject: RE:Inability to Distinguish Flats, Sharps, Normal Notes

What about Music.Play("a+")?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: