turntable/turntable.sample.json

46 lines
1.1 KiB
JSON

{
"debug": false,
"audio": {
"device": "hw:1,0",
"output_device": "hw:0,0",
"framerate": 48000,
"channels": 2,
"period_size": 4096
},
"turntable": {
"silence_threshold": 100,
"check_interval": 0.5,
"sample_seconds": 30,
"fingerprint_store_path": "/tmp/fingerprint.wav",
"fingerprint_store_seconds": 30,
"fingerprint_identify_seconds": 5,
"fingerprint_delay": 5
},
"dejavu": {
"database": {
"host": "localhost",
"user": "dejavu",
"password": "dejavu",
"database": "dejavu"
},
"database_type": "postgres"
},
"icecast": {
"enabled": false,
"host": "localhost",
"port": 8000,
"mountpoint": "turntable.mp3",
"admin_user": "admin",
"admin_password": "hackme"
},
"gui": {
"width": 1280,
"height": 720,
"bars": [
[ 0, [ 0, 255, 0]],
[50, [255, 255, 0]],
[75, [255, 0, 0]]
],
"lines": [100, 100, 100]
}
}