Csound Csound-dev Csound-tekno Search About

[Cs-dev] audio in to tablewa wrong pitch in latest CVS

Date2010-07-30 22:11
FromOeyvind Brandtsegg
Subject[Cs-dev] audio in to tablewa wrong pitch in latest CVS
Attachmentsaudio_in.csd  None  None  
Compiling csound from CVS now,
when I run the attached csd (sampling live input to table and playing it back),
the playback is approx one octave lower than the audio input signal.

When used with the binary 5.12 release, it plays back at normal pitch.

I tried going back, updating the source to an older version.
I was able to go back to March1st 2010, and it still sounds the same.
Earlier versions of CVS give an error when compiling, so I was unable
to test with the source used to build the 5.12 binary.

best
Oeyvind

Date2010-07-30 22:49
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
I was able to compile with sources from Oct 30th 2009,
and the pitch error is not present there.

Oeyvind

2010/7/30 Oeyvind Brandtsegg :
> Compiling csound from CVS now,
> when I run the attached csd (sampling live input to table and playing it back),
> the playback is approx one octave lower than the audio input signal.
>
> When used with the binary 5.12 release, it plays back at normal pitch.
>
> I tried going back, updating the source to an older version.
> I was able to go back to March1st 2010, and it still sounds the same.
> Earlier versions of CVS give an error when compiling, so I was unable
> to test with the source used to build the 5.12 binary.
>
> best
> Oeyvind
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-30 23:05
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
... and this was all on Windows btw.
Oeyvind

2010/7/30 Oeyvind Brandtsegg :
> Compiling csound from CVS now,
> when I run the attached csd (sampling live input to table and playing it back),
> the playback is approx one octave lower than the audio input signal.
>
> When used with the binary 5.12 release, it plays back at normal pitch.
>
> I tried going back, updating the source to an older version.
> I was able to go back to March1st 2010, and it still sounds the same.
> Earlier versions of CVS give an error when compiling, so I was unable
> to test with the source used to build the 5.12 binary.
>
> best
> Oeyvind
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-01 15:03
Fromjohn ffitch
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
Oeyvind
  Can you try changing your instr 4 to read
	instr 4
        printk2 nchnls_i
	a1		oscil	0.5, 440, giSine
			outs a1, a1
	endin

and report what it prints? I think this is a consequence of separating
the number of channels in and out.
  No idea where but want to separate this case
==John ffitch

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-01 15:11
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
It reports 1 on nchnls_i, but 2 on nchnls.
Oeyvind

2010/8/1 john ffitch :
> Oeyvind
>  Can you try changing your instr 4 to read
>        instr 4
>        printk2 nchnls_i
>        a1              oscil   0.5, 440, giSine
>                        outs a1, a1
>        endin
>
> and report what it prints? I think this is a consequence of separating
> the number of channels in and out.
>  No idea where but want to separate this case
> ==John ffitch
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-01 15:18
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
> It reports 1 on nchnls_i, but 2 on nchnls.
> Oeyvind
>

Not a fix but if you add
nchcls = 2
in the header does it work?

==JOhn ff


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-01 17:46
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
I had nchnls = 2,
so I changed to nchnls = 1,
and then the live recording plays back at the correct pitch.

Oeyvind

2010/8/1  :
>> It reports 1 on nchnls_i, but 2 on nchnls.
>> Oeyvind
>>
>
> Not a fix but if you add
> nchcls = 2
> in the header does it work?
>
> ==JOhn ff
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-01 19:13
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] audio in to tablewa wrong pitch in latest CVS
> I had nchnls = 2,
> so I changed to nchnls = 1,
> and then the live recording plays back at the correct pitch.
>
> Oeyvind
>
>

Sorry -- typo here

I wanted to knpow what happened if you set

nchnlc_i = 2

I think this is nothing to do with tablewa but to do with in

==JOhn ff



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net