[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Wav sink problem

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Wav sink problem
Date: Thu, 27 Sep 2012 17:47:37 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

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.

Looked at your flow-graph.

You have to make the *filename* on the WAV sink change depending on recording/not-recording.

Just use a conditional expression as the filename parameter in the filename sink

"myfile" if recording_on else "/dev/null"

Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

reply via email to

[Prev in Thread] Current Thread [Next in Thread]