| Victor,
We *are* using diskin2. With ogg output specified, apparently the resample
function is not working correctly.
At any rate, when the output SR exceeds the sample's SR, the sample is
played higher and faster. Conversely, when the sample's SR is higher than
output SR, playback is lower in pitch and longer.
Just like when speeding up or slowing down a tape recorder.
And of course, none of this happens with wav.
Art Hunkins
----- Original Message -----
From: "Victor Lazzarini"
To:
Sent: Wednesday, February 06, 2013 4:29 AM
Subject: Re: [Csnd] Csound 5.18 and OGG Output
diskin2 should read any rate and resample it. If you read with any other
method, it will not work unless you do the resampling yourself.
Victor
On 6 Feb 2013, at 04:10, Art Hunkins wrote:
> Is Csound 5.18 (Windows) supposed to know how to write OGG output? (Using
> diskin2?)
>
> I'm experiencing the following:
>
> Specifying "-o distill.ogg" and "--ogg" in , with no .csoundrc
> file (and running from the terminal), I receive the message:
> "Writing 1024-byte blks of vorbis encoding to distill.ogg (OGG). So far,
> so good.
>
> The input samples are ogg at 16000 SR. *However* - playback of the ogg
> output file (with .csd SR=22050) gives a higher pitch than appropriate; a
> .csd SR=8000 sounds slow and lugubrious. Clearly the sample rates have not
> correctly adjusted. (Is this diskin2's responsibility or libsndfile?)
>
> Either I'm doing something wrong, or 5.18 doesn't handle ogg as it should.
>
> Any enlightenment greatly appreciated.
>
> Art Hunkins
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"
=
|