Author Topic: Music (Tracker) - Needed information  (Read 115 times)

Controller

  • Posts: 35
Music (Tracker) - Needed information
« on: 15 Jan '25 - 02:00 »
I'm writing a animation / GUI for playback of trackers, which should displays informations similar to "Dual modul player", maybe enhancing to something more looking like Open Modplug Tracker (but playback only). However I cannot get some infos I'd like to show.

I would need the following information for each channel of the tracker module:
  • Current (stereo) volume (What you hear)
  • Current panning
  • Current active instrument (or sample if no instrument is available)
  • Current active effect(s)
Is this possible (and how)?

Ian @ un4seen

  • Administrator
  • Posts: 26254
Re: Music (Tracker) - Needed information
« Reply #1 on: 15 Jan '25 - 15:04 »
Unfortunately, BASS doesn't currently provide per-channel info for tracker files. I guess you want something like a pattern display? What you would need to do for that is also load the file with something like libopenmpt (Open Modplug Tracker's library), and get the pattern data from that and display it in sync with the BASS playback (the BASS_POS_MUSIC_ORDER position).

Controller

  • Posts: 35
Re: Music (Tracker) - Needed information
« Reply #2 on: 16 Jan '25 - 22:11 »
libopenmpt it is. Thanks for the recommendation. Works great already ;D 8)