Csound Csound-dev Csound-tekno Search About

[Csnd] fout glitching

Date2013-12-04 02:52
FromJim Aikin
Subject[Csnd] fout glitching
...and now I'm 0 for 3 in attempting to record audio using Csound. Here's an
extremely simple test instrument:

instr 1
ainL, ainR	inch	1, 2
		fout	"C:/samples/ain_test3.wav", 8, ainL, ainR
		outs	ainL, ainR
endin

This produces occasional glitches, both in the audio output and in the file.
Here's a link to a jpg of what one of these glitches looks like in Audacity:
https://dl.dropboxusercontent.com/u/18276384/glitch.jpg

When I comment out the fout line, the audio playback is as smooth as glass
for an extended period. Setting different -b and -B values has no obvious
ameliorative effect. I'm not running a browser or email program in the
background; I'm sure Windows is busy doing whatever it usually does in the
background, but if that's the ultimate cause, it's affecting Csound only
when fout is running.

Again -- am I doing something wrong? 



--
View this message in context: http://csound.1045644.n5.nabble.com/fout-glitching-tp5730532.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-04 03:10
Fromthorin kerr
SubjectRe: [Csnd] fout glitching
Just a stab... you could try the adding the new --realtime flag to the command sent to Csound. Mentioned here:
Thorin


On Wed, Dec 4, 2013 at 12:52 PM, Jim Aikin <midiguru23@sbcglobal.net> wrote:
...and now I'm 0 for 3 in attempting to record audio using Csound. Here's an
extremely simple test instrument:

instr 1
ainL, ainR      inch    1, 2
                fout    "C:/samples/ain_test3.wav", 8, ainL, ainR
                outs    ainL, ainR
endin

This produces occasional glitches, both in the audio output and in the file.
Here's a link to a jpg of what one of these glitches looks like in Audacity:
https://dl.dropboxusercontent.com/u/18276384/glitch.jpg

When I comment out the fout line, the audio playback is as smooth as glass
for an extended period. Setting different -b and -B values has no obvious
ameliorative effect. I'm not running a browser or email program in the
background; I'm sure Windows is busy doing whatever it usually does in the
background, but if that's the ultimate cause, it's affecting Csound only
when fout is running.

Again -- am I doing something wrong?



--
View this message in context: http://csound.1045644.n5.nabble.com/fout-glitching-tp5730532.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-12-04 05:08
FromJim Aikin
Subject[Csnd] Re: fout glitching
> Just a stab... you could try the adding the new --realtime flag to the
command
> sent to Csound.

Perfect. Thanks, Thorin! That seems to solve the problem. I recorded three
minutes of tone with no glitching.



--
View this message in context: http://csound.1045644.n5.nabble.com/fout-glitching-tp5730532p5730534.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-04 13:25
FromDavid Mooney
SubjectRe: [Csnd] Re: fout glitching
Looks like a nice solution, but I can't install 6.0 on the older computer I use for Csound.  I know that in using fout in non-realtime I have to create a dummy file with the name I want to save to--works fine. But I have never gotten real time recording to work. Any suggestions for real time recording with 5.19 will be greatly appreciated.

--David Mooney


On Wed, Dec 4, 2013 at 12:08 AM, Jim Aikin <midiguru23@sbcglobal.net> wrote:
> Just a stab... you could try the adding the new --realtime flag to the
command
> sent to Csound.

Perfect. Thanks, Thorin! That seems to solve the problem. I recorded three
minutes of tone with no glitching.



--
View this message in context: http://csound.1045644.n5.nabble.com/fout-glitching-tp5730532p5730534.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





--
Opaque Melodies
http://opaquemelodies.com