• 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: NSMovie playback cutout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMovie playback cutout


  • Subject: Re: NSMovie playback cutout
  • From: Greg Hamilton <email@hidden>
  • Date: Wed, 26 Feb 2003 09:46:09 +1100

Once the new version is working with Jaguar and has been tested at a few gigs I'll post the software somewhere. Source and binary. It's not the best code. I need to learn more about Cocoa and Objective C. I have a feeling I'm doing a few things the hard way.

I'll make a note of your email address and let you know when it's ready. It should be ready soon as it's required for a gig next weekend.

Previewing could be a little tricky. To listen to two tracks but only send one to the live output would require having two audio outputs. We use an iBook at gigs. I suppose if we attached an external USB audio device (eg. a Griffin iMic) we could preview on the iMic and send the built in line-out to the PA. I don't know if it's possible to select the audio output device for an individual Quicktime movie. Also, cross fading would be pretty much out of the question unless I did something really hopeless like play the sound to both devices and fade the volume up on one and down on the other. This is more of a Core Audio job. I chose to use Quicktime because it knows how to decode mp3, aiff, etc.

Greg Hamilton


On Tuesday, February 25, 2003, at 10:22 PM, MAD DANO MADMAD wrote:

do u make that open source?

i need something xactly like that, espaecially id like to have a prelisten, so i mean a second audio channel i can assign a file to thats not one the live channel, so i can prehear my crossfades or at least get an idea. can i see the project?

daniel

Am Dienstag, 25.02.03 um 09:50 Uhr schrieb Greg Hamilton:

Hi,

I've tried directing this question to the Quicktime API mailing list a few times with no luck.

The first Cocoa app I wrote was a simple app for a DJ friend of mine. It plays multiple audio files and lets him cross fade b/w them. I use an NSMovie instance for each file I'm playing.

Before installing Jaguar the software worked. Now when I start playing a new file the other files tend to stop. They can be restarted but this in turn causes other files to stop. Also, when I display the file dialog to select new files to add to the playlist the audio pauses and doesn't restart until I dismiss the dialog box.

I suspect there has been a change in a default setting in the Quicktime API. In the QuickTime Player app preferences there is a checkbox to select 'Play sound in frontmost player only'. There's probably a Quicktime API function to toggle this setting for a movie. I've spent a long time reading the Quicktime 6 API reference which I downloaded as a PDF from the Apple web site. I can't find any functions that hint at setting something like this for a movie.

To eliminate the possibility that my own bogus code is to blame I've written a very simple test app that just allocates two NSMovies and tries playing them at the same. The same thing happens. One or other always cuts out after a few seconds.

Has anybody had a similar problem ? This is really frustrating.

Greg Hamilton
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: PBI: tear-off tab items?
  • Next by Date: Re: PBI: tear-off tab items?
  • Previous by thread: Re: NSMovie playback cutout
  • Next by thread: How to dialup connection?
  • Index(es):
    • Date
    • Thread