My apologies; wavfile_source does not inherit from file_source, so my answer 
does not apply.

---
Jim Melton

From: Jim Melton
Sent: Monday, February 13, 2023 10:23
To: 'discuss-gnuradio@gnu.org' <discuss-gnuradio@gnu.org>
Subject: RE: [EXTERNAL] Wav source: playing speed and playing startup instant

I would add that “playback speed” will be determined either by upstream blocks, 
or a Throttle block that you add after the file.

---
Jim Melton


From: Jim Melton
Sent: Monday, February 13, 2023 10:20
To: discuss-gnuradio@gnu.org<mailto:discuss-gnuradio@gnu.org>
Subject: RE: [EXTERNAL] Wav source: playing speed and playing startup instant

If your question is how to subset the file, see 
https://wiki.gnuradio.org/index.php/File_Source Offset and Length parameters.

If your question is how to use a GUI slider to accomplish this, I’ll defer to 
others.

---
Jim Melton

From: 
discuss-gnuradio-bounces+jim.melton=sncorp....@gnu.org<mailto:discuss-gnuradio-bounces+jim.melton=sncorp....@gnu.org>
 
<discuss-gnuradio-bounces+jim.melton=sncorp....@gnu.org<mailto:discuss-gnuradio-bounces+jim.melton=sncorp....@gnu.org>>
 On Behalf Of Giovanni Parodi
Sent: Monday, February 13, 2023 06:00
To: discuss-gnuradio@gnu.org<mailto:discuss-gnuradio@gnu.org>
Subject: [EXTERNAL] Wav source: playing speed and playing startup instant

Good morning,
I'm a gnuradio beginner, and I'm trying to better understand some topics 
related to source and sink.

I implemented a very easy SW that allows me selecting a file from filesystem 
and then I provide the filename to the C++ source implementation, by calling 
the function:
   blocks::wavfile_source::make

The implementation works fine, but I have an issue.

Since sometimes I need to perform audio analysis on files that are quite long, 
I would like to have a way to use something like a timeslider to move on a 
specific time instant on the wav file, or at least to change playing speed of 
file.
I found no property (looking both in C++ and Python generated code) to achieve 
this target.
Is there any way to perform this operation?
Best regards




CONFIDENTIALITY NOTICE - SNC EMAIL: This email and any attachments are 
confidential, may contain proprietary, protected, or export controlled 
information, and are intended for the use of the intended recipients only. Any 
review, reliance, distribution, disclosure, or forwarding of this email and/or 
attachments outside of Sierra Nevada Corporation (SNC) without express written 
approval of the sender, except to the extent required to further properly 
approved SNC business purposes, is strictly prohibited. If you are not the 
intended recipient of this email, please notify the sender immediately, and 
delete all copies without reading, printing, or saving in any manner. --- Thank 
You.

Reply via email to