Pira.cz Technical Forum

FM Analysis => FM Scope Script Files => Topic started by: Jan on September 29, 2018, 10:42:25 pm

Title: MP3 recording from sound card input (pira)
Post by: Jan on September 29, 2018, 10:42:25 pm
1. Save this code as .fms script:

Code: [Select]
;User configurable parameters
; recfilename: Fill full path and file name, for example C:\recording\%date %time.mp3
;              The path must exist!
set(recfilename,C:\recording\%date %time.mp3)

;Script body
recorder.stop
page.show(6)
textwindow.addline(<%date %time> Recording to %recfilename)
recorder.run(%recfilename)

2. Configure the MP3 recorder (Options - MP3 Recorder...)

3. Configure the Task Scheduler (Options - Task Scheduler...)

For example, to start new recording file in each hour, fill following:

Open/Execute - type the script file from step 1 incl. full path
Times - select all days, insert times 00:00, 01:00, 02:00 ....... 23:00

You don't need the P275 device. Just any audio source.