Debian Codegraph @

android/app/jni/papers/clipboard-format.md

raw
1 # clipboard format
2
3 when copying pattern data from Furnace, it's stored in the clipboard as plain text.
4
5 ```
6 org.tildearrow.furnace - Pattern Data (144)
7 ```
8
9 this top line of text is always the same except for the number in parentheses, which is the internal format version. for example, 0.6.8.1 is `228`.
10
11 the second line is a number between 0 and 18 (decimal) which indicates which column the clip starts from.
12 - `0`: note.
13 - `1`: instrument.
14 - `2`: volume.
15 - `3`: effect 1 type.
16 - `4`: effect 1 value. effect type is always included in the clip, even if skipped over.
17 - `5`: effect 2 type.
18 - `6`: effect 2 value. effect type is always included in the clip, even if skipped over.
19 - `7`: effect 3 type...
20 - ...and so on.
21
22 examples of the starting column:
23
24 ```
25 org.tildearrow.furnace - Pattern Data (144)
26 0
27 D-6007F08080706|...........|
28 ...............|...........|
29 ...............|A#500..080F|
30 ...............|...........|
31 ```
32
33 ```
34 org.tildearrow.furnace - Pattern Data (144)
35 1
36 007F08080706|...........|
37 ............|...........|
38 ............|A#500..080F|
39 ............|...........|
40 ```
41
42 ```
43 org.tildearrow.furnace - Pattern Data (144)
44 2
45 7F08080706|...........|
46 ..........|...........|
47 ..........|A#500..080F|
48 ..........|...........|
49 ```
50
51 ```
52 org.tildearrow.furnace - Pattern Data (144)
53 3
54 08080706|...........|
55 ........|...........|
56 ........|A#500..080F|
57 ........|...........|
58 ```
59
60 ```
61 org.tildearrow.furnace - Pattern Data (144)
62 4
63 08080706|...........|
64 ........|...........|
65 ........|A#500..080F|
66 ........|...........|
67 ```
68
69 ```
70 org.tildearrow.furnace - Pattern Data (144)
71 5
72 0706|...........|
73 ....|...........|
74 ....|A#500..080F|
75 ....|...........|
76 ```
77
78 ```
79 org.tildearrow.furnace - Pattern Data (144)
80 6
81 0706|...........|
82 ....|...........|
83 ....|A#500..080F|
84 ....|...........|
85 ```
86
87 ```
88 org.tildearrow.furnace - Pattern Data (144)
89 0
90 ...........|
91 ...........|
92 A#500..080F|
93 ...........|
94 ```
95
96 each line following the column number is verbatim from the pattern view with channels separated by `|`. each line also ends in `|`.
97
98 notes use the default settings for note display (no German notation), including note off `OFF`, note release `===`, and macro release `REL`.