Skip to content

Instantly share code, notes, and snippets.

@hburgund
Created January 24, 2015 21:53
Show Gist options
  • Save hburgund/3ec0452e3ef5d459ae93 to your computer and use it in GitHub Desktop.
Save hburgund/3ec0452e3ef5d459ae93 to your computer and use it in GitHub Desktop.
sample RW server response to get_config APIv1 call
[
{
"device": {
"device_id": "485e6c7f-ca92-4299-88df-edabeb944db7"
}
},
{
"notifications": {
"startup_message": ""
}
},
{
"session": {
"session_id": 18528
}
},
{
"project": {
"audio_format": "mp3",
"audio_stream_bitrate": "128",
"demo_stream_enabled": false,
"demo_stream_message": "This is a test demo stream message!",
"demo_stream_url": "http://scapesaudio.dyndns.org:8000/scapes1.mp3",
"files_url": "http://soundsky.org/app/ss.zip",
"files_version": "15",
"geo_listen_enabled": true,
"geo_speak_enabled": true,
"latitude": -43.529945,
"legal_agreement": "I agree that any recordings I make using this app will become a part of the \"Sound Sky\" project and can be used by Halsey Burgund and The House of Wonder for any related purpose. I also agree that the recordings can be archived by CEISMIC. Thanks and enjoy!",
"listen_enabled": true,
"listen_questions_dynamic": false,
"longitude": 172.641002,
"max_recording_length": 45,
"out_of_range_message": "Sound Sky is a site-specific piece designed for Christchurch, New Zealand. Since you are not there, you will hear a sample rather than experiencing the full piece. \r\n\r\nPlease feel free to contribute your comments regardless as they can still be sited and incorporated into the piece.\r\n\r\nThanks and enjoy!",
"project_id": 15,
"project_name": "Sound Sky",
"recording_radius": 15,
"reset_tag_defaults_on_startup": true,
"sharing_message": "Check out this awesome recording I made!",
"sharing_url": "http://soundsky.org/s/s.html?eid=[id]",
"speak_enabled": true,
"speak_questions_dynamic": false
}
},
{
"server": {
"version": "2.0"
}
},
{
"speakers": [
{
"activeyn": true,
"backupuri": "",
"code": "PRR",
"id": 34,
"latitude": 42.49776459,
"longitude": -71.27923584,
"maxdistance": 1000,
"maxvolume": 0.5,
"mindistance": 100,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/r2cA1.mp3"
},
{
"activeyn": true,
"backupuri": "",
"code": "AUR1",
"id": 35,
"latitude": -43.530594,
"longitude": 172.640571,
"maxdistance": 760,
"maxvolume": 0.5,
"mindistance": 290,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/mg1.mp3"
},
{
"activeyn": true,
"backupuri": "",
"code": "PP1",
"id": 36,
"latitude": -43.525741,
"longitude": 172.632543,
"maxdistance": 673,
"maxvolume": 0.5,
"mindistance": 200,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/mg4.mp3"
},
{
"activeyn": false,
"backupuri": "",
"code": "ERIN",
"id": 37,
"latitude": -43.519832,
"longitude": 172.674308,
"maxdistance": 1088,
"maxvolume": 0.5,
"mindistance": 200,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/r2cB1.mp3"
},
{
"activeyn": false,
"backupuri": "",
"code": "AUT",
"id": 38,
"latitude": -36.854056,
"longitude": 174.766137,
"maxdistance": 253,
"maxvolume": 0.5,
"mindistance": 500,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/r2cB1.mp3"
},
{
"activeyn": true,
"backupuri": "",
"code": "LYT",
"id": 42,
"latitude": -43.6028475,
"longitude": 172.7209965,
"maxdistance": 807,
"maxvolume": 0.5,
"mindistance": 418,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/r2cA3.mp3"
},
{
"activeyn": false,
"backupuri": "",
"code": "DUNE",
"id": 43,
"latitude": -45.8665,
"longitude": 170.5182,
"maxdistance": 1548,
"maxvolume": 0.5,
"mindistance": 418,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/r2cA3.mp3"
},
{
"activeyn": false,
"backupuri": "",
"code": "WLNGTN",
"id": 45,
"latitude": -41.301342,
"longitude": 174.775481,
"maxdistance": 1030,
"maxvolume": 0.5,
"mindistance": 551,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/r2cA1.mp3"
},
{
"activeyn": true,
"backupuri": "",
"code": "VOICE1",
"id": 46,
"latitude": -43.538403,
"longitude": 172.646365,
"maxdistance": 384,
"maxvolume": 0.5,
"mindistance": 121,
"minvolume": 0.0,
"project_id": 15,
"uri": "http://scapesaudio.dyndns.org:8000/ss_voices.mp3"
}
]
},
{
"audiotracks": [
{
"id": 18,
"maxdeadair": 10000000000.0,
"maxduration": 80000000000.0,
"maxfadeintime": 3000000000.0,
"maxfadeouttime": 5000000000.0,
"maxpanduration": 15000000000.0,
"maxpanpos": 0.5,
"maxvolume": 0.5,
"mindeadair": 3000000000.0,
"minduration": 30000000000.0,
"minfadeintime": 1000000000.0,
"minfadeouttime": 2000000000.0,
"minpanduration": 10000000000.0,
"minpanpos": -0.5,
"minvolume": 0.5,
"project_id": 15,
"repeatrecordings": false
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment