Problem recording the output of Csound in QuteCsound

View: New views
6 Messages — Rating Filter:   Alert me  

Problem recording the output of Csound in QuteCsound

by Nicolas Villa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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.

Re: Problem recording the output of Csound in QuteCsound

by RoryWalsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>:

> 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@... with body "unsubscribe csound"

RE: Re: Problem recording the output of Csound in QuteCsound

by Nicolas Villa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thank you Rory.  fout worked.

Cheers,
Nicolas

> From: rorywalsh@...
> Date: Sun, 21 Jun 2009 18:07:27 +0100
> To: csound@...
> 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@...>:
> > 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@... with body "unsubscribe csound"


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

Re: Problem recording the output of Csound in QuteCsound

by Andres Cabrera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@... with body "unsubscribe csound"

RE: Re: Problem recording the output of Csound in QuteCsound

by Nicolas Villa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...
> To: csound@...
> 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@...> 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@... with body "unsubscribe csound"


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

Re: RE: Re: Problem recording the output of Csound in QuteCsound

by Andres Cabrera :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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<p1nh@...> 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@...
>> To: csound@...
>> 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@...> 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@... with body "unsubscribe
>> csound"
>
> ________________________________
> Lauren found her dream laptop. Find the PC that’s right for you.



--


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@... with body "unsubscribe csound"