Debian Codegraph @

docs/readme_unix

raw
1 README for MilkyTracker SDL Versions
2 ====================================
3
4
5 This file contains information that is specific to the SDL versions of
6 MilkyTracker. Please read this file in addition to MilkyTracker.html
7
8 It is advisable that you run MilkyTracker from the command line (at least the
9 first time you run it) as it will output some messages informing you of what
10 audio driver it is using as well as any errors that occurred.
11
12
13 MIDI (Alsa only)
14 ================
15
16 If available, MilkyTracker will detect Alsa and configure itself as a Midi
17 receiver. You can then link MilkyTracker up to a Midi sender in the normal
18 manner. You can enable midi velocity recording with the following command line
19 argument:
20
21 $ ./milkytracker -recvelocity
22
23 Midi velocity recording only works in live record mode (pattern is playing).
24 Midi support is currently only available on the Linux versions.
25
26
27 Audio Driver
28 ============
29
30 SDL *should* detect the best available audio driver on your system, however if
31 this isn't the case you can set the environment variable 'SDL_AUDIODRIVER' to
32 configure SDL to use the driver of your choice. Some known values to try are
33 'alsa', 'dsp', 'arts', 'esd'. For example:
34
35 $ SDL_AUDIODRIVER=alsa ./milkytracker
36
37 Note that due to weaknesses in some audio configurations we have had to force
38 MilkyTracker to use 2^N audio buffer sizes. This option can be disabled in the
39 config menu and this is recommended if your audio driver will accept it.
40
41 * New for version v0.90.80 *
42
43 Two new audio drivers have been added; ALSA and JACK. JACK by default does not
44 attempt to guess which output device to connect to, the connection should be
45 made manually.
46
47
48 Video Driver
49 ============
50
51 MilkyTracker should auto-detect your screen mode, however if it doesn't there
52 are the following command line options:
53
54 -bpp N Set N to either 16 or 24
55 -swap Swaps the red and blue values in 24 BPP mode
56 -orientation Valid arguments are NORMAL|ROTATE90CCW|ROTATE90CW
57
58 The screen size can be selected in the Config->Layout menu. Fullscreen mode can
59 be toggled using ALT+Return. Note that these arguments are likely to be removed
60 in the future - drop us a note if you actually need to use them.
61
62 For very minimal platforms, make sure to run milkytracker in non-opengl mode:
63
64 $ NO_OPENGL=1 ./milkytracker
65
66 This will disable SDL2 from automatically switching to OpenGL.
67 SDL2 is quite liberal in assuming that opengl is great idea.
68 This can lead to immediate crashes (for example when only libGL is installed, but not GLX).
69
70
71 Crash Handler
72 =============
73
74 Hopefully you should never need to know this, but just in-case the unthinkable
75 happens MilkyTracker has a crash handler which should intercept most crashes
76 (but not freezes!). If this does happen, a message will be outputted to stderr
77 and MilkyTracker will attempt to save a backup of the song currently loaded.
78 This will be named BACKUPxx.XM and saved in your home directory (where xx is a
79 sequential number in the range 00 to 99).
80
81 If MilkyTracker should crash, please attempt to reproduce the crash and then
82 post details on the bug forum so we can attempt to fix whatever is causing it.
83
84 Enjoy!
85
86
87 - Christopher O'Neill (Deltafire) 19/8/2006