Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4292] Re: I/O in cs5

Date2004-03-12 12:19
From"Michael Gogins"
Subject[CSOUND-DEV:4292] Re: I/O in cs5
This should all be fixable, and I certainly agree with the move to sample
frames instead of bytes in all audio processng code.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: 
To: "Csound Developers Discussion List" 
Sent: Friday, March 12, 2004 2:08 AM
Subject: [CSOUND-DEV:4291] I/O in cs5


> I am continuing to look at LibSndFile and the opcodes diskin and in.
> Diskin seems OK in my rather scrappy tests, but I am continuing to
> have strange problems with in.  It occurred to me in this that there
> may be a conflict between what LibSndFile would like and PortAudio.
> In particular LinSndFile counts in frames, not samples and certainly
> not bytes as Csound4 does.  My current code is moving increasingly to
> frames, and has abandoned bytes.   So audrecv fills a MYFLT buffer
> with n samples.  This may be in conflict with what the values rtrecord
> expects. As I am now totally out of sync with Michael's code I do not
> know how to resolve this, or even discover if it is a problem.
>
> This not directly related to the problems I am having with in, which
> seems to be crashing in sf_read_float when reading the second
> buffer-full and I cannot understand why.
>
> ==John ffitch
>