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.12 or better.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arkos2basic-0.1.0b4.tar.gz.
File metadata
- Download URL: arkos2basic-0.1.0b4.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaf9fcc85fb37d92bb0545f542f3003e233f37d3429a5b33ea84cced84c2af1b
|
|
| MD5 |
a6a55496386a8f1657818e751cc61481
|
|
| BLAKE2b-256 |
fd68e8ef560d50924c06e2145774f872681ca59b5e6b6022b696653db96f817d
|
Provenance
The following attestation bundles were made for arkos2basic-0.1.0b4.tar.gz:
Publisher:
publish.yml on fmaida/arkos2basic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arkos2basic-0.1.0b4.tar.gz -
Subject digest:
eaf9fcc85fb37d92bb0545f542f3003e233f37d3429a5b33ea84cced84c2af1b - Sigstore transparency entry: 1744133921
- Sigstore integration time:
-
Permalink:
fmaida/arkos2basic@4a770391d90efe243b8114420c7893a1bd4e09aa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fmaida
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4a770391d90efe243b8114420c7893a1bd4e09aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file arkos2basic-0.1.0b4-py3-none-any.whl.
File metadata
- Download URL: arkos2basic-0.1.0b4-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3c6a7aee396e024ac4cc1db860ef42eac28446ed7cfcfeee5fe4cc0e8f2449a
|
|
| MD5 |
347ca383730be4a6d1dba343c859ee5e
|
|
| BLAKE2b-256 |
c065a99c36d2fd5ba3fa0010866e5fcb1b26d8d8f45c2a36c20e34994c3fd79e
|
Provenance
The following attestation bundles were made for arkos2basic-0.1.0b4-py3-none-any.whl:
Publisher:
publish.yml on fmaida/arkos2basic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arkos2basic-0.1.0b4-py3-none-any.whl -
Subject digest:
d3c6a7aee396e024ac4cc1db860ef42eac28446ed7cfcfeee5fe4cc0e8f2449a - Sigstore transparency entry: 1744133996
- Sigstore integration time:
-
Permalink:
fmaida/arkos2basic@4a770391d90efe243b8114420c7893a1bd4e09aa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fmaida
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4a770391d90efe243b8114420c7893a1bd4e09aa -
Trigger Event:
push
-
Statement type: