Loscil or i'm crazy ?

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

Loscil or i'm crazy ?

by francibal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,
I think I'm gonna be crazy. I'm using the below csd, but out amplitude is 0.
Now i'm a little bit tired and i don't know if i'm wrong or i'm sleeping.
Please tell me somethings (about csd, not me, thanks!)

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>

sr      = 48000
ksmps   = 128
nchnls  = 2
0dbfs = 32767

instr 1

a1, a2 loscil 20000, 1, 1, 1, 1

outs a1, a2
endin

</CsInstruments>
<CsScore>

f1  0  0  1  "audio_1e10.wav"  0  0  0
i1 0 20
e
</CsScore>
</CsoundSynthesizer>

What happens? It seems to me that loscil was working well ...

ciao,
always thanks,

sleepy fran.

Re: Loscil or i'm crazy ?

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

works here. Is your file particularly long?
You can confirm the table plays using this instead of
loscil

a1 poscil 20000,sr/ftlen(1),1

(this will mix up channels in a stereo table and
the pitch will go 1/2 speed, but at least you will
get sound; to correct this you can split your
channels into 2 tables and have 2 poscils)


----- Original Message -----
From: "francibal" <ilterzouomo@...>
To: <csound@...>
Sent: Sunday, June 28, 2009 8:58 PM
Subject: [Csnd] Loscil or i'm crazy ?


>
> Dear all,
> I think I'm gonna be crazy. I'm using the below csd, but out amplitude is
> 0.
> Now i'm a little bit tired and i don't know if i'm wrong or i'm sleeping.
> Please tell me somethings (about csd, not me, thanks!)
>
> <CsoundSynthesizer>
> <CsOptions>
> </CsOptions>
> <CsInstruments>
>
> sr      = 48000
> ksmps   = 128
> nchnls  = 2
> 0dbfs = 32767
>
> instr 1
>
> a1, a2 loscil 20000, 1, 1, 1, 1
>
> outs a1, a2
> endin
>
> </CsInstruments>
> <CsScore>
>
> f1  0  0  1  "audio_1e10.wav"  0  0  0
> i1 0 20
> e
> </CsScore>
> </CsoundSynthesizer>
>
> What happens? It seems to me that loscil was working well ...
>
> ciao,
> always thanks,
>
> sleepy fran.
> --
> View this message in context:
> http://www.nabble.com/Loscil-or-i%27m-crazy---tp24244861p24244861.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@... with body "unsubscribe
> csound"



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

Re: Loscil or i'm crazy ?

by francibal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok,
i have try another audio file and it works! Then i've found that last audio it is wav 48000 32 bit float, instead first was 48000 16 bit (microsoft) wav. Then i've "translate" this last file in the same format of the first (32 bit float), and ... don't work.
There are other audio file parameters that i don't know?

...

Re: Loscil or i'm crazy ?

by francibal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok,
i've try your examples and it works! The first file (not working) it was more short than the other! (yes, 60 sec instead of 4 min).
Now, with your help, i can work, but i can't understand!

Many, many thanks

ciao,

fran.

Re: Loscil or i'm crazy ?

by francibal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok,
i've try your examples and it works! The first file (not working) it was more short than the other! (yes, 60 sec instead of 4 min).
Now, with your help, i can work, but i can't understand!

Many, many thanks

ciao,

fran.

Re: Re: Loscil or i'm crazy ?

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would have thought the problem was that the file
was too long instead of too short...
----- Original Message -----
From: "francibal" <ilterzouomo@...>
To: <csound@...>
Sent: Sunday, June 28, 2009 10:14 PM
Subject: [Csnd] Re: Loscil or i'm crazy ?


>
> Ok,
> i've try your examples and it works! The first file (not working) it was
> more short than the other! (yes, 60 sec instead of 4 min).
> Now, with your help, i can work, but i can't understand!
>
> Many, many thanks
>
> ciao,
>
> fran.
> --
> View this message in context:
> http://www.nabble.com/Loscil-or-i%27m-crazy---tp24244861p24245554.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@... with body "unsubscribe
> csound"



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

Re: Re: Loscil or i'm crazy ?

by francibal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes,
me too. But with a more long file it works ...
Maybe some mysterious ghost ... My mind is really confused now (really not only now).

Anyway i will use your way that works fine.

Again thanks,

ciao,
fran