Skip to content

오디오 어노테이터 스키마

Raw

오디오 어노테이터 전용 스키마

Section titled “오디오 어노테이터 전용 스키마”
Tool Code설명
selection_tool기본 선택 도구
segmentation오디오 구간(Region) 생성 도구
타입설명
durationnumber오디오 길이(초)
sampleRatenumber샘플레이트(Hz, 예: 44100)
channelsnumber채널 수(모노: 1, 스테레오: 2)
formatstring오디오 포맷(예: wav, mp3)

필요 시 프로젝트별 속성을 자유롭게 추가합니다.

오디오 어노테이터에서 모든 어노테이션 객체는 공통 AnnotationBase를 상속합니다.

필드타입설명
idstring어노테이션 고유 ID
toolstring항상 "segmentation"
isLockedboolean편집 잠금 여부
isVisibleboolean화면 표시 여부
classificationClassification | null분류 정보

segmentation:

{
  "id": "abc123",
  "section": {
    "start": 0.0,
    "end": 2.85
  }
}
필드타입설명
idstring어노테이션 고유 ID
sectionobject오디오 구간 정보
section.startnumber시작 시간(초 단위)
section.endnumber종료 시간(초 단위)
{
  "assignmentId": 7001,
  "extra": {
    "audio_1": {
      "duration": 45.5,
      "sampleRate": 44100,
      "channels": 2,
      "format": "wav"
    }
  },
  "annotations": {
    "audio_1": [
      {
        "id": "abc123",
        "tool": "segmentation",
        "isLocked": false,
        "isVisible": true,
        "classification": {
          "class": "speech",
          "gender": "F",
          "region": "서울",
          "quality": "5",
          "generation": "20대",
          "emotion": "neutral"
        }
      },
      {
        "id": "def456",
        "tool": "segmentation",
        "isLocked": false,
        "isVisible": true,
        "classification": {
          "class": "speech",
          "gender": "M",
          "region": "서울",
          "quality": "4",
          "generation": "30대",
          "emotion": "positive"
        }
      },
      {
        "id": "ghi789",
        "tool": "segmentation",
        "isLocked": false,
        "isVisible": true,
        "classification": {
          "class": "background_music"
        }
      }
    ]
  },
  "annotationsData": {
    "audio_1": [
      {
        "id": "abc123",
        "section": {
          "start": 0.0,
          "end": 2.85
        }
      },
      {
        "id": "def456",
        "section": {
          "start": 2.85,
          "end": 5.92
        }
      },
      {
        "id": "ghi789",
        "section": {
          "start": 12.0,
          "end": 18.5
        }
      }
    ]
  },
  "annotationGroups": {
    "audio_1": [
      {
        "id": "grp001",
        "tool": "annotationGroup",
        "isLocked": false,
        "annotationList": [
          { "children": [], "annotationId": "abc123" },
          { "children": [], "annotationId": "def456" }
        ],
        "classification": {
          "class": "dialogue",
          "scene": "outdoor"
        }
      }
    ]
  },
  "relations": {
    "audio_1": [
      {
        "id": "rel001",
        "tool": "relation",
        "isLocked": false,
        "isVisible": true,
        "annotationId": "abc123",
        "targetAnnotationId": "def456",
        "classification": {
          "class": "conversation"
        }
      }
    ]
  }
}