PDA

View Full Version : How do I code a "transpose" program? (Example given)




MarximusMG
Aug 6, 2010, 07:02 PM
I am needing to find out how to code a program that would perform the same function as this website:

http://www.tabtuner.com

I have a series of songs with chords, and would like to be able to transpose the chords on any given song. Thanks in advance!



jnic
Aug 9, 2010, 03:46 AM
Assuming you're just doing string parsing, check out NSScanner (http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSScanner_Class/Reference/Reference.html). Apple have a few sample projects to get you familiar with it linked from the class reference.