Csound Csound-dev Csound-tekno Search About

[Csnd] Problem recording the output of Csound in QuteCsound

Date2009-06-21 18:01
FromNicolas Villa
Subject[Csnd] Problem recording the output of Csound in QuteCsound
Hi,

I'm trying to record the output of a midi controlled instrument to a file.  I'm basically playing and trying to record the performance to disk. QuteCsound has a recording function which allows me to do this easily but the output file is terribly distorted.  I've tried changing buffer sizes with no luck.  Any ideas what might be happening and how to solve this?
I'm on an intel mac running os 10.5.7.  Csound version 5.10.


Cheers,

Nicolas


Insert movie times and more without leaving Hotmail®. See how.

Date2009-06-21 18:07
FromRory Walsh
Subject[Csnd] Re: Problem recording the output of Csound in QuteCsound
I haven't used QuteCsounds output to disk option but I use fout all
the time in my instruments. It's very simple to use.
http://www.csounds.com/manual/html/fout.html

Rory.


2009/6/21 Nicolas Villa :
> Hi,
>
> I'm trying to record the output of a midi controlled instrument to a file.
> I'm basically playing and trying to record the performance to disk.
> QuteCsound has a recording function which allows me to do this easily but
> the output file is terribly distorted.  I've tried changing buffer sizes
> with no luck.  Any ideas what might be happening and how to solve this?
> I'm on an intel mac running os 10.5.7.  Csound version 5.10.
>
>
> Cheers,
>
> Nicolas
>
> ________________________________
> Insert movie times and more without leaving Hotmail®. See how.


Date2009-06-22 02:38
FromNicolas Villa
Subject[Csnd] RE: Re: Problem recording the output of Csound in QuteCsound
Thank you Rory.  fout worked.

Cheers,
Nicolas

> From: rorywalsh@ear.ie
> Date: Sun, 21 Jun 2009 18:07:27 +0100
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: Problem recording the output of Csound in QuteCsound
>
> I haven't used QuteCsounds output to disk option but I use fout all
> the time in my instruments. It's very simple to use.
> http://www.csounds.com/manual/html/fout.html
>
> Rory.
>
>
> 2009/6/21 Nicolas Villa <p1nh@hotmail.com>:
> > Hi,
> >
> > I'm trying to record the output of a midi controlled instrument to a file.
> > I'm basically playing and trying to record the performance to disk.
> > QuteCsound has a recording function which allows me to do this easily but
> > the output file is terribly distorted.  I've tried changing buffer sizes
> > with no luck.  Any ideas what might be happening and how to solve this?
> > I'm on an intel mac running os 10.5.7.  Csound version 5.10.
> >
> >
> > Cheers,
> >
> > Nicolas
> >
> > ________________________________
> > Insert movie times and more without leaving Hotmail®. See how.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Microsoft brings you a new way to search the web. Try Bing™ now

Date2009-06-23 02:59
FromAndres Cabrera
Subject[Csnd] Re: Problem recording the output of Csound in QuteCsound
Hola Nicolás,

This sounds like a bug... Can you try using 0dbfs = 0 to see if it
works properly?

One thing I've noticed is that currently QuteCsound will wrap clipped
values, making clipping a lot worse than it originally was... Is this
what you are seeing?

Cheers,
Andrés

On Sun, Jun 21, 2009 at 5:01 PM, Nicolas Villa wrote:
> Hi,
>
> I'm trying to record the output of a midi controlled instrument to a file.
> I'm basically playing and trying to record the performance to disk.
> QuteCsound has a recording function which allows me to do this easily but
> the output file is terribly distorted.  I've tried changing buffer sizes
> with no luck.  Any ideas what might be happening and how to solve this?
> I'm on an intel mac running os 10.5.7.  Csound version 5.10.
>
>
> Cheers,
>
> Nicolas
>
> ________________________________
> Insert movie times and more without leaving Hotmail®. See how.



-- 


Andrés


Date2009-06-23 03:39
FromNicolas Villa
Subject[Csnd] RE: Re: Problem recording the output of Csound in QuteCsound
Hola Andres,

Here's what's happening:  I'm using a midi controlled instrument so somewhere inside the code I have the following statement:
iamp   ampmidi  15000
If I try to record the output like this it results in a distorted file.
Now if I set 0dbfs = 1  and change the above statement to iamp ampmidi 1 (or some value between 0 and 1 excluding 0) it records fine with no distortion.  Any other setup results in a distorted file.

If I try to write 0dbfs = 0 like you suggested I get the followng error message.....  bad value for 0dbfs: must be positive.
Let me know if you'd like me to send you the code so you can try it. 

Cheers,

Nicolás


> Date: Tue, 23 Jun 2009 01:59:13 +0000
> From: mantaraya36@gmail.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Re: Problem recording the output of Csound in QuteCsound
>
> Hola Nicolás,
>
> This sounds like a bug... Can you try using 0dbfs = 0 to see if it
> works properly?
>
> One thing I've noticed is that currently QuteCsound will wrap clipped
> values, making clipping a lot worse than it originally was... Is this
> what you are seeing?
>
> Cheers,
> Andrés
>
> On Sun, Jun 21, 2009 at 5:01 PM, Nicolas Villa<p1nh@hotmail.com> wrote:
> > Hi,
> >
> > I'm trying to record the output of a midi controlled instrument to a file.
> > I'm basically playing and trying to record the performance to disk.
> > QuteCsound has a recording function which allows me to do this easily but
> > the output file is terribly distorted.  I've tried changing buffer sizes
> > with no luck.  Any ideas what might be happening and how to solve this?
> > I'm on an intel mac running os 10.5.7.  Csound version 5.10.
> >
> >
> > Cheers,
> >
> > Nicolas
> >
> > ________________________________
> > Insert movie times and more without leaving Hotmail®. See how.
>
>
>
> --
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Lauren found her dream laptop. Find the PC that’s right for you.

Date2009-06-23 04:17
FromAndres Cabrera
Subject[Csnd] Re: RE: Re: Problem recording the output of Csound in QuteCsound
Hola,

Sorry,I meant 0dbfs = 1... You would also need to adjust all the
amplitudes in your orc... I'll try this when I get the chance.

Cheers,
Andrés

On Tue, Jun 23, 2009 at 2:39 AM, Nicolas Villa wrote:
> Hola Andres,
>
> Here's what's happening:  I'm using a midi controlled instrument so
> somewhere inside the code I have the following statement:
> iamp   ampmidi  15000
> If I try to record the output like this it results in a distorted file.
> Now if I set 0dbfs = 1  and change the above statement to iamp ampmidi 1 (or
> some value between 0 and 1 excluding 0) it records fine with no distortion.
> Any other setup results in a distorted file.
>
> If I try to write 0dbfs = 0 like you suggested I get the followng error
> message.....  bad value for 0dbfs: must be positive.
> Let me know if you'd like me to send you the code so you can try it.
>
> Cheers,
>
> Nicolás
>
>
>> Date: Tue, 23 Jun 2009 01:59:13 +0000
>> From: mantaraya36@gmail.com
>> To: csound@lists.bath.ac.uk
>> Subject: [Csnd] Re: Problem recording the output of Csound in QuteCsound
>>
>> Hola Nicolás,
>>
>> This sounds like a bug... Can you try using 0dbfs = 0 to see if it
>> works properly?
>>
>> One thing I've noticed is that currently QuteCsound will wrap clipped
>> values, making clipping a lot worse than it originally was... Is this
>> what you are seeing?
>>
>> Cheers,
>> Andrés
>>
>> On Sun, Jun 21, 2009 at 5:01 PM, Nicolas Villa wrote:
>> > Hi,
>> >
>> > I'm trying to record the output of a midi controlled instrument to a
>> > file.
>> > I'm basically playing and trying to record the performance to disk.
>> > QuteCsound has a recording function which allows me to do this easily
>> > but
>> > the output file is terribly distorted.  I've tried changing buffer sizes
>> > with no luck.  Any ideas what might be happening and how to solve this?
>> > I'm on an intel mac running os 10.5.7.  Csound version 5.10.
>> >
>> >
>> > Cheers,
>> >
>> > Nicolas
>> >
>> > ________________________________
>> > Insert movie times and more without leaving Hotmail®. See how.
>>
>>
>>
>> --
>>
>>
>> Andrés
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
> ________________________________
> Lauren found her dream laptop. Find the PC that’s right for you.



-- 


Andrés