Author Topic: Sync a mp3 drum loop with MIDI  (Read 173 times)

johnvantelli

  • Posts: 63
Sync a mp3 drum loop with MIDI
« on: 19 Jan '18 - 20:15 »
Hi everybody,
In my application I would like to synchronize an mp3 loop with a midi file.
The idea is to replace midi channel 10 with a drum loop...
what's the best way to do it?

Ian @ un4seen

  • Administrator
  • Posts: 20768
Re: Sync a mp3 drum loop with MIDI
« Reply #1 on: 22 Jan '18 - 12:54 »
Do the MP3 and MIDI files have the same tempo, so you just need to start them together? If so, you can link them via BASS_ChannelSetLink, which allows them to be both started with a single BASS_ChannelPlay call. Please see the BASS_ChannelSetLink documentation for details.