Skip to content

Commit

Permalink
Merge pull request #133 from RADAR-base/passive-audio
Browse files Browse the repository at this point in the history
Passive audio schema
  • Loading branch information
blootsvoets authored Aug 1, 2018
2 parents 64145a8 + 94bfdb1 commit 01d30aa
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions commons/passive/opensmile/open_smile_2_phone_audio.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"namespace": "org.radarcns.passive.opensmile",
"type": "record",
"name": "OpenSmile2PhoneAudio",
"doc": "Audio data collected by a phone audio input and processed using openSMILE 2.x.",
"fields": [
{"name": "time", "type": "double", "doc": "Device time since the Unix Epoch at start of recording (s)."},
{"name": "timeReceived", "type": "double", "doc": "Device time since the Unix Epoch when recording is processed (s)."},
{"name": "config", "type": "string", "doc": "OpenSMILE configuration file."},
{"name": "data", "type": "string", "doc": "Audio features computed by openSMILE recorded in Base64 format."}
]
}
13 changes: 13 additions & 0 deletions specifications/passive/opensmile_audio-1.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#====================================== Android Phone Sensors =====================================#
vendor: OPENSMILE
model: AUDIO
version: 1.0.0
data:
- type: AUDIO
app_provider: org.radarcns.audio.AudioServiceProvider
sample_rate:
interval: 3600
configurable: true
topic: android_processed_audio
value_schema: org.radarcns.passive.opensmile.OpenSmile2PhoneAudio

0 comments on commit 01d30aa

Please sign in to comment.