Music Composer: MUSIK by Memotronic

Discussion about ZX80 / ZX81 Software
Post Reply
David G
Posts: 387
Joined: Thu Jul 17, 2014 7:58 am
Location: 21 North, 156 West

Music Composer: MUSIK by Memotronic

Post by David G »

Great program from 1980s plays music using the cassette port

MUSIK by Memotronic (Frank Beer und Wolfgang Labus)
* works on stock ZX81
* requires no additional sound hardware, listen via the cassette wire
* comes with 13 tunes included
* can create & save more tunes

musiccomposer.p
MUSIK (original in Deutsch)
(5.45 KiB) Downloaded 127 times
P2A-musiccomposer.p
MUSIC (translated into English)
(5.81 KiB) Downloaded 136 times

Tunes included are:
1. BEETHOVEN (Ode to Joy)
2. JINGLE BELLS
3. YANKEE DOODLE
4. GOOD NIGHT LADIES
5. OH SUSANNA
6. CLEMENTINE
7. AULD LANG SYNE
8. NATIONALHYMNE
9. PETER UND DER WOLF
10. ZYLINDERHUT
11. BOLLE
12. HERRN PASTORN SIN KAUH
13. MAURICE

It works by toggling the output line on/off using machine code. So rather than DAC sound, it is simple square wave sound -- how early home computers worked such as IBM PC

P2A-musiccomposer.asm
BASIC/assembly file for ZX81-IDE
(9.18 KiB) Downloaded 135 times
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Music Composer: MUSIK by Memotronic

Post by XavSnap »

Tested on EO:
susanna_wav.zip
(15.91 KiB) Downloaded 139 times
Have Fun.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
XavSnap
Posts: 1940
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Music Composer: MUSIK by Memotronic

Post by XavSnap »

Xavier ...on the Facebook groupe : "Zx81 France"(fr)
David G
Posts: 387
Joined: Thu Jul 17, 2014 7:58 am
Location: 21 North, 156 West

Re: Music Composer: MUSIK by Memotronic

Post by David G »

Nice. I'll have to review those ("Programme de Musique sur TV" & "De la musique sur votre ZX")


MUSIK is fun, but has no EDIT mode. The three options are
1 ) PLAY A TUNE
2 ) ENTER A PIECE
3 ) SAVE THE PROGRAM


I thought it would be most useful to start with included melody and Edit it. For example: Add notes, changes, notes, make the tune longer, etc.

MUSIC COMPOSER 2 beta version
So i have been working on "music composer 2"... with new feature EDIT
1 ) PLAY A TUNE
2 ) EDIT A PIECE
3 ) SAVE THE PROGRAM

EDIT
* Displays the notes already entered for any of the tunes (pieces)
* type over any note with a new note
* press + to raise the note at the cursor
* press - to lower the note
* press N to play the note
* press T to play the tune from the current cursor to the end (press SPACE to end playback)
* press NEWLINE to end the edit session and save the tune

The last is where I having problems, it works but not quite correctly. Try it out if you like and give suggestions here

Musiccomposer_2_16K_ALPHA.p
ALPHA preview version
(8.25 KiB) Downloaded 126 times
Musiccomposer_2_16K_ALPHA.ASM
BASIC/Assembler source for ZX-IDE
(32.62 KiB) Downloaded 131 times

The other feature I was thinking to add is a tool to insert Tune from a text file. I was thinking of a command line tool for Linux & Windows like this:

Code: Select all

ADDMUSIC ode_to_joy.txt musik.p
The tune file would look like this:
beethoven.txt

Code: Select all

3636332D2D33363D44443D36363DBD3636332D2D33363D44443D363D44C4
Another tool would be a MIDI_file-to-Tune converter tool, where you would select the melody track and have it output the Hex codes in MUSIK tune format

It all seems fairly simple but ever since my accident I struggle to complete. I share above. My machine code routine to EDIT a string variable seems to work correctly, but having problems merging it into the BASIC of MUSIK. There is M$ which contains all tunes in one long string, and P(18) which defines start and end positions for each tune
Post Reply