• 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
Timing Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Timing Question


  • Subject: Timing Question
  • From: Christopher Trainor <email@hidden>
  • Date: Sun, 18 Jul 2004 19:43:19 -0400

I am working on a drum machine application. It allows the user to edit drum beats and play them back through a MIDI device. I am using CoreMIDI to manage the communication with the MIDI device.

The timing of the playback was great until I decided that I wanted to show a visual indication of which notes are playing during playback. I have tried a number of techniques to get this to work, such as separate threads and timers (with InstallEventLoopTimer). However, each of the techniques I have tried throws off the timing of the audio playback. (Also, I haven't figured out a good way to use timers and allow the tempo to change in the middle of a song yet.)

Can anyone point me to some sample code that might help me?

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


  • Prev by Date: Saving the output of an AUGraph under Java
  • Next by Date: tempo in Audio Units
  • Previous by thread: Saving the output of an AUGraph under Java
  • Next by thread: tempo in Audio Units
  • Index(es):
    • Date
    • Thread