Skip to content

Winamp API/SDK integration #10

@mixtern

Description

@mixtern

Hello!
I've been using your app in my workflow lately to run the a few shows with timecode, and so far I love it!

There's an app called GinormoTime that can generate LTC timecode using Winamp API.
It gets the whole playlist, with names and lengths, and allows to set individual offsets for each track.

So my workflow works like this:

  1. Set offsets and generate LTC with GinormoTime
  2. Route LTC with virtual ASIO
  3. Use SuperTimecodeConverter to send MTC over network

So I was thinking, why have the middlemen GinormoTime and ASIO Link Pro?
It should be possible to use the same open API and implement WINAMP source with a TrackMap, simmilar to PRO DJ LINK and STAGELINQ sources.

The specification for Winamp API can be found here
https://getwacup.com/sdk/Winamp/

It works via winuser.h SendMessage function

I've also found a python example that works well:
https://github.com/hugovk/winamp/

I could get position and length in ms with this script:

import time
import winamp

w = winamp.Winamp()

while w.getPlayingStatus() == "playing":
    (length, position) = w.getTrackStatus()
    print(position, " /", length)
    time.sleep(10/1000)

I'm not proficient at C++, but if you can provide directions on how to implement it for Super Timecode Converter, I could try implementing it myself.

P. S.
Winamp API is not exclusive to winamp, for example I'm using the AIMP player.
This feature could also be used to create/validate TrackMaps without connecting the decks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions