Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Loscil, Sample/Note Duration

Date2018-01-10 20:36
FromJoel Ramsbottom
SubjectRe: [Csnd] Loscil, Sample/Note Duration
Perhaps it will occur with code here (just needs an aif file). I've also made sure to download 6.10...


[code]




sr 		= 		44100
kr 		= 		4410
ksmps 	= 		10
nchnls 	= 		1

		instr 	118					
k1      oscil   p4, 1/p3, p7
k2      expseg  p5, p3/3, p8, p3/3, p9, p3/3, p5
a1 		loscil  k1, k2, p6, 1
		out 	a1
		endin




f4  0 0    1   "sing.aif" 		0 	4 	0

i118      0        			2.31	30000  	1        4		7		2		2




[/code]

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-01-10 21:39
Fromjpff
SubjectRe: [Csnd] Loscil, Sample/Note Duration
Seems to be missing ftable 7.  I tried a sine wave.  What should it sound 
like?

I hear a sing with a gap as in the sample, and then a tone eventually 
going down and quieter.  Is that what you mean?

Not investigated the code yet


On Wed, 10 Jan 2018, Joel Ramsbottom wrote:

> Perhaps it will occur with code here (just needs an aif file). I've also made sure to download 6.10...
>
>
> [code]
> 
> 
> 
> 
> sr 		= 		44100
> kr 		= 		4410
> ksmps 	= 		10
> nchnls 	= 		1
>
> 		instr 	118
> k1      oscil   p4, 1/p3, p7
> k2      expseg  p5, p3/3, p8, p3/3, p9, p3/3, p5
> a1 		loscil  k1, k2, p6, 1
> 		out 	a1
> 		endin
>
> 
> 
>
> f4  0 0    1   "sing.aif" 		0 	4 	0
>
> i118      0        			2.31	30000  	1        4		7		2		2
>
> 
> 
>
> [/code]
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2018-01-10 21:45
Fromjpff
SubjectRe: [Csnd] Loscil, Sample/Note Duration
It looks as if you are using mode = -1 with loop poits in the file.  Do 
you want looping or once through or what/

==John ff

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here