Skip to content

pineapple-tracker/pineapple-tracker

Repository files navigation

 _____                        _
 | + _)_      ___      ______| |___
 |   /(_) ___| +_|____| - >- > | +_|
 /  | | ||   \  \  -  |_ |  |  |  \
/___| |_||_|__\__\_____|_|__|__|\__\

++o0-0o++o0-0o++o0-0o++o0-0o++o0-0o++o0-0o++o0-0o++o0-0o++o0-0o++o0-0o+o0-0o+

Most of this tracker was written by lft to run on an AVR. Here is his page for
the project: http://www.linusakesson.net/hardware/chiptune.php

We have emailed him regarding us using the code and he replied saying he does
not mind as long as we give him credit. For more information regarding licensing
see the COPYING files.

If you are used to vi you will be quite comfortable. Beware that we have not
implemented some features (like undo!) that may seem second nature to you,
and living without them might be hard for a while. We also have a number of
keys that aren't in vi but we have tried to make them vi-like enough to be
included in pineapple tracker.

Look at our SPEC file for a command reference. Not everything is implemented,
yet... it's just a specification!

To use pineapple-tracker, you need sdl installed. `brew install sdl` will work.

Then, run make:
```
~/src/pineapple-tracker $ make
~/src/pineapple-tracker $ ./pt songs/josh.song
```

And press Enter to play the loaded song.


below is the original README:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


Hi!

This is the tracker I used in the hardware chiptune project
(http://www.linusakesson.net/hardware/chiptune.php). It was never intended to
be used by anyone other than me, so it's not exactly user friendly.

This is a quick documentation attempt.

You have to give the tracker a file name when you're starting it. So type
"./tracker test2.song" to start working on the existing song, or type e.g.
"./tracker my_song.song" to start from scratch. Although the GUI hints that you
can later press ^F to change the file name, this was never implemented.

Once you've started the tracker, you'll see that the screen is divided into
three sections: song, track and instrument. Use TAB to move between these
sections. Alternatively, if you're in the song section and the cursor is on a
track identifier, you can press ` (backquote) to start editing this track.

Use { and } to change the current track, and [ and ] to change the current
instrument. Use enter to start playing the current track (in the track section)
or the song (in the song section). Use space to stop playing or to enter edit
mode.

Use < and > to change the current octave. The main part of the keyboard is used
to enter notes. The keyboard layout is adapted for a US qwerty keymap. You can
edit gui.c to change this to fit a Dvorak keymap instead.

Press ^E (control-E) to exit without saving. Press ^W ("write") to save. Press
# to optimize the song (remove unused tracks, move tracks together) and % to
export the song into a packed format. (% will always export to two files called
"exported.s" and "exported.h" in the current working directory).

In the song and instrument editors, use capital A, I and D to add, insert and
delete lines. In the track and instrument editors, use capital C and V for copy
and paste.

A line in the instrument editor is either a command, a relative note or an
absolute note. Relative notes are indicated by + in the command column,
absolute notes by =. Commands in the instrument editor are the same as commands
in the track editor.

The available commands are:

	dxx Set duty cycle (pulse width) to xx.
	fxx Set volume fade speed to xx. So, fff is a slow fadeout, f01 is a slow fadein.
	ixx Set channel inertia. A high inertia causes automatic slides between notes. Default 0.
	@xx jump to instrument line xx. Used to create arpeggio loops.
		Warning: The loop must contain a delay element (t command), otherwise you'll crash the software.
	sxx Set Slide. So, lff is a slow slide down, l01 is a slow slide up.
	mxx Set pulse width modulation rate to xx.
	txx Wait xx time units.
	vxx Set channel volume to xx.
	wxx Set waveform. 00 = triangle, 01 = saw, 02 = pulse, 03 = noise.
	~xy Set vibrato. x = depth, y = rate.

Investigate test2.song, and play around, and you'll probably get the hang of
things! Remember that the packed format only supports one command per track
line (see homepage).

Good luck!

Linus (lft^kryo)

About

A console-based sequencer with a vi-style UI

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
COPYING.hively-replay

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages