I did some reverse engineering on the file created by Light-0-Rama.  They
include information like the music file name and location and then also
the number of channels are listed.  A bit more work and I could probably
read the data into a data structure.  It does look like the time of the
events are what are recorded and the WMA file is left alone.  If that's
the case then it's probably a simpler system than I thought.  However,
they do have the ability to play only amount displayed on the screen.

More thought is needed here.

John


Automation Artisans Inc.
http://www.autoartisans.com/ELS/
Ph. 1 250 544 4950


> -----Original Message-----
> From: delphi-boun...@elists.org 
> [mailto:delphi-boun...@elists.org] On Behalf Of David Duffy
> Sent: Saturday, April 04, 2009 4:17 AM
> To: Borland's Delphi Discussion List
> Subject: Re: Synchronizing MP3 playback
> 
> 
> John Dammeyer wrote:
> > What I need is to be able to run the events, not
> > from a TimerDone Event but from a mark in a music file.  To 
> put the mark
> > into a music file I need to create a play file that has the 
> music and the
> > marks in one.  As I send the music buffer out to the player, I will
> > periodically come across the marks which tell me to do the 
> next sequence
> > or event.
> >   
> 
> What about reading the position of the file being played back and
> comparing with a list of cue points? You will have to allow a small
> capture range, as it may be hard to get the position values to line up
> with the entered cue points with frame accuracy.
> David...
> 
> -- 
> ___________________________________________
> David Duffy        Audio Visual Devices P/L
> Unit 8, 10 Hook St, Capalaba 4157 Australia
> Ph: +61 7 38235717      Fax: +61 7 38234717
> Our Web Site: www.audiovisualdevices.com.au
> ___________________________________________
> 
> _______________________________________________
> Delphi mailing list -> Delphi@elists.org
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
> 
> 

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to