Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Anton Komarov
ok! with conditional filename works like a charm! thank you very much! sorry that i did get for the first time ;-) On Fri, Sep 28, 2012 at 1:47 AM, Marcus D. Leech wrote: >> Ok, tried with selector and check box. >> I started script, check box appeared, i cheched it and recording to >> wav file s

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Marcus D. Leech
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 *filenam

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Anton Komarov
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 wa

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread mleech
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, wrote: > >> On 27 Sep 2012 11:28, Anton Kom

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Anton Komarov
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, wrote: > On 27 Sep 2012 11:28, Anton Komarov wrote: > > So it can programmed with GRC, or i supposed to m

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread mleech
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, wrote: > >> I recall running into this issue myself now, with multimode and simple_fm_rcv. What I do in those two apps is tha

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Anton Komarov
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, 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

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread mleech
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:

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Anton Komarov
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? On Thu, Sep 27, 2012 at 7:07 PM, Martin Braun (CEL) wrote: > On Thu, Sep 27, 2012 at 06:55:08PM +0400, Anton Kom

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Martin Braun (CEL)
On Thu, Sep 27, 2012 at 06:55:08PM +0400, Anton Komarov wrote: > Hi, Martin, thanks for reply. > > In Audacity i see only gray background and no signal. > > Actually i have started with nbfm reciever and tried to save audio in > wav file. That i tried to redirect it to audio sink and audio was ok

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Anton Komarov
Hi, Martin, thanks for reply. In Audacity i see only gray background and no signal. Actually i have started with nbfm reciever and tried to save audio in wav file. That i tried to redirect it to audio sink and audio was ok. Than i tried to use very simple scheme with audio source to wav sink and

Re: [Discuss-gnuradio] Wav sink problem

2012-09-27 Thread Martin Braun (CEL)
Hi Anton, I'd rather look if your audio source is producing the correct samples. On Thu, Sep 27, 2012 at 12:51:20AM +0400, Anton Komarov wrote: > i construct very simple scheme Audio Source --> Wav Sink > gr generates non-null wav file > -rw-rw-r-- 1 anton anton 24M сент. 27 00:46 freq2.wav Look

[Discuss-gnuradio] Wav sink problem

2012-09-26 Thread Anton Komarov
Hi, i construct very simple scheme Audio Source --> Wav Sink gr generates non-null wav file -rw-rw-r-- 1 anton anton 24M сент. 27 00:46 freq2.wav but when i try to play it or fetch info about file with soxi (sox plugin) i got nothing aplay freq2.wav Воспроизведение WAVE 'freq2.wav' : Signed 16 b