Ok, tried with selector and check box. I started script, check box appeared, i cheched it and recording to wav file started. Wait a bit and unchecked it, got file 2.7 Mbytes, not growing more, then stopped the script. FIle is corrupted.
Here is links on my grc scheme - http://db.tt/ACl4nLNy and wav file i got - http://db.tt/87PIVwCy Any help will be appreciated, i dont believe wav sink is so buggy.... On Thu, Sep 27, 2012 at 8:04 PM, <mle...@ripnet.com> wrote: > On 27 Sep 2012 11:58, Anton Komarov wrote: > > Ok i see. > > And, if i want to run script from shell to record audio files and > rotate them every hour, how to make start/stop recording procedure in > this case? > > On Thu, Sep 27, 2012 at 7:31 PM, <mle...@ripnet.com> wrote: > > On 27 Sep 2012 11:28, Anton Komarov wrote: So it can programmed with GRC, or > i supposed to make some stuff in python script? On Thu, Sep 27, 2012 at 7:17 > PM, <mle...@ripnet.com> wrote: I recall running into this issue myself now, > with multimode and simple_fm_rcv. What I do in those two apps is that when I > turn "off" recording, I change the wavfile filename to /dev/null, which > causes a formal cleanup-and-close of the previous file. On 27 Sep 2012 > 11:13, Anton Komarov wrote: Martin, actually no, i am not sure. i am just > pushing stop button in gnuradio companion. from grc perspective view, what > method is supposed to be used for graceful script termination? O > _______________________________________________ Discuss-gnuradio mailing > list Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio Use a conditional > expression in the "filename" field of the wavefile sink, and then have a > "checkbox" control to control recording. Make the expression conditional on > the state of the checkbox, and if "recording" isn't checked, make the file > /dev/null, otherwise make it the file you want. > _______________________________________________ Discuss-gnuradio mailing > list Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > You can use the XMLRPC server that GRC provides to change any flow-graph > variables you want from outside. > > > > > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio