-
Notifications
You must be signed in to change notification settings - Fork 1
/
sdfobject-audio_clip.sdf.json
54 lines (54 loc) · 1.99 KB
/
sdfobject-audio_clip.sdf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"info": {
"title": "OMA/IPSO Audio Clip (Object ID 3339)",
"version": "2022-02-22",
"copyright": "Copyright 2019 Open Mobile Alliance.",
"license": "BSD-3-Clause"
},
"namespace": {
"oma": "https://onedm.org/ecosystem/oma"
},
"defaultNamespace": "oma",
"sdfObject": {
"Audio_Clip": {
"label": "Audio Clip",
"description": "This IPSO object should be used for a speaker that plays a pre-recorded audio clip or an audio output that is sent elsewhere. For example, an elevator which announces the floor of the building. A resource is provided to store the clip, a dimmer resource controls the relative sound level of the playback, and a duration resource limits the maximum playback time. After the duration time is reached, any remaining samples in the clip are ignored, and the clip player will be ready to play another clip.",
"sdfProperty": {
"Clip": {
"label": "Clip",
"description": "Audio clip that is playable (e.g., a short audio recording indicating the floor in an elevator).",
"type": "string",
"sdfType": "byte-string"
},
"Level": {
"label": "Level",
"description": "Used to represent a level control such as audio volume.",
"type": "number",
"unit": "/100",
"minimum": 0,
"maximum": 100
},
"Duration": {
"label": "Duration",
"description": "The duration of the sound once trigger.",
"type": "number",
"unit": "s"
},
"Application_Type": {
"label": "Application Type",
"description": "The application type of the sensor or actuator as a string depending on the use case.",
"type": "string"
}
},
"sdfAction": {
"Trigger": {
"label": "Trigger",
"description": "Trigger initiating actuation."
}
},
"sdfRequired": [
"#/sdfObject/Audio_Clip/sdfProperty/Clip"
]
}
}
}