Audio record uses the existing code ‘record.py’. There may be a better way of recording audio given the evolving audio stack in Raspbian Jessie, but this will do for now. The code sets a frequency and mode on the radio using entries in a config file and then saves that as a file with a new name every hour if I remember correctly. It might seem to have an over complicated state machine as there were requirements for recording the first 5 minutes of every hour only when it was active, or another option was to record, and save to a file only if the transmission was longer than 30 seconds.
Anyway, the requirement for now will be to have another option on top of scan frequencies/band to record audio. The parameters will be a single frequency, a level above which you start recording and a mode. It would be nice if there was a red ‘light’ to indicate recording.
Audio record uses the existing code ‘record.py’. There may be a better way of recording audio given the evolving audio stack in Raspbian Jessie, but this will do for now. The code sets a frequency and mode on the radio using entries in a config file and then saves that as a file with a new name every hour if I remember correctly. It might seem to have an over complicated state machine as there were requirements for recording the first 5 minutes of every hour only when it was active, or another option was to record, and save to a file only if the transmission was longer than 30 seconds. Anyway, the requirement for now will be to have another option on top of scan frequencies/band to record audio. The parameters will be a single frequency, a level above which you start recording and a mode. It would be nice if there was a red ‘light’ to indicate recording.