Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-07 Thread Maitry Raval
Yes, the amplitude of a wav file saved with a wav file sink is differnt while I open it with wav file source - Original Message - From: "Marcus Müller, CEL" To: "maitry raval" Cc: "discuss-gnuradio" Sent: Friday, 7 June, 2019 08:15:30 Subject: Re: query regarding wav file recording th

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-07 Thread CEL
Hello, On Fri, 2019-06-07 at 12:40 +0530, Maitry Raval wrote: > Hello, > > I am using USRP-B200 mini, and as I want to use USRP offline, that's > why I am trying to record the transmitted modulated signal through > UHD USRP source to some file, Is it ok to use .txt file for this? Again, the file

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-07 Thread Maitry Raval
Hello, I am using USRP-B200 mini, and as I want to use USRP offline, that's why I am trying to record the transmitted modulated signal through UHD USRP source to some file, Is it ok to use .txt file for this? And the problem arise in this is , when the signal is being recorded in a wav file t

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-06 Thread CEL
256 kHz is not a sampling rate supported by many devices. What USRP are you using? Also, the filename doesn't matter to its content at all, so this is fine, but using .txt for a file that contains raw binary samples is questionable. So, back to your original problem: can you describe how the resu

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-06 Thread Maitry Raval
Hello, PLease find attached flowgraph for other end of txt file writing, as I have received the transmitted signal through UHD USRP source block and record it in a text file at 256k sample rate and then this recorded text file is being used in next flow graph for converting it into wav file.

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-05 Thread CEL
we really need both your Wav writing (we've got that) and Wav reading flow graph to make any qualified statement. Again, the file name in your file source is suspicious. Best regards, Marcus On Wed, 2019-06-05 at 10:54 +0530, Maitry Raval wrote: > Hello, > > Please check the flowgraph, as the

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-04 Thread Maitry Raval
Hello, Please check the flowgraph, as there is a wav file sink at output side, that record the incoming signal, but when I use that same recorded wav file in wav file source and check the output in time sink and FFT sink, then amplitude changes. With Best Regards, Maitry Raval, - Origina

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-04 Thread CEL
Ok, there's no Wave file involved here; instead, you read a file as complex 2×3bit floating point binary that has a .txt ending. Have you read [1]? Then, you're doing *way* more than just multiplying with a constant, so really, I'm not sure this flow graph has *anything* to do with your question.

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-04 Thread Maitry Raval
Hello, Please check the flow graph. With Best Regards, Maitry Raval, - Original Message - From: "Marcus Müller, CEL" To: "maitry raval" Cc: "discuss-gnuradio" Sent: Tuesday, 4 June, 2019 08:56:22 Subject: Re: query regarding wav file recording through wav file sink block Frankly, m

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-04 Thread CEL
Frankly, multiplication with a constant doesn't offer any benefit. The numbers stay the same, just scaled. However, 8 bit might be the giveaway here: are you maybe trying to multiply 8 bit numbers with a constant that leads to values larger than what can be represented in 8 bits? A screenshot of

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-04 Thread Maitry Raval
Hello, Thanks for your response. My requirement is to use GNU generated wav file into MATLAB. But when I record the wav file with 48k sample rate and 8 bits per sample, my recorded wavfile shows a very low amplitude signal, the screenshot is attached, please check. With Best Regards, Maitry R

Re: [Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-04 Thread CEL
I assume you do the multiplication with a constance to change the amplitude, and so that's right. A multiplication with a constant does however not change the shape of the signal at all, unless you're running into numerical limits. We'll need more info on what exactly you're doing and what exact

[Discuss-gnuradio] query regarding wav file recording through wav file sink block

2019-06-03 Thread Maitry Raval
Hello, And when I use multiply constant block in order to increase the amplitude of the wav file, It slightly change the amplitude and change the shape of the signal. PLease someone guide. With Best Regards, Maitry Raval, - Original Message - From: "Maitry Raval" To: "Marcus Müller, C