Skip to main content

Converts Arkos Tracker 3 text exports to CVBasic MUSIC blocks. Handles note transposition, variable note duration, percussion detection and intro/loop splitting. Targets ColecoVision, MSX and Sega SG-1000.

Project description

Arkos2Basic

Converts Arkos Tracker 3 text exports to CVBasic MUSIC blocks. Handles note transposition, variable note duration, percussion detection and intro/loop splitting. Targets ColecoVision, MSX and Sega SG-1000.

Installation

pipx install arkos2basic

What if you don’t have pipx installed?

Depending on your OS, you can install pipx with this command:

MacOS

brew install pipx

Linux

sudo apt install pipx

Usage

Export your song from Arkos Tracker as a TXT file, then launch this command:

arkos2basic <input-file> <output-file>

If your song has a loop, the app will provide you with two files:

  • <output-file-path>/<output-file-stem>.bas
  • <output-file-path>/<output-file-stem>_loop.bas

Example

Let's imagine you have a TXT source file named mymusic.txt in the same folder of your CVBasic project.

Convert the source file with the command:

arkos2basic mymusic.txt mymusic.bas

If the song has a loop, arkos2basic will provide you these two files:

mymusic.bas
mymusic_loop.bas

To test if the music has been properly converted, create a test_music.bas file with this code:

DIM loop_on
loop_on = 0
PLAY FULL
PLAY mymusic
DO
    WAIT
    IF MUSIC.PLAYING = 0 AND loop_on = 0 THEN
        loop_on = 1
        PLAY mymusic_loop
    END IF
LOOP WHILE 1

INCLUDE mymusic.bas
INCLUDE mymusic_loop.bas

Requirements

Python 3.10 or better.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arkos2basic-0.1.0b6.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arkos2basic-0.1.0b6-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file arkos2basic-0.1.0b6.tar.gz.

File metadata

  • Download URL: arkos2basic-0.1.0b6.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arkos2basic-0.1.0b6.tar.gz
Algorithm Hash digest
SHA256 bdf17d5c445194fc044b4322dde5ca74c9179b3ba8a0028f72ca091dadd71539
MD5 d113ae46e2cad2d29d9ccc3c68dce6cd
BLAKE2b-256 987215af4e4d846f96abe9827acae2c9238546936f27137223f04bc987711343

See more details on using hashes here.

Provenance

The following attestation bundles were made for arkos2basic-0.1.0b6.tar.gz:

Publisher: publish.yml on fmaida/arkos2basic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arkos2basic-0.1.0b6-py3-none-any.whl.

File metadata

  • Download URL: arkos2basic-0.1.0b6-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arkos2basic-0.1.0b6-py3-none-any.whl
Algorithm Hash digest
SHA256 0c73cc7b6e91580a25516abd31b68e5a5b7e1648efc1f6a876a6c412eee86e24
MD5 6c347e2a3ffcd0c4a3d1cb51604d9163
BLAKE2b-256 4f5edcf9c616339f9f506e24b8961cbd3757e2f0d369d4004d781d6671830814

See more details on using hashes here.

Provenance

The following attestation bundles were made for arkos2basic-0.1.0b6-py3-none-any.whl:

Publisher: publish.yml on fmaida/arkos2basic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page