Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Mac question?

  1. #1
    The rehab years
    Join Date
    Mar 2008
    Location
    Salisbury
    Posts
    2,270

    Default Mac question?

    I've got a MacBook Pro and I want to write a program, or an 'app' as I believe the kids call 'em nower days. The last time I wrote a program, it was in BASIC. What I am trying to do is write a MIDI monitoring program, to start with, finishing with an editor for a MFC.

    Questions
    Is Xcode the way to fulfil my programming needs.
    If so, what book is best for an Xcode noob?
    Last edited by ChrisJordan; 30th July 2012 at 03:30 PM.
    "You do things your way and you put your life in God's hands. You do things someone else's way and you take your life in your own hands." Confucius

  2. #2
    The comeback tour
    Join Date
    Mar 2010
    Location
    Suffolk
    Posts
    6,946

    Default

    If you want to write a native Mac app then XCode is the way.

    You will have to learn Objective C which I don't find the most pleasant of languages to use.

    Are you already a coder?

    You could also consider using Java with Java MIDI or Python with PortMIDI if you want an alternative.

    When you say MFC do you mean in terms of Cepstral analysis?
    Last edited by monquixote; 30th July 2012 at 09:51 PM.

  3. #3
    The rehab years
    Join Date
    Mar 2008
    Location
    Salisbury
    Posts
    2,270

    Default

    MFC - MIDI Foot Controller.

    So am I an idiot to thing that surely all languages are the same: ie Objective C has its equivalents on GOSUB, GOTO, RETURN, END.
    "You do things your way and you put your life in God's hands. You do things someone else's way and you take your life in your own hands." Confucius

  4. #4
    The comeback tour
    Join Date
    Mar 2010
    Location
    Suffolk
    Posts
    6,946

    Default

    Oh OK that makes sense.

    Objective C is very different to BASIC and though it does contain a GOTO statement it is considered very bad form to use it in most situations.

    http://en.wikipedia.org/wiki/Considered_harmful

    Python might be a slightly more gentle introduction for someone used to BASIC.

  5. #5
    The rehab years
    Join Date
    Mar 2008
    Location
    Salisbury
    Posts
    2,270

    Default

    Would I have to buy this Python?
    "You do things your way and you put your life in God's hands. You do things someone else's way and you take your life in your own hands." Confucius

  6. #6

  7. #7
    The rehab years
    Join Date
    Mar 2008
    Location
    Salisbury
    Posts
    2,270

    Default

    And is it easy to poll the USB ports? Wait, scratch that. I'm going to be happy when I can get it to print "Enter your name", and it prints "Hello Chris".
    "You do things your way and you put your life in God's hands. You do things someone else's way and you take your life in your own hands." Confucius

  8. #8
    The comeback tour
    Join Date
    Mar 2010
    Location
    Suffolk
    Posts
    6,946

    Default

    Quote Originally Posted by ChrisJordan View Post
    And is it easy to poll the USB ports? Wait, scratch that. I'm going to be happy when I can get it to print "Enter your name", and it prints "Hello Chris".
    You wouldn't want to poll the USB ports directly for doing MIDI you would use a MIDI library like this http://alumni.media.mit.edu/~harrison/pyportmidi.html

  9. #9
    The comeback tour
    Join Date
    Aug 2003
    Location
    Glasgow
    Posts
    9,344

    Default

    from what I remember, the guys at work managed to control midi data using a free program 'processing'.

    If you're interested I can find out more ..

  10. #10
    The rehab years
    Join Date
    Mar 2008
    Location
    Salisbury
    Posts
    2,270

    Default

    A big thank you, Monquixote and *Noodles*.

    a computer type person once said to me that there is likely to be the program I am after already 'out there', but it may take a bit of tweaking.

    Noodles I would love to know more.

    I suppose I have let myself down. I got lazy and did not keep up with technology. If I had, I wouldn't be here, now.
    "You do things your way and you put your life in God's hands. You do things someone else's way and you take your life in your own hands." Confucius

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •