Csound Csound-dev Csound-tekno Search About

[Csnd] Simple pitchshifting through resampling?

Date2018-12-07 13:51
From"Jeanette C."
Subject[Csnd] Simple pitchshifting through resampling?
Hey hey,
I'd like to emulate the effect of an audio signal travelling at a different 
speed of sound. Something akin to someone inhaling Helium or Xenon - at the 
two ends of the spectrum).

There is a PitchShifter UDO, which uses delay lines. But some tests have shown 
that the results are somewhat lacking.

Wasn't there a way doing it by simple pitchshifting, i.e. playing the samples 
faster, resampling and playing back the resampled version? Has anyone done 
somet;hing like that in Csound? Could that work in realtime?

Otherwise, does anyone have another idea? Could one of the limited but 
optimised FFT-based opcodes do it without (audible) artefacts?

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * GitHub: https://github.com/jeanette-c
  * Twitter: https://twitter.com/jeanette_c_s

... About some useless information,
Supposed to fire my imagination <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-12-07 20:03
Fromjpff
SubjectRe: [Csnd] Simple pitchshifting through resampling?
I use libsamplerate for that.


On Fri, 7 Dec 2018, Jeanette C. wrote:

> Hey hey,
> I'd like to emulate the effect of an audio signal travelling at a different 
> speed of sound. Something akin to someone inhaling Helium or Xenon - at the 
> two ends of the spectrum).
>
> There is a PitchShifter UDO, which uses delay lines. But some tests have 
> shown that the results are somewhat lacking.
>
> Wasn't there a way doing it by simple pitchshifting, i.e. playing the samples 
> faster, resampling and playing back the resampled version? Has anyone done 
> somet;hing like that in Csound? Could that work in realtime?
>
> Otherwise, does anyone have another idea? Could one of the limited but 
> optimised FFT-based opcodes do it without (audible) artefacts?
>
> Best wishes,
>
> Jeanette
>
> -- 
> * Website: http://juliencoder.de - for summer is a state of sound
> * SoundCloud: https://soundcloud.com/jeanette_c
> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
> * GitHub: https://github.com/jeanette-c
> * Twitter: https://twitter.com/jeanette_c_s
>
> ... About some useless information,
> Supposed to fire my imagination <3
> (Britney Spears)
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-12-07 20:29
From"Jeanette C."
SubjectRe: [Csnd] Simple pitchshifting through resampling?
Dec 7 2018, jpff has written:

> I use libsamplerate for that.
Do you use it as a library with your own tools or do you use the
supplied samplerate converter program?

Best wishes,

Jeanette
>
>
> On Fri, 7 Dec 2018, Jeanette C. wrote:
>
>> Hey hey,
>> I'd like to emulate the effect of an audio signal travelling at a different 
>> speed of sound. Something akin to someone inhaling Helium or Xenon - at the 
>> two ends of the spectrum).
>> 
>> There is a PitchShifter UDO, which uses delay lines. But some tests have 
>> shown that the results are somewhat lacking.
>> 
>> Wasn't there a way doing it by simple pitchshifting, i.e. playing the 
>> samples faster, resampling and playing back the resampled version? Has 
>> anyone done somet;hing like that in Csound? Could that work in realtime?
>> 
>> Otherwise, does anyone have another idea? Could one of the limited but 
>> optimised FFT-based opcodes do it without (audible) artefacts?
>> 
>> Best wishes,
>> 
>> Jeanette
>> 
>> -- 
>> * Website: http://juliencoder.de - for summer is a state of sound
>> * SoundCloud: https://soundcloud.com/jeanette_c
>> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
>> * GitHub: https://github.com/jeanette-c
>> * Twitter: https://twitter.com/jeanette_c_s
>> 
>> ... About some useless information,
>> Supposed to fire my imagination <3
>> (Britney Spears)
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> 
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * GitHub: https://github.com/jeanette-c
  * Twitter: https://twitter.com/jeanette_c_s

Don't, don't let me be the last to know
Don't hold back, just let it go <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-12-08 00:42
FromJohn ff
SubjectRe: [Csnd] Simple pitchshifting through resampling?
I wrote a small program that resampled and then reset the sample rate.  Will look it out tomorrow

Sent from TypeApp
On 7 Dec 2018, at 20:30, "Jeanette C." <julien@mail.upb.de> wrote:
Dec 7 2018, jpff has written:

I use libsamplerate for that.
Do you use it as a library with your own tools or do you use the
supplied samplerate converter program?

Best wishes,

Jeanette


On Fri, 7 Dec 2018, Jeanette C. wrote:

Hey hey,
I'd like to emulate the effect of an audio signal travelling at a different
speed of sound. Something akin to someone inhaling Helium or Xenon - at the
two ends of the spectrum).

There is a PitchShifter UDO, which uses delay lines. But some tests have
shown that the results are somewhat lacking.

Wasn't there a way doing it by simple pitchshifting, i.e. playing the
samples faster, resampling and playing back the resampled version? Has
anyone done somet;hing like that in Csound? Could that work in realtime?

Otherwise, does anyone have another idea? Could one of the limited but
optimised FFT-based opcodes do it without (audible) artefacts?

Best wishes,

Jeanette

--
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s

... About some useless information,
Supposed to fire my imagination <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here