요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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입니다.