Compare commits
8 Commits
63fb9cbe0e
...
cb963b0986
Author | SHA1 | Date |
---|---|---|
|
cb963b0986 | |
|
777a5522ad | |
|
733f44302b | |
|
e5229b09a5 | |
|
daab6fe522 | |
|
8488145e9d | |
|
3677a36f07 | |
|
89fbe54279 |
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,19 @@
|
|||
# NDI + Live Mix Ardour project
|
||||
|
||||
- Audio interface: Steinberg UR-44
|
||||
|
||||
## Physical connections
|
||||
|
||||
### Inputs
|
||||
|
||||
- Input Front 1: *unused*
|
||||
- Input Front 2: RODE NT-USB *via 3.5mm* - goes to **Local Mic**
|
||||
- Input Front 3: RODE NT1 5th gen *via XLR, +48V* - goes to **Local Mic**
|
||||
- Input Front 4: *unused*
|
||||
- Input Back 1: Denon Prime 4 L - goes to **DJ Mix**
|
||||
- Input Back 2: Denon Prime 4 R - goes to **DJ Mix**
|
||||
|
||||
### Outputs
|
||||
|
||||
- Output Front Headphones 1: **Mix 1** - for previewing processed output
|
||||
- Output Front Headphones 2: **Mix 2** - for previewing unprocessed output
|
|
@ -192,7 +192,7 @@ if null.defined(streaminginternet_username) and null.defined(streaminginternet_p
|
|||
name=null.get(stream_name),
|
||||
description=null.get(stream_description),
|
||||
password=null.get(streaminginternet_password),
|
||||
start=true,
|
||||
start=false,
|
||||
%ogg(%flac),
|
||||
a,
|
||||
))
|
||||
|
|
|
@ -30,15 +30,27 @@ def setup_harbor_stream_api(s) =
|
|||
], data=json.stringify([]))
|
||||
end
|
||||
|
||||
def normalize_float(f) =
|
||||
if float.is_infinite(f) or float.is_nan(f) then
|
||||
0.
|
||||
else
|
||||
f
|
||||
end
|
||||
end
|
||||
|
||||
def on_info(_) =
|
||||
data = [
|
||||
("id", s.id()),
|
||||
("last_metadata", json.stringify(s.last_metadata())),
|
||||
("is_up", json.stringify(s.is_up())),
|
||||
("is_started", json.stringify(s.is_started())),
|
||||
("is_ready", json.stringify(s.is_ready())),
|
||||
("is_active", json.stringify(s.is_active())),
|
||||
]
|
||||
data = {
|
||||
duration = normalize_float(s.duration()),
|
||||
elapsed = normalize_float(s.elapsed()),
|
||||
id = s.id(),
|
||||
is_active = s.is_active(),
|
||||
is_ready = s.is_ready(),
|
||||
is_started = s.is_started(),
|
||||
is_up = s.is_up(),
|
||||
last_metadata = s.last_metadata(),
|
||||
remaining = normalize_float(s.remaining()),
|
||||
time = normalize_float(s.time()),
|
||||
}
|
||||
http.response(status_code=200, headers=[
|
||||
("content-type","application/json"),
|
||||
], data=json.stringify(data))
|
||||
|
|
Loading…
Reference in New Issue