Hey hey,
I've used libsamplerate through the src_simple interface to resample a
audiofile of a single cycle wave. The output does not look right though:
In the input values go from positive to negative floats. In the output values
go from small positive floats to big positive floats. The process itself is
error free and both used and generated frames are exactly to my expectations.
Please, does anyone have an idea why this could be? Or if this is an error at
all?
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
If only I could trade the fancy cars
For a chance today,
it's incomparable <3
(Britney Spears)
I need a command line sound file player which I can somehow control,
while playing, to go immediately to a new position in the same file
and keep playing without missing a beat. And a way to pause/continue.
I'm currently using sox (from a Qt QProcess) and I can stop it with
a 'kill' QProcess, but I seem to find that 'kill one start another'
leaves some overlap (but it could be me).
Thanks for any thoughts. If it could also output feedback on the
current play position, it would save me tracking the position in Qt
with a timer, which works (and looks quite good on a QLCDNumber) but...
--
Thanks again, John.
Hey hey,
I'm trying to convert a single cycle wave to a harmonic spectrum. I know that
in theory this is a job for standard FFT. I wondered if there isn't a
"simpler" way given a few assumptions about the input.
The input waveform is exactly one single cycle
The waveform has only harmonic overtones.
That means that only integral multiples of the base frequency need to be
considered and the specific Nyquist frequency is determined by the number of
samples (I think).
I treid searching, but it appears that I don't have the right keyword to hand,
getting only very general results bordering on the off-topic. :)
Can anyone help? A good keyword, name of an algorithm or a general name for
this specific task would be helpful enough, I suppose.
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
She's so lucky,
she's a star
But she cry, cry, cries in her lonely heart... <3
(Britney Spears)