요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/hid/drivers/prodikeys/.../channel
2
Date: April 2010
3
KernelVersion: 2.6.34
4
Contact: Don Prince <[email protected]>
5
Description:
6
Allows control (via software) the midi channel to which
7
that the pc-midi keyboard will output.midi data.
8
Range: 0..15
9
Type: Read/write
10
What: /sys/bus/hid/drivers/prodikeys/.../sustain
11
Date: April 2010
12
KernelVersion: 2.6.34
13
Contact: Don Prince <[email protected]>
14
Description:
15
Allows control (via software) the sustain duration of a
16
note held by the pc-midi driver.
17
0 means sustain mode is disabled.
18
Range: 0..5000 (milliseconds)
19
Type: Read/write
20
What: /sys/bus/hid/drivers/prodikeys/.../octave
21
Date: April 2010
22
KernelVersion: 2.6.34
23
Contact: Don Prince <[email protected]>
24
Description:
25
Controls the octave shift modifier in the pc-midi driver.
26
The octave can be shifted via software up/down 2 octaves.
27
0 means the no ocatve shift.
28
Range: -2..2 (minus 2 to plus 2)
29
Type: Read/Write
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
PC-MIDI output channel
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/hid/drivers/prodikeys/.../channel |
| Date | 2010년 4월 |
| KernelVersion | 2.6.34 |
| Contact | Don Prince <[email protected]> |
| Description | PC-MIDI keyboard가 MIDI data를 output할 MIDI channel을 software로 제어합니다. Read/write type이며 범위는 0..15입니다. |
AttributeRangeZero
channel0..15MIDI channel 0
sustain0..5000 msSustain disabled
octave-2..2No octave shift
세 read/write controls의 범위와 zero 의미를 정리했습니다.
PC-MIDI sustain duration
10-19| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/hid/drivers/prodikeys/.../sustain |
| Date | 2010년 4월 |
| KernelVersion | 2.6.34 |
| Contact | Don Prince <[email protected]> |
| Description | PC-MIDI driver가 hold한 note의 sustain duration을 software로 제어합니다. 0은 sustain mode disabled이며 범위는 0..5000 milliseconds, type은 read/write입니다. |
PC-MIDI octave shift
20-29| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/hid/drivers/prodikeys/.../octave |
| Date | 2010년 4월 |
| KernelVersion | 2.6.34 |
| Contact | Don Prince <[email protected]> |
| Description | PC-MIDI driver의 octave shift modifier를 제어합니다. Software로 octave를 위나 아래로 2 octaves 이동할 수 있습니다. 0은 no octave shift이고 범위는 -2..2, type은 read/write입니다. |
MIDI channel, sustain and octave
sysfs-driver-hid-prodikeys:1-29Channel은 0-15, sustain은 0-5000ms, octave shift는 -2부터 +2까지이며 sustain 0과 octave 0은 각각 disabled와 no shift입니다.