arkos2basic 0.1.0b1__tar.gz → 0.1.0b3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/PKG-INFO +44 -1
- arkos2basic-0.1.0b3/README.md +58 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/pyproject.toml +1 -1
- arkos2basic-0.1.0b1/README.md +0 -15
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/__init__.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/arkostracker/__init__.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/arkostracker/baseimport.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/arkostracker/cell.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/arkostracker/song.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/arkostracker/txtimport.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/cli.py +0 -0
- {arkos2basic-0.1.0b1 → arkos2basic-0.1.0b3}/src/arkos2basic/cvbasic.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: arkos2basic
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0b3
|
|
4
4
|
Summary: 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.
|
|
5
5
|
Author: Francesco Maida
|
|
6
6
|
Author-email: francesco.maida@gmail.com
|
|
@@ -24,7 +24,50 @@ pipx install arkos2basic
|
|
|
24
24
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
|
+
Export your song from Arkos Tracker as a TXT file, then launch this command:
|
|
28
|
+
|
|
27
29
|
```
|
|
28
30
|
arkos2basic <input-file> <output-file>
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
If your song has a loop, the app will provide you with two files:
|
|
34
|
+
|
|
35
|
+
- `<output-file-path>/<output-file-stem>.bas`
|
|
36
|
+
- `<output-file-path>/<output-file-stem>_loop.bas`
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
Let's imagine you have a TXT source file named `mymusic.txt` in the same folder of your CVBasic project.
|
|
41
|
+
|
|
42
|
+
Convert the source file with the command:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
arkos2basic mymusic.txt mymusic.bas
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
If the song has a loop, arkos2basic will provide you these two files:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
mymusic.bas
|
|
52
|
+
mymusic_loop.bas
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
To test if the music has been properly converted, create a `test_music.bas` file with this code:
|
|
56
|
+
|
|
57
|
+
```basic
|
|
58
|
+
DIM loop_on
|
|
59
|
+
loop_on = 0
|
|
60
|
+
PLAY FULL
|
|
61
|
+
PLAY mymusic
|
|
62
|
+
DO
|
|
63
|
+
WAIT
|
|
64
|
+
IF MUSIC.PLAYING = 0 AND loop_on = 0 THEN
|
|
65
|
+
loop_on = 1
|
|
66
|
+
PLAY mymusic_loop
|
|
67
|
+
END IF
|
|
68
|
+
LOOP WHILE 1
|
|
69
|
+
|
|
70
|
+
INCLUDE mymusic.bas
|
|
71
|
+
INCLUDE mymusic_loop.bas
|
|
72
|
+
```
|
|
73
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Arkos2Basic
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
pipx install arkos2basic
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Export your song from Arkos Tracker as a TXT file, then launch this command:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
arkos2basic <input-file> <output-file>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
If your song has a loop, the app will provide you with two files:
|
|
20
|
+
|
|
21
|
+
- `<output-file-path>/<output-file-stem>.bas`
|
|
22
|
+
- `<output-file-path>/<output-file-stem>_loop.bas`
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
Let's imagine you have a TXT source file named `mymusic.txt` in the same folder of your CVBasic project.
|
|
27
|
+
|
|
28
|
+
Convert the source file with the command:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
arkos2basic mymusic.txt mymusic.bas
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
If the song has a loop, arkos2basic will provide you these two files:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
mymusic.bas
|
|
38
|
+
mymusic_loop.bas
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
To test if the music has been properly converted, create a `test_music.bas` file with this code:
|
|
42
|
+
|
|
43
|
+
```basic
|
|
44
|
+
DIM loop_on
|
|
45
|
+
loop_on = 0
|
|
46
|
+
PLAY FULL
|
|
47
|
+
PLAY mymusic
|
|
48
|
+
DO
|
|
49
|
+
WAIT
|
|
50
|
+
IF MUSIC.PLAYING = 0 AND loop_on = 0 THEN
|
|
51
|
+
loop_on = 1
|
|
52
|
+
PLAY mymusic_loop
|
|
53
|
+
END IF
|
|
54
|
+
LOOP WHILE 1
|
|
55
|
+
|
|
56
|
+
INCLUDE mymusic.bas
|
|
57
|
+
INCLUDE mymusic_loop.bas
|
|
58
|
+
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "arkos2basic"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.0b3"
|
|
4
4
|
description = "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."
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Francesco Maida",email = "francesco.maida@gmail.com"}
|
arkos2basic-0.1.0b1/README.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Arkos2Basic
|
|
2
|
-
|
|
3
|
-
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.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
pipx install arkos2basic
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
arkos2basic <input-file> <output-file>
|
|
15
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|