Nat Persaud said:Right now Airtime can record from the line input. It can also schedule playback to the line output. Those capabilities are present and fully implemented. However, it seems like an extra check has been put in place to not allow both to occur at the same time. The manual mentions that you cannot do both with no explanation as to why. Is there some technical problem with doing both?
Albert FR said:I'm totally agree with you @daniel :D
Point 2 is the solution for everybody
Nat Persaud said:@hoerich, why do you want the line input to be recorded? Don't you want Airtime's output to be recorded instead?
Albert, thanks for your response. The Tivo idea clarifies a lot. PleaseHi Nat, in the original recorder design, Airtime was more like a Tivo, being used to time-shift shows. It would use an aux send from the mixer to capture live content, and play it out to an aux return as a repeat show when the studio was unstaffed. There was no simultaneous capture and playout, so there were no issues with full duplex use of soundcards.
I'm not sure what you mean here. Can you comment on the question of pre or post mixer and which you are assuming? I think this is a critical point.Daniel James said:
In the proposed redesign of the recorder, we will probably need a recommended list of audio hardware if we rely on full duplex use. Liquidsoap can do full-duplex without a buffer (see the last example here: http://savonet.sourceforge.net/doc-svn/cookbook.html) but of course this is not strictly necessary if you have a mixer - you would just send the live audio direct to the transmitter, without latency.
Agreed.Daniel James said:
Even so, I would suggest that in an FM scenario, the recorder uses the stream output, rather than the ALSA device. This is because Liquidsoap has already done the CPU work of compressing the stream data, so we don't need to do that a second time in the recorder program. Even if there is no Internet, Airtime uses Icecast for browser-based monitoring (the Listen button), so the whole system could run on localhost if necessary.
Well I think it's fine to record what the audience heard even if it cut out, but you have a solution so good. It is vitally important that the user need only define the schedule once, not separately for record and playback.Daniel James said:
Lately I have been experimenting with icecream, a simple Perl script that takes an output stream and saves it as files, based on various parameters including time in minutes: http://packages.debian.org/en/stable/amd64/net/icecream
Possibly we could reimplement the features of icecream that we need in Python, or just use it directly. The implication is that we need a fallback at the Icecast level to make sure the stream does not ever die (killing the recorder process), e.g. when a Liquidsoap parameter is changed and Liquidsoap is restarted. Happily, that would also help ensure that the listening public does not get disconnected either, so it's a win-win.
It looks like you're new here. If you want to get involved, click one of these buttons!