• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Playing SMF midi files - another approach?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing SMF midi files - another approach?


  • Subject: Re: Playing SMF midi files - another approach?
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 1 Dec 2005 09:29:34 -0700


On Dec 1, 2005, at 9:12 AM, Ian OKeeffe wrote:

Is it possible to play a local file (i.e. In the same
directory/folder as the app.), or one on the same machine?

It's possible.

If I need to submit an URL for a file, how do I find out what it is on a
Mac?

Use NSBundle to figure out the path to the local file (assuming it's inside the bundle) and then use +[NSURL fileURLWithPath:] to turn the file path into a URL.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Playing SMF midi files - another approach? (From: Ian OKeeffe <email@hidden>)

  • Prev by Date: Find all running apps and their windows
  • Next by Date: Re: How to find a window under the cursor
  • Previous by thread: Playing SMF midi files - another approach?
  • Next by thread: NSPopUpButton binding
  • Index(es):
    • Date
    • Thread