turntable/turntable.sample.json

47 lines
1.1 KiB
JSON
Raw Permalink Normal View History

2020-08-31 04:22:18 +00:00
{
2020-09-02 03:16:09 +00:00
"debug": false,
2020-08-31 04:22:18 +00:00
"audio": {
"device": "hw:1,0",
2020-09-05 16:29:59 +00:00
"output_device": "hw:0,0",
2020-08-31 04:22:18 +00:00
"framerate": 48000,
"channels": 2,
"period_size": 4096
},
2020-09-05 16:29:59 +00:00
"turntable": {
"silence_threshold": 100,
"check_interval": 0.5,
"sample_seconds": 30,
"fingerprint_store_path": "/tmp/fingerprint.wav",
2020-09-05 16:29:59 +00:00
"fingerprint_store_seconds": 30,
"fingerprint_identify_seconds": 5,
"fingerprint_delay": 5
},
2020-08-31 04:22:18 +00:00
"dejavu": {
"database": {
"host": "localhost",
"user": "dejavu",
"password": "dejavu",
"database": "dejavu"
},
"database_type": "postgres"
},
"icecast": {
2020-09-05 16:29:59 +00:00
"enabled": false,
2020-08-31 04:22:18 +00:00
"host": "localhost",
"port": 8000,
"mountpoint": "turntable.mp3",
"admin_user": "admin",
"admin_password": "hackme"
2020-09-05 16:29:59 +00:00
},
"gui": {
"width": 1280,
2020-09-26 05:29:40 +00:00
"height": 720,
"bars": [
[ 0, [ 0, 255, 0]],
[50, [255, 255, 0]],
[75, [255, 0, 0]]
],
"lines": [100, 100, 100]
2020-08-31 04:22:18 +00:00
}
}