Csound Csound-dev Csound-tekno Search About

[Csnd] Loscil or i'm crazy ?

Date2009-06-28 20:58
Fromfrancibal
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!)






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

instr 1

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

outs	a1, a2
endin




f1  0  0  1  "audio_1e10.wav"  0  0  0
i1	0	20
e



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.


Date2009-06-28 22:01
Fromvictor
Subject[Csnd] Re: Loscil or i'm crazy ?
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" 
To: 
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!)
>
> 
> 
> 
> 
>
> sr      = 48000
> ksmps   = 128
> nchnls  = 2
> 0dbfs = 32767
>
> instr 1
>
> a1, a2 loscil 20000, 1, 1, 1, 1
>
> outs a1, a2
> endin
>
> 
> 
>
> f1  0  0  1  "audio_1e10.wav"  0  0  0
> i1 0 20
> e
> 
> 
>
> 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@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-06-28 22:07
Fromfrancibal
Subject[Csnd] Re: Loscil or i'm crazy ?
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?

...
-- 
View this message in context: http://www.nabble.com/Loscil-or-i%27m-crazy---tp24244861p24245475.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-06-28 22:13
Fromfrancibal
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---tp24244861p24245540.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-06-28 22:14
Fromfrancibal
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.


Date2009-06-28 22:26
Fromvictor
Subject[Csnd] Re: Re: Loscil or i'm crazy ?
I would have thought the problem was that the file
was too long instead of too short...
----- Original Message ----- 
From: "francibal" 
To: 
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@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-06-28 22:35
Fromfrancibal
Subject[Csnd] Re: Re: Loscil or i'm crazy ?
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
-- 
View this message in context: http://www.nabble.com/Loscil-or-i%27m-crazy---tp24244861p24245745.html
Sent from the Csound - General mailing list archive at Nabble.com.