Csound Csound-dev Csound-tekno Search About

Introducing myself and a question.

Date2015-06-10 20:44
FromGabriele Battaglia
SubjectIntroducing myself and a question.
AttachmentsNone  None  
Hi All.
I’m Gabriel, a totally blind user living in Italy.
I’ve just subscribed the list and wanted to say hello to everybody.

I don’t want to go of topic, so my very first question on Sound is: as a beginner, I’m trying to understand this software writing small CSD project.
I’ve my first script and it doesn’t run as I expect from it. Could I post it here in order to get help from your kind experience?

Thanks and, apologize if I break some list rules.

Gabriel.
Namasté!
Sent from my iMac27. (Libero)


Date2015-06-10 21:03
Fromjpff
SubjectRe: Introducing myself and a question.
AttachmentsNone  None  
Sure post it here.  That is one of the purposes of this list
==John ffitch


On Wed, 10 Jun 2015, Gabriele Battaglia wrote:

> Hi All.I’m Gabriel, a totally blind user living in Italy.
> I’ve just subscribed the list and wanted to say hello to everybody.
> 
> I don’t want to go of topic, so my very first question on Sound is: as a
> beginner, I’m trying to understand this software writing small CSD project.
> I’ve my first script and it doesn’t run as I expect from it. Could I post it
> here in order to get help from your kind experience?
> 
> Thanks and, apologize if I break some list rules.
> 
> Gabriel.
> —Namasté!
> Sent from my iMac27. (Libero)
> 
> 
>

Date2015-06-10 21:47
FromGabriele Battaglia
SubjectRe: Introducing myself and a question.
> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
> 
> Sure post it here.  That is one of the purposes of this list
> ==John ffitch
Hi John and thanks.
So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.

The project should produce some sounds that:

1. enter from left and pass along the stereo spectrum going away to the right;
2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.

What I wrote is:

***


-d
-m0
-odac     ;;;realtime audio out


sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
instr 2
inota = cpspch(p4)
ksl linseg 0, p3, 1
agg:
kfr rand 50, 2
kfr = kfr+inota
;prints "kfr %2.2f", kfr
timout 0, .3, cont ;reinizializzare ogni ... secondi
reinit agg
cont:
rireturn
a2 oscil 20000, kfr, 2
outs a2*(1-ksl), a2*ksl
endin


f2 0 4096 10 1
i2 0 2.5 7.02
i2 + . 7.07
i2 + 1 8.00
i2 + .5 9.0
i2 + 1.5 9.09
i2 + 4 10.02

 

***
What I got instead is kind of pink noise with a sinusoide sound inside.
What is not working, I guess, is the kfr changing each .3 seconds.

Please help.
Gabriel.
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-10 22:12
FromVictor Lazzarini
SubjectRe: Introducing myself and a question.
rand is white noise, which modulates your frequency generating lots of components and aliasing too. Try using randh (for steady held values) or randi (for linearly interpolated values) with 1/0.3 for frequency (so the rand value is drawn every .3 secs)

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 10 Jun 2015, at 21:47, Gabriele Battaglia  wrote:
> 
> 
>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>> 
>> Sure post it here.  That is one of the purposes of this list
>> ==John ffitch
> Hi John and thanks.
> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
> 
> The project should produce some sounds that:
> 
> 1. enter from left and pass along the stereo spectrum going away to the right;
> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
> 
> What I wrote is:
> 
> ***
> 
> 
> -d
> -m0
> -odac     ;;;realtime audio out
> 
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 2
> instr 2
> inota = cpspch(p4)
> ksl linseg 0, p3, 1
> agg:
> kfr rand 50, 2
> kfr = kfr+inota
> ;prints "kfr %2.2f", kfr
> timout 0, .3, cont ;reinizializzare ogni ... secondi
> reinit agg
> cont:
> rireturn
> a2 oscil 20000, kfr, 2
> outs a2*(1-ksl), a2*ksl
> endin
> 
> 
> f2 0 4096 10 1
> i2 0 2.5 7.02
> i2 + . 7.07
> i2 + 1 8.00
> i2 + .5 9.0
> i2 + 1.5 9.09
> i2 + 4 10.02
> 
>  
> 
> ***
> What I got instead is kind of pink noise with a sinusoide sound inside.
> What is not working, I guess, is the kfr changing each .3 seconds.
> 
> Please help.
> Gabriel.
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 09:10
FromGabriele Battaglia
SubjectRe: Introducing myself and a question.

Reply to the Victor Lazzarini's message, wrote on 10/06/2015 at 23:12:
> rand is white noise, which modulates your frequency generating lots of components and aliasing too. Try using randh (for steady held values) or randi (for linearly interpolated values) with 1/0.3 for frequency (so the rand value is drawn every .3 secs)
>
Hi Victor and thanks. Now in fact, there is no more white noise and I 
can hear a single, clean sine wave.
But, unfortunately it seems I have not correctly understood the timed 
jump mecanism: the sound passes from left to right but it remains at the 
same frequence.
Could you please help me to understand how to force jumps using time?

The script right now is the following:



-d -m0 -odac     ;;;realtime audio out


sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
instr 2
inota = cpspch(p4)
ksl linseg 0, p3, 1
agg:
kfr randh 250, 2
kfr = kfr+inota
;prints "kfr %2.2f", kfr
timout 0, .1, cont ;jump each ... secs.
reinit agg
cont:
rireturn
a2 oscil 20000, kfr, 2
outs a2*(1-ksl), a2*ksl
endin


f2 0 4096 10 1
i2 0 2.5 7.02
i2 + . 7.07
i2 + 1 8.00
i2 + .5 9.0
i2 + 1.5 9.09
i2 + 4 10.02



------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 10:40
FromVictor Lazzarini
SubjectRe: Introducing myself and a question.
Hi Gabriele,

I think you’ve misunderstood what timout + reinit is used for. If you remove that bit of code, 
I think you will get what you want:

 

-d -m0 -odac     ;;;realtime audio out


nchnls = 2
instr 2
inota = cpspch(p4)
ksl linseg 0, p3, 1
kfr randh 250, 2
kfr = kfr+inota
a2 oscil 20000, kfr, 2
outs a2*(1-ksl), a2*ksl
endin


f2 0 4096 10 1
i2 0 2.5 7.02
i2 + . 7.07
i2 + 1 8.00
i2 + .5 9.0
i2 + 1.5 9.09
i2 + 4 10.02



========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Jun 2015, at 09:10, Gabriele Battaglia  wrote:
> 
> 
> 
> Reply to the Victor Lazzarini's message, wrote on 10/06/2015 at 23:12:
>> rand is white noise, which modulates your frequency generating lots of components and aliasing too. Try using randh (for steady held values) or randi (for linearly interpolated values) with 1/0.3 for frequency (so the rand value is drawn every .3 secs)
>> 
> Hi Victor and thanks. Now in fact, there is no more white noise and I 
> can hear a single, clean sine wave.
> But, unfortunately it seems I have not correctly understood the timed 
> jump mecanism: the sound passes from left to right but it remains at the 
> same frequence.
> Could you please help me to understand how to force jumps using time?
> 
> The script right now is the following:
> 
> 
> 
> -d -m0 -odac     ;;;realtime audio out
> 
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 2
> instr 2
> inota = cpspch(p4)
> ksl linseg 0, p3, 1
> agg:
> kfr randh 250, 2
> kfr = kfr+inota
> ;prints "kfr %2.2f", kfr
> timout 0, .1, cont ;jump each ... secs.
> reinit agg
> cont:
> rireturn
> a2 oscil 20000, kfr, 2
> outs a2*(1-ksl), a2*ksl
> endin
> 
> 
> f2 0 4096 10 1
> i2 0 2.5 7.02
> i2 + . 7.07
> i2 + 1 8.00
> i2 + .5 9.0
> i2 + 1.5 9.09
> i2 + 4 10.02
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 10:52
FromGabriele Battaglia
SubjectRe: Introducing myself and a question.

Reply to the Victor Lazzarini's message, wrote on 11/06/2015 at 11:40:
> Hi Gabriele,
>
> I think you’ve misunderstood what timout + reinit is used for. If you remove that bit of code,
> I think you will get what you want:
>
>   
> 
> -d -m0 -odac     ;;;realtime audio out
> 
> 
> nchnls = 2
> instr 2
> inota = cpspch(p4)
> ksl linseg 0, p3, 1
> kfr randh 250, 2
GB: now I'm more confused than before.
How many time per second, kfr is changed?
I think it shlud be every 1/4410 (K-rate) isn't it?
Instead it seems to keep its value for a longer period of time.
How can I force it to assume a new randh value each, .1 secs, for instance.

> kfr = kfr+inota
> a2 oscil 20000, kfr, 2
> outs a2*(1-ksl), a2*ksl
> endin
> 
> 
> f2 0 4096 10 1
> i2 0 2.5 7.02
> i2 + . 7.07
> i2 + 1 8.00
> i2 + .5 9.0
> i2 + 1.5 9.09
> i2 + 4 10.02
> 
> 
Gabriel.

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 11:46
Fromjpff
SubjectRe: Introducing myself and a question.

On Thu, 11 Jun 2015, Gabriele Battaglia wrote:

>> kfr randh 250, 2
> GB: now I'm more confused than before.
> How many time per second, kfr is changed?
> I think it shlud be every 1/4410 (K-rate) isn't it?
> Instead it seems to keep its value for a longer period of time.
> How can I force it to assume a new randh value each, .1 secs, for instance.


the 2 is twice a second.  It cecks each k-cycle to see if it is time yet 
for a change

==John ff

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 12:20
Fromhlolli
SubjectRe: Introducing myself and a question.
Try this for random 250Hz 1-2 times a second.



-d -m0 -odac     ;;;realtime audio out


sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
instr 2
inota = cpspch(p4)
ksl linseg 0, p3, 1
agg:
;kfr randh 250, 2
krand rspline 250, -250, 1, 2
kfr = krand+inota
;prints "kfr %2.2f", kfr
timout 0, .1, cont ;jump each ... secs.
reinit agg
cont:
rireturn
a2 oscil 20000, kfr, 2
outs a2*(1-ksl), a2*ksl
endin


f2 0 4096 10 1
i2 0 2.5 7.02
i2 + . 7.07
i2 + 1 8.00
i2 + .5 9.0
i2 + 1.5 9.09
i2 + 4 10.02

 



--
View this message in context: http://csound.1045644.n5.nabble.com/Introducing-myself-and-a-question-tp5742093p5742127.html
Sent from the Csound - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 19:01
Fromjoachim heintz
SubjectRe: Introducing myself and a question.
hi gabriele -

i send you a suggestion, without any reference to your code, and you can 
see if that helps.

some remarks:
1. to add/subtract 50 Hz is not quite correct in respect to the way we 
hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
you have an octave lower.  so it would be better to think in intervals 
or cents (which you can easily apply with the cent opcode).
2. although the code uses "random", it is the same result on each run. 
if you want a different one, you must give a different seed to the randh 
opcode by
kFreqDev randh 50, 3, 2
3. randi instead of randh may be more interesting.
4. the amplitude should not be constant for good musical results, so we 
should use something like
iDb random -18, 0
aSine poscil ampdb(iDb), kFreq
5. poscil is better than oscil because it is much more precise (my 
mission in csound =).

regards -
	joachim




-odac


sr = 44100
ksmps = 32
0dbfs = 1
nchnls = 2

   instr 1

;get central pitch from score
iCentralPitch = p4

;create random deviation +- 50 Hz three times a second
kFreqDev randh 50, 3

;actual frequency during performance
kFreq = cpspch(iCentralPitch) + kFreqDev

;create sine
aSine poscil .5, kFreq

;create movement from left to right over total duration of this call
kPan line 0, p3, 1

;stereo signal
aL, aR pan2 aSine, kPan

;output
outs aL, aR

   endin



i 1 0 2.5 7.02
i 1 + . 7.07
i 1 + 1 8.00
i 1 + .5 9.0
i 1 + 1.5 9.09
i 1 + 4 10.02




Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>
>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>
>> Sure post it here.  That is one of the purposes of this list
>> ==John ffitch
> Hi John and thanks.
> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>
> The project should produce some sounds that:
>
> 1. enter from left and pass along the stereo spectrum going away to the right;
> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>
> What I wrote is:
>
> ***
> 
> 
> -d
> -m0
> -odac     ;;;realtime audio out
> 
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 2
> instr 2
> inota = cpspch(p4)
> ksl linseg 0, p3, 1
> agg:
> kfr rand 50, 2
> kfr = kfr+inota
> ;prints "kfr %2.2f", kfr
> timout 0, .3, cont ;reinizializzare ogni ... secondi
> reinit agg
> cont:
> rireturn
> a2 oscil 20000, kfr, 2
> outs a2*(1-ksl), a2*ksl
> endin
> 
> 
> f2 0 4096 10 1
> i2 0 2.5 7.02
> i2 + . 7.07
> i2 + 1 8.00
> i2 + .5 9.0
> i2 + 1.5 9.09
> i2 + 4 10.02
> 
> 
>
> ***
> What I got instead is kind of pink noise with a sinusoide sound inside.
> What is not working, I guess, is the kfr changing each .3 seconds.
>
> Please help.
> Gabriel.
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 20:12
FromGabriele Battaglia
SubjectRe: Introducing myself and a question.
> Il giorno 11/giu/2015, alle ore 20:01, joachim heintz  ha scritto:
> 
> hi gabriele -
[…]
Hello Joachim and really thanks for your suggestion.
I’m going to keep your e-mail and study it on each its detail in order to be sure to have deeply understand all the concept you meant; probably I’ll ask you some more clarifications here and there.

I’ve just tried the code you wrote and there is no output sound from my system.
CSound doesn’t prompt error message though. I can’t know what is wrong with the code.

Thanks for now, Iìll be back on it next week.
Gabriel.
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 21:58
Fromluis jure
SubjectRe: Introducing myself and a question.
el 2015-06-11 a las 21:12 Gabriele Battaglia escribió:

> I’ve just tried the code you wrote and there is no output sound from my
> system.

mmm... this is strange. apart from his very valuable suggestions,
joachim's orchestra works flawlessly. there's nothing wrong with the and
it produces the expected output. so it is strange that you don't get any
sound. and you don't get any error message either? just out of curiosity,
what version of csound are you using? and operating system?

ciao,

lj

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-11 22:36
FromGabriele Battaglia
SubjectRe: Introducing myself and a question.
> Il giorno 11/giu/2015, alle ore 22:58, luis jure  ha scritto:
> 
> 
> el 2015-06-11 a las 21:12 Gabriele Battaglia escribió:
> 
>> I’ve just tried the code you wrote and there is no output sound from my
>> system.
> 
> mmm... this is strange. apart from his very valuable suggestions,
> joachim's orchestra works flawlessly. there's nothing wrong with the and
> it produces the expected output. so it is strange that you don't get any
> sound. and you don't get any error message either? just out of curiosity,
> what version of csound are you using? and operating system?
Ciao, very strange in fact.
I’m on my iMac27 running MacOS X 10.10.3, and CSound is the last stable, the 6.05 (Double).
While executing, I see the time table …
B 0.000 T 0.0000

and so forth, but no sound coming out.

I’ll give more investigations fourthly.

Thanks for answer.
Gabriel.
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 08:48
FromWolf Peuker
SubjectRe: Introducing myself and a question.
Hi Joachim,

also I have problems getting sound output from your example (with
Csound5, Win8 64bit), but I got at least a message (which is strange
because the poscil opcode documentation states that only 2 parameters
would be required), here is it:

Csound version 5.19.02 (double samples) Jan 27 2013
Reading options from $CSOUNDRC: C:\Program Files (x86)\Csound\.csoundrc
UnifiedCSD: example-2015-6-11.csd
Creating options
Creating orchestra
Creating score
graph init
using callback interface
Parsing successful!
error:  insufficient required arguments for opcode poscil.kk on line 23
1 syntax errors in orchestra.  compilation invalid

Best,
Wolf

Am 11.06.2015 um 20:01 schrieb joachim heintz:
> hi gabriele -
>
> i send you a suggestion, without any reference to your code, and you can 
> see if that helps.
>
> some remarks:
> 1. to add/subtract 50 Hz is not quite correct in respect to the way we 
> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
> you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
> you have an octave lower.  so it would be better to think in intervals 
> or cents (which you can easily apply with the cent opcode).
> 2. although the code uses "random", it is the same result on each run. 
> if you want a different one, you must give a different seed to the randh 
> opcode by
> kFreqDev randh 50, 3, 2
> 3. randi instead of randh may be more interesting.
> 4. the amplitude should not be constant for good musical results, so we 
> should use something like
> iDb random -18, 0
> aSine poscil ampdb(iDb), kFreq
> 5. poscil is better than oscil because it is much more precise (my 
> mission in csound =).
>
> regards -
> 	joachim
>
>
> 
> 
> -odac
> 
> 
> sr = 44100
> ksmps = 32
> 0dbfs = 1
> nchnls = 2
>
>    instr 1
>
> ;get central pitch from score
> iCentralPitch = p4
>
> ;create random deviation +- 50 Hz three times a second
> kFreqDev randh 50, 3
>
> ;actual frequency during performance
> kFreq = cpspch(iCentralPitch) + kFreqDev
>
> ;create sine
> aSine poscil .5, kFreq
>
> ;create movement from left to right over total duration of this call
> kPan line 0, p3, 1
>
> ;stereo signal
> aL, aR pan2 aSine, kPan
>
> ;output
> outs aL, aR
>
>    endin
>
> 
> 
> i 1 0 2.5 7.02
> i 1 + . 7.07
> i 1 + 1 8.00
> i 1 + .5 9.0
> i 1 + 1.5 9.09
> i 1 + 4 10.02
> 
> 
>
>
> Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>>
>>> Sure post it here.  That is one of the purposes of this list
>>> ==John ffitch
>> Hi John and thanks.
>> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>>
>> The project should produce some sounds that:
>>
>> 1. enter from left and pass along the stereo spectrum going away to the right;
>> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>>
>> What I wrote is:
>>
>> ***
>> 
>> 
>> -d
>> -m0
>> -odac     ;;;realtime audio out
>> 
>> 
>> sr = 44100
>> kr = 4410
>> ksmps = 10
>> nchnls = 2
>> instr 2
>> inota = cpspch(p4)
>> ksl linseg 0, p3, 1
>> agg:
>> kfr rand 50, 2
>> kfr = kfr+inota
>> ;prints "kfr %2.2f", kfr
>> timout 0, .3, cont ;reinizializzare ogni ... secondi
>> reinit agg
>> cont:
>> rireturn
>> a2 oscil 20000, kfr, 2
>> outs a2*(1-ksl), a2*ksl
>> endin
>> 
>> 
>> f2 0 4096 10 1
>> i2 0 2.5 7.02
>> i2 + . 7.07
>> i2 + 1 8.00
>> i2 + .5 9.0
>> i2 + 1.5 9.09
>> i2 + 4 10.02
>> 
>> 
>>
>> ***
>> What I got instead is kind of pink noise with a sinusoide sound inside.
>> What is not working, I guess, is the kfr changing each .3 seconds.
>>
>> Please help.
>> Gabriel.
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>          https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 08:54
FromGabriele Battaglia
SubjectRe: Introducing myself and a question.
> Il giorno 12/giu/2015, alle ore 09:48, Wolf Peuker  ha scritto:
> 
> Hi Joachim,
> 
> also I have problems getting sound output from your example (with
> Csound5, Win8 64bit), but I got at least a message (which is strange
> because the poscil opcode documentation states that only 2 parameters
> would be required), here is it:
[…]
Hello Wolf. From the documentation on poscil, the 3rd parameter can be missed and the opcode uses the -1 default, which means a sine wave.
Gabriel.
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 09:03
FromVictor Lazzarini
SubjectRe: Introducing myself and a question.
Hi Wolff,

your version of Csound is quite old. Joachim’s examples are for Csound 6.00 at least
(current version is 6.05).
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Jun 2015, at 08:48, Wolf Peuker  wrote:
> 
> Hi Joachim,
> 
> also I have problems getting sound output from your example (with
> Csound5, Win8 64bit), but I got at least a message (which is strange
> because the poscil opcode documentation states that only 2 parameters
> would be required), here is it:
> 
> Csound version 5.19.02 (double samples) Jan 27 2013
> Reading options from $CSOUNDRC: C:\Program Files (x86)\Csound\.csoundrc
> UnifiedCSD: example-2015-6-11.csd
> Creating options
> Creating orchestra
> Creating score
> graph init
> using callback interface
> Parsing successful!
> error:  insufficient required arguments for opcode poscil.kk on line 23
> 1 syntax errors in orchestra.  compilation invalid
> 
> Best,
> Wolf
> 
> Am 11.06.2015 um 20:01 schrieb joachim heintz:
>> hi gabriele -
>> 
>> i send you a suggestion, without any reference to your code, and you can 
>> see if that helps.
>> 
>> some remarks:
>> 1. to add/subtract 50 Hz is not quite correct in respect to the way we 
>> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
>> you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
>> you have an octave lower.  so it would be better to think in intervals 
>> or cents (which you can easily apply with the cent opcode).
>> 2. although the code uses "random", it is the same result on each run. 
>> if you want a different one, you must give a different seed to the randh 
>> opcode by
>> kFreqDev randh 50, 3, 2
>> 3. randi instead of randh may be more interesting.
>> 4. the amplitude should not be constant for good musical results, so we 
>> should use something like
>> iDb random -18, 0
>> aSine poscil ampdb(iDb), kFreq
>> 5. poscil is better than oscil because it is much more precise (my 
>> mission in csound =).
>> 
>> regards -
>> 	joachim
>> 
>> 
>> 
>> 
>> -odac
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> 0dbfs = 1
>> nchnls = 2
>> 
>>   instr 1
>> 
>> ;get central pitch from score
>> iCentralPitch = p4
>> 
>> ;create random deviation +- 50 Hz three times a second
>> kFreqDev randh 50, 3
>> 
>> ;actual frequency during performance
>> kFreq = cpspch(iCentralPitch) + kFreqDev
>> 
>> ;create sine
>> aSine poscil .5, kFreq
>> 
>> ;create movement from left to right over total duration of this call
>> kPan line 0, p3, 1
>> 
>> ;stereo signal
>> aL, aR pan2 aSine, kPan
>> 
>> ;output
>> outs aL, aR
>> 
>>   endin
>> 
>> 
>> 
>> i 1 0 2.5 7.02
>> i 1 + . 7.07
>> i 1 + 1 8.00
>> i 1 + .5 9.0
>> i 1 + 1.5 9.09
>> i 1 + 4 10.02
>> 
>> 
>> 
>> 
>> Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>>>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>>> 
>>>> Sure post it here.  That is one of the purposes of this list
>>>> ==John ffitch
>>> Hi John and thanks.
>>> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>>> 
>>> The project should produce some sounds that:
>>> 
>>> 1. enter from left and pass along the stereo spectrum going away to the right;
>>> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>>> 
>>> What I wrote is:
>>> 
>>> ***
>>> 
>>> 
>>> -d
>>> -m0
>>> -odac     ;;;realtime audio out
>>> 
>>> 
>>> sr = 44100
>>> kr = 4410
>>> ksmps = 10
>>> nchnls = 2
>>> instr 2
>>> inota = cpspch(p4)
>>> ksl linseg 0, p3, 1
>>> agg:
>>> kfr rand 50, 2
>>> kfr = kfr+inota
>>> ;prints "kfr %2.2f", kfr
>>> timout 0, .3, cont ;reinizializzare ogni ... secondi
>>> reinit agg
>>> cont:
>>> rireturn
>>> a2 oscil 20000, kfr, 2
>>> outs a2*(1-ksl), a2*ksl
>>> endin
>>> 
>>> 
>>> f2 0 4096 10 1
>>> i2 0 2.5 7.02
>>> i2 + . 7.07
>>> i2 + 1 8.00
>>> i2 + .5 9.0
>>> i2 + 1.5 9.09
>>> i2 + 4 10.02
>>> 
>>> 
>>> 
>>> ***
>>> What I got instead is kind of pink noise with a sinusoide sound inside.
>>> What is not working, I guess, is the kfr changing each .3 seconds.
>>> 
>>> Please help.
>>> Gabriel.
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>         https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 09:19
FromGabriele Battaglia
SubjectSolved. Re: Introducing myself and a question.
Sorry all.
The joachim’s example works.
It was my fault forgetting to copy the 0dbfs  = 1 statement.

Gabriel.
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 09:30
FromGabriele Battaglia
SubjectWhat I wanted. Was: Re: Introducing myself and a question.
Ok, here is the example sounding how I wanted.
Again thanks to Joachim for he’s precious suggestions and teaching.



-d
;-m0
-odac     ;;;realtime audio out


sr = 44100
ksmps = 32
0dbfs = 1
nchnls = 2
instr 2

;get central pitch from score
iCentralPitch = p4

;create random deviation p4*2
kFreqDev randh p4*2, 13

;actual frequency during performance
kFreq = iCentralPitch + kFreqDev

;create sine
aSine poscil .5, kFreq

;create movement from left to right over total duration of this call
kPan line 0, p3, 1

;stereo signal
aL, aR pan2 aSine, kPan

;output
outs aL, aR

endin


i2 0 2.5 400
i2 + 3 450
i2 + 2 300
i2 + 5 650
i2 + 3.5 400
i2 + 10 1100
i2 21 10 850
i2 27 8 90
i2 29 0.9 2300
i2 30 0.8 2350
i2 31.5 .7 2450
i2 33 1.1 1975

 
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 09:36
FromWolf Peuker
SubjectRe: Introducing myself and a question.
Hi Victor,

I just upgraded to the latest version of Csound6, and it works. Thanks
for the "gentle pressure" :-)
But *why* is this example not working with Csound5 (I don't see any Cs6
requirements here), could you explain it?

Thanks in advance,
Wolf

Am 12.06.2015 um 10:03 schrieb Victor Lazzarini:
> Hi Wolff,
>
> your version of Csound is quite old. Joachim’s examples are for Csound 6.00 at least
> (current version is 6.05).
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
>
>> On 12 Jun 2015, at 08:48, Wolf Peuker  wrote:
>>
>> Hi Joachim,
>>
>> also I have problems getting sound output from your example (with
>> Csound5, Win8 64bit), but I got at least a message (which is strange
>> because the poscil opcode documentation states that only 2 parameters
>> would be required), here is it:
>>
>> Csound version 5.19.02 (double samples) Jan 27 2013
>> Reading options from $CSOUNDRC: C:\Program Files (x86)\Csound\.csoundrc
>> UnifiedCSD: example-2015-6-11.csd
>> Creating options
>> Creating orchestra
>> Creating score
>> graph init
>> using callback interface
>> Parsing successful!
>> error:  insufficient required arguments for opcode poscil.kk on line 23
>> 1 syntax errors in orchestra.  compilation invalid
>>
>> Best,
>> Wolf
>>
>> Am 11.06.2015 um 20:01 schrieb joachim heintz:
>>> hi gabriele -
>>>
>>> i send you a suggestion, without any reference to your code, and you can 
>>> see if that helps.
>>>
>>> some remarks:
>>> 1. to add/subtract 50 Hz is not quite correct in respect to the way we 
>>> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
>>> you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
>>> you have an octave lower.  so it would be better to think in intervals 
>>> or cents (which you can easily apply with the cent opcode).
>>> 2. although the code uses "random", it is the same result on each run. 
>>> if you want a different one, you must give a different seed to the randh 
>>> opcode by
>>> kFreqDev randh 50, 3, 2
>>> 3. randi instead of randh may be more interesting.
>>> 4. the amplitude should not be constant for good musical results, so we 
>>> should use something like
>>> iDb random -18, 0
>>> aSine poscil ampdb(iDb), kFreq
>>> 5. poscil is better than oscil because it is much more precise (my 
>>> mission in csound =).
>>>
>>> regards -
>>> 	joachim
>>>
>>>
>>> 
>>> 
>>> -odac
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 32
>>> 0dbfs = 1
>>> nchnls = 2
>>>
>>>   instr 1
>>>
>>> ;get central pitch from score
>>> iCentralPitch = p4
>>>
>>> ;create random deviation +- 50 Hz three times a second
>>> kFreqDev randh 50, 3
>>>
>>> ;actual frequency during performance
>>> kFreq = cpspch(iCentralPitch) + kFreqDev
>>>
>>> ;create sine
>>> aSine poscil .5, kFreq
>>>
>>> ;create movement from left to right over total duration of this call
>>> kPan line 0, p3, 1
>>>
>>> ;stereo signal
>>> aL, aR pan2 aSine, kPan
>>>
>>> ;output
>>> outs aL, aR
>>>
>>>   endin
>>>
>>> 
>>> 
>>> i 1 0 2.5 7.02
>>> i 1 + . 7.07
>>> i 1 + 1 8.00
>>> i 1 + .5 9.0
>>> i 1 + 1.5 9.09
>>> i 1 + 4 10.02
>>> 
>>> 
>>>
>>>
>>> Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>>>>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>>>>
>>>>> Sure post it here.  That is one of the purposes of this list
>>>>> ==John ffitch
>>>> Hi John and thanks.
>>>> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>>>>
>>>> The project should produce some sounds that:
>>>>
>>>> 1. enter from left and pass along the stereo spectrum going away to the right;
>>>> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>>>>
>>>> What I wrote is:
>>>>
>>>> ***
>>>> 
>>>> 
>>>> -d
>>>> -m0
>>>> -odac     ;;;realtime audio out
>>>> 
>>>> 
>>>> sr = 44100
>>>> kr = 4410
>>>> ksmps = 10
>>>> nchnls = 2
>>>> instr 2
>>>> inota = cpspch(p4)
>>>> ksl linseg 0, p3, 1
>>>> agg:
>>>> kfr rand 50, 2
>>>> kfr = kfr+inota
>>>> ;prints "kfr %2.2f", kfr
>>>> timout 0, .3, cont ;reinizializzare ogni ... secondi
>>>> reinit agg
>>>> cont:
>>>> rireturn
>>>> a2 oscil 20000, kfr, 2
>>>> outs a2*(1-ksl), a2*ksl
>>>> endin
>>>> 
>>>> 
>>>> f2 0 4096 10 1
>>>> i2 0 2.5 7.02
>>>> i2 + . 7.07
>>>> i2 + 1 8.00
>>>> i2 + .5 9.0
>>>> i2 + 1.5 9.09
>>>> i2 + 4 10.02
>>>> 
>>>> 
>>>>
>>>> ***
>>>> What I got instead is kind of pink noise with a sinusoide sound inside.
>>>> What is not working, I guess, is the kfr changing each .3 seconds.
>>>>
>>>> Please help.
>>>> Gabriel.
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>         https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>        https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 09:44
FromVictor Lazzarini
SubjectRe: Introducing myself and a question.
It was only in Csound 6 that we introduced the optional table parameter for oscil, poscil etc
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Jun 2015, at 09:36, Wolf Peuker  wrote:
> 
> Hi Victor,
> 
> I just upgraded to the latest version of Csound6, and it works. Thanks
> for the "gentle pressure" :-)
> But *why* is this example not working with Csound5 (I don't see any Cs6
> requirements here), could you explain it?
> 
> Thanks in advance,
> Wolf
> 
> Am 12.06.2015 um 10:03 schrieb Victor Lazzarini:
>> Hi Wolff,
>> 
>> your version of Csound is quite old. Joachim’s examples are for Csound 6.00 at least
>> (current version is 6.05).
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 12 Jun 2015, at 08:48, Wolf Peuker  wrote:
>>> 
>>> Hi Joachim,
>>> 
>>> also I have problems getting sound output from your example (with
>>> Csound5, Win8 64bit), but I got at least a message (which is strange
>>> because the poscil opcode documentation states that only 2 parameters
>>> would be required), here is it:
>>> 
>>> Csound version 5.19.02 (double samples) Jan 27 2013
>>> Reading options from $CSOUNDRC: C:\Program Files (x86)\Csound\.csoundrc
>>> UnifiedCSD: example-2015-6-11.csd
>>> Creating options
>>> Creating orchestra
>>> Creating score
>>> graph init
>>> using callback interface
>>> Parsing successful!
>>> error:  insufficient required arguments for opcode poscil.kk on line 23
>>> 1 syntax errors in orchestra.  compilation invalid
>>> 
>>> Best,
>>> Wolf
>>> 
>>> Am 11.06.2015 um 20:01 schrieb joachim heintz:
>>>> hi gabriele -
>>>> 
>>>> i send you a suggestion, without any reference to your code, and you can 
>>>> see if that helps.
>>>> 
>>>> some remarks:
>>>> 1. to add/subtract 50 Hz is not quite correct in respect to the way we 
>>>> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
>>>> you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
>>>> you have an octave lower.  so it would be better to think in intervals 
>>>> or cents (which you can easily apply with the cent opcode).
>>>> 2. although the code uses "random", it is the same result on each run. 
>>>> if you want a different one, you must give a different seed to the randh 
>>>> opcode by
>>>> kFreqDev randh 50, 3, 2
>>>> 3. randi instead of randh may be more interesting.
>>>> 4. the amplitude should not be constant for good musical results, so we 
>>>> should use something like
>>>> iDb random -18, 0
>>>> aSine poscil ampdb(iDb), kFreq
>>>> 5. poscil is better than oscil because it is much more precise (my 
>>>> mission in csound =).
>>>> 
>>>> regards -
>>>> 	joachim
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -odac
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 32
>>>> 0dbfs = 1
>>>> nchnls = 2
>>>> 
>>>>  instr 1
>>>> 
>>>> ;get central pitch from score
>>>> iCentralPitch = p4
>>>> 
>>>> ;create random deviation +- 50 Hz three times a second
>>>> kFreqDev randh 50, 3
>>>> 
>>>> ;actual frequency during performance
>>>> kFreq = cpspch(iCentralPitch) + kFreqDev
>>>> 
>>>> ;create sine
>>>> aSine poscil .5, kFreq
>>>> 
>>>> ;create movement from left to right over total duration of this call
>>>> kPan line 0, p3, 1
>>>> 
>>>> ;stereo signal
>>>> aL, aR pan2 aSine, kPan
>>>> 
>>>> ;output
>>>> outs aL, aR
>>>> 
>>>>  endin
>>>> 
>>>> 
>>>> 
>>>> i 1 0 2.5 7.02
>>>> i 1 + . 7.07
>>>> i 1 + 1 8.00
>>>> i 1 + .5 9.0
>>>> i 1 + 1.5 9.09
>>>> i 1 + 4 10.02
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>>>>>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>>>>> 
>>>>>> Sure post it here.  That is one of the purposes of this list
>>>>>> ==John ffitch
>>>>> Hi John and thanks.
>>>>> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>>>>> 
>>>>> The project should produce some sounds that:
>>>>> 
>>>>> 1. enter from left and pass along the stereo spectrum going away to the right;
>>>>> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>>>>> 
>>>>> What I wrote is:
>>>>> 
>>>>> ***
>>>>> 
>>>>> 
>>>>> -d
>>>>> -m0
>>>>> -odac     ;;;realtime audio out
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> kr = 4410
>>>>> ksmps = 10
>>>>> nchnls = 2
>>>>> instr 2
>>>>> inota = cpspch(p4)
>>>>> ksl linseg 0, p3, 1
>>>>> agg:
>>>>> kfr rand 50, 2
>>>>> kfr = kfr+inota
>>>>> ;prints "kfr %2.2f", kfr
>>>>> timout 0, .3, cont ;reinizializzare ogni ... secondi
>>>>> reinit agg
>>>>> cont:
>>>>> rireturn
>>>>> a2 oscil 20000, kfr, 2
>>>>> outs a2*(1-ksl), a2*ksl
>>>>> endin
>>>>> 
>>>>> 
>>>>> f2 0 4096 10 1
>>>>> i2 0 2.5 7.02
>>>>> i2 + . 7.07
>>>>> i2 + 1 8.00
>>>>> i2 + .5 9.0
>>>>> i2 + 1.5 9.09
>>>>> i2 + 4 10.02
>>>>> 
>>>>> 
>>>>> 
>>>>> ***
>>>>> What I got instead is kind of pink noise with a sinusoide sound inside.
>>>>> What is not working, I guess, is the kfr changing each .3 seconds.
>>>>> 
>>>>> Please help.
>>>>> Gabriel.
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>        https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>       https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 11:16
Fromjpff
SubjectRe: Introducing myself and a question.
AttachmentsNone  None  
The introduction of the default sie table ws introdced in csound6 I think. 
Certiny recent


On Fri, 12 Jun 2015, Wolf Peuker wrote:

> Hi Victor,
>
> I just upgraded to the latest version of Csound6, and it works. Thanks
> for the "gentle pressure" :-)
> But *why* is this example not working with Csound5 (I don't see any Cs6
> requirements here), could you explain it?
>
> Thanks in advance,
> Wolf
>
> Am 12.06.2015 um 10:03 schrieb Victor Lazzarini:
>> Hi Wolff,
>>
>> your version of Csound is quite old. Joachim’s examples are for Csound 6.00 at least
>> (current version is 6.05).
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>>
>>> On 12 Jun 2015, at 08:48, Wolf Peuker  wrote:
>>>
>>> Hi Joachim,
>>>
>>> also I have problems getting sound output from your example (with
>>> Csound5, Win8 64bit), but I got at least a message (which is strange
>>> because the poscil opcode documentation states that only 2 parameters
>>> would be required), here is it:
>>>
>>> Csound version 5.19.02 (double samples) Jan 27 2013
>>> Reading options from $CSOUNDRC: C:\Program Files (x86)\Csound\.csoundrc
>>> UnifiedCSD: example-2015-6-11.csd
>>> Creating options
>>> Creating orchestra
>>> Creating score
>>> graph init
>>> using callback interface
>>> Parsing successful!
>>> error:  insufficient required arguments for opcode poscil.kk on line 23
>>> 1 syntax errors in orchestra.  compilation invalid
>>>
>>> Best,
>>> Wolf
>>>
>>> Am 11.06.2015 um 20:01 schrieb joachim heintz:
>>>> hi gabriele -
>>>>
>>>> i send you a suggestion, without any reference to your code, and you can 
>>>> see if that helps.
>>>>
>>>> some remarks:
>>>> 1. to add/subtract 50 Hz is not quite correct in respect to the way we 
>>>> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
>>>> you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
>>>> you have an octave lower.  so it would be better to think in intervals 
>>>> or cents (which you can easily apply with the cent opcode).
>>>> 2. although the code uses "random", it is the same result on each run. 
>>>> if you want a different one, you must give a different seed to the randh 
>>>> opcode by
>>>> kFreqDev randh 50, 3, 2
>>>> 3. randi instead of randh may be more interesting.
>>>> 4. the amplitude should not be constant for good musical results, so we 
>>>> should use something like
>>>> iDb random -18, 0
>>>> aSine poscil ampdb(iDb), kFreq
>>>> 5. poscil is better than oscil because it is much more precise (my 
>>>> mission in csound =).
>>>>
>>>> regards -
>>>> 	joachim
>>>>
>>>>
>>>> 
>>>> 
>>>> -odac
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 32
>>>> 0dbfs = 1
>>>> nchnls = 2
>>>>
>>>>   instr 1
>>>>
>>>> ;get central pitch from score
>>>> iCentralPitch = p4
>>>>
>>>> ;create random deviation +- 50 Hz three times a second
>>>> kFreqDev randh 50, 3
>>>>
>>>> ;actual frequency during performance
>>>> kFreq = cpspch(iCentralPitch) + kFreqDev
>>>>
>>>> ;create sine
>>>> aSine poscil .5, kFreq
>>>>
>>>> ;create movement from left to right over total duration of this call
>>>> kPan line 0, p3, 1
>>>>
>>>> ;stereo signal
>>>> aL, aR pan2 aSine, kPan
>>>>
>>>> ;output
>>>> outs aL, aR
>>>>
>>>>   endin
>>>>
>>>> 
>>>> 
>>>> i 1 0 2.5 7.02
>>>> i 1 + . 7.07
>>>> i 1 + 1 8.00
>>>> i 1 + .5 9.0
>>>> i 1 + 1.5 9.09
>>>> i 1 + 4 10.02
>>>> 
>>>> 
>>>>
>>>>
>>>> Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>>>>>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>>>>>
>>>>>> Sure post it here.  That is one of the purposes of this list
>>>>>> ==John ffitch
>>>>> Hi John and thanks.
>>>>> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>>>>>
>>>>> The project should produce some sounds that:
>>>>>
>>>>> 1. enter from left and pass along the stereo spectrum going away to the right;
>>>>> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>>>>>
>>>>> What I wrote is:
>>>>>
>>>>> ***
>>>>> 
>>>>> 
>>>>> -d
>>>>> -m0
>>>>> -odac     ;;;realtime audio out
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> kr = 4410
>>>>> ksmps = 10
>>>>> nchnls = 2
>>>>> instr 2
>>>>> inota = cpspch(p4)
>>>>> ksl linseg 0, p3, 1
>>>>> agg:
>>>>> kfr rand 50, 2
>>>>> kfr = kfr+inota
>>>>> ;prints "kfr %2.2f", kfr
>>>>> timout 0, .3, cont ;reinizializzare ogni ... secondi
>>>>> reinit agg
>>>>> cont:
>>>>> rireturn
>>>>> a2 oscil 20000, kfr, 2
>>>>> outs a2*(1-ksl), a2*ksl
>>>>> endin
>>>>> 
>>>>> 
>>>>> f2 0 4096 10 1
>>>>> i2 0 2.5 7.02
>>>>> i2 + . 7.07
>>>>> i2 + 1 8.00
>>>>> i2 + .5 9.0
>>>>> i2 + 1.5 9.09
>>>>> i2 + 4 10.02
>>>>> 
>>>>> 
>>>>>
>>>>> ***
>>>>> What I got instead is kind of pink noise with a sinusoide sound inside.
>>>>> What is not working, I guess, is the kfr changing each .3 seconds.
>>>>>
>>>>> Please help.
>>>>> Gabriel.
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>         https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>        https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>        https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Date2015-06-12 11:48
FromWolf Peuker
SubjectRe: Introducing myself and a question.
Am 12.06.2015 um 12:16 schrieb jpff:
> The introduction of the default sie table ws introdced in csound6 I
> think. Certiny recent
>
Ah, now I see. The manual isn't clear about this, but I confess dealing
with version-dependent *optionality* isn't really easy.
I'm still a beginner and also new to this list. That's why I didn't
realize that there was such an important change for the *oscil opcodes.

@Victor: Sorry, I starred on the word *table* in your email and didn't
get your message.

Thanks for clarifying :-)
Wolf

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-12 19:53
Fromjpff
SubjectRe: Introducing myself and a question.
AttachmentsNone  None  

On Fri, 12 Jun 2015, Wolf Peuker wrote:

> Hi Victor,
>
> I just upgraded to the latest version of Csound6, and it works. Thanks
> for the "gentle pressure" :-)
> But *why* is this example not working with Csound5 (I don't see any Cs6
> requirements here), could you explain it?
>
> Thanks in advance,
> Wolf
>
> Am 12.06.2015 um 10:03 schrieb Victor Lazzarini:
>> Hi Wolff,
>>
>> your version of Csound is quite old. Joachim’s examples are for Csound 6.00 at least
>> (current version is 6.05).
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>>
>>> On 12 Jun 2015, at 08:48, Wolf Peuker  wrote:
>>>
>>> Hi Joachim,
>>>
>>> also I have problems getting sound output from your example (with
>>> Csound5, Win8 64bit), but I got at least a message (which is strange
>>> because the poscil opcode documentation states that only 2 parameters
>>> would be required), here is it:
>>>
>>> Csound version 5.19.02 (double samples) Jan 27 2013
>>> Reading options from $CSOUNDRC: C:\Program Files (x86)\Csound\.csoundrc
>>> UnifiedCSD: example-2015-6-11.csd
>>> Creating options
>>> Creating orchestra
>>> Creating score
>>> graph init
>>> using callback interface
>>> Parsing successful!
>>> error:  insufficient required arguments for opcode poscil.kk on line 23
>>> 1 syntax errors in orchestra.  compilation invalid
>>>
>>> Best,
>>> Wolf
>>>
>>> Am 11.06.2015 um 20:01 schrieb joachim heintz:
>>>> hi gabriele -
>>>>
>>>> i send you a suggestion, without any reference to your code, and you can 
>>>> see if that helps.
>>>>
>>>> some remarks:
>>>> 1. to add/subtract 50 Hz is not quite correct in respect to the way we 
>>>> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz, 
>>>> you have a fifth higher.  but if you subtract 100 Hz from the same tone, 
>>>> you have an octave lower.  so it would be better to think in intervals 
>>>> or cents (which you can easily apply with the cent opcode).
>>>> 2. although the code uses "random", it is the same result on each run. 
>>>> if you want a different one, you must give a different seed to the randh 
>>>> opcode by
>>>> kFreqDev randh 50, 3, 2
>>>> 3. randi instead of randh may be more interesting.
>>>> 4. the amplitude should not be constant for good musical results, so we 
>>>> should use something like
>>>> iDb random -18, 0
>>>> aSine poscil ampdb(iDb), kFreq
>>>> 5. poscil is better than oscil because it is much more precise (my 
>>>> mission in csound =).
>>>>
>>>> regards -
>>>> 	joachim
>>>>
>>>>
>>>> 
>>>> 
>>>> -odac
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 32
>>>> 0dbfs = 1
>>>> nchnls = 2
>>>>
>>>>   instr 1
>>>>
>>>> ;get central pitch from score
>>>> iCentralPitch = p4
>>>>
>>>> ;create random deviation +- 50 Hz three times a second
>>>> kFreqDev randh 50, 3
>>>>
>>>> ;actual frequency during performance
>>>> kFreq = cpspch(iCentralPitch) + kFreqDev
>>>>
>>>> ;create sine
>>>> aSine poscil .5, kFreq
>>>>
>>>> ;create movement from left to right over total duration of this call
>>>> kPan line 0, p3, 1
>>>>
>>>> ;stereo signal
>>>> aL, aR pan2 aSine, kPan
>>>>
>>>> ;output
>>>> outs aL, aR
>>>>
>>>>   endin
>>>>
>>>> 
>>>> 
>>>> i 1 0 2.5 7.02
>>>> i 1 + . 7.07
>>>> i 1 + 1 8.00
>>>> i 1 + .5 9.0
>>>> i 1 + 1.5 9.09
>>>> i 1 + 4 10.02
>>>> 
>>>> 
>>>>
>>>>
>>>> Am 10.06.2015 um 22:47 schrieb Gabriele Battaglia:
>>>>>> Il giorno 10/giu/2015, alle ore 22:03, jpff  ha scritto:
>>>>>>
>>>>>> Sure post it here.  That is one of the purposes of this list
>>>>>> ==John ffitch
>>>>> Hi John and thanks.
>>>>> So. first of all, I just wish to remind that I’m at very beginning of my learning curve with CSound.
>>>>>
>>>>> The project should produce some sounds that:
>>>>>
>>>>> 1. enter from left and pass along the stereo spectrum going away to the right;
>>>>> 2. have a base frequence but change from -50 up to + 50 from it, every .3 seconds.
>>>>>
>>>>> What I wrote is:
>>>>>
>>>>> ***
>>>>> 
>>>>> 
>>>>> -d
>>>>> -m0
>>>>> -odac     ;;;realtime audio out
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> kr = 4410
>>>>> ksmps = 10
>>>>> nchnls = 2
>>>>> instr 2
>>>>> inota = cpspch(p4)
>>>>> ksl linseg 0, p3, 1
>>>>> agg:
>>>>> kfr rand 50, 2
>>>>> kfr = kfr+inota
>>>>> ;prints "kfr %2.2f", kfr
>>>>> timout 0, .3, cont ;reinizializzare ogni ... secondi
>>>>> reinit agg
>>>>> cont:
>>>>> rireturn
>>>>> a2 oscil 20000, kfr, 2
>>>>> outs a2*(1-ksl), a2*ksl
>>>>> endin
>>>>> 
>>>>> 
>>>>> f2 0 4096 10 1
>>>>> i2 0 2.5 7.02
>>>>> i2 + . 7.07
>>>>> i2 + 1 8.00
>>>>> i2 + .5 9.0
>>>>> i2 + 1.5 9.09
>>>>> i2 + 4 10.02
>>>>> 
>>>>> 
>>>>>
>>>>> ***
>>>>> What I got instead is kind of pink noise with a sinusoide sound inside.
>>>>> What is not working, I guess, is the kfr changing each .3 seconds.
>>>>>
>>>>> Please help.
>>>>> Gabriel.
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>         https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>        https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>        https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Date2015-06-12 19:54
Fromjpff
SubjectRe: Introducing myself and a question.
>From the manual

     New in Csound version 3.52
     Function table optional in Csound version 6.00
     Skip of initialisation new in version 6.06


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-15 10:59
FromGabriele Battaglia
SubjectRe2: Introducing myself and a question.

Reply to the joachim heintz's message, wrote on 11/06/2015 at 20:01:
> hi gabriele -
Hello again Joachim.

>
> i send you a suggestion, without any reference to your code, and you can
> see if that helps.
Thanks, it helped a lot.

>
> some remarks:
> 1. to add/subtract 50 Hz is not quite correct in respect to the way we
> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz,
> you have a fifth higher.  but if you subtract 100 Hz from the same tone,
> you have an octave lower.  so it would be better to think in intervals
> or cents (which you can easily apply with the cent opcode).
Ok, I read the guide for cent and understood how it works.

> 2. although the code uses "random", it is the same result on each run.
> if you want a different one, you must give a different seed to the randh
> opcode by
> kFreqDev randh 50, 3, 2
I've implemented it on my CSD file, it works now and all sounds change 
in a different way from the preview one but CSound gives me a warning:

"WARNING: Seeding from current time... followed by an integer number. 
What does it mean and is it something I must fix?

> 3. randi instead of randh may be more interesting.
Totally agree! The played sound is nicer.

> 4. the amplitude should not be constant for good musical results, so we
> should use something like
> iDb random -18, 0
> aSine poscil ampdb(iDb), kFreq
Ok, I think I have to left this concept for further investigation 
because right know I believe to be ... to much beginner to understand. 
:) My dubt is: if a set and instrument to play at 0.5 volume, why I 
would decrease it at -18dB?

> 5. poscil is better than oscil because it is much more precise (my
> mission in csound =).
Thanks: I'm going to use poscil instead. Do you know some case in which 
oscil would be preferable to poscil? And why?

>
> regards -
To you too, all the best from Italy.

Gabriel.

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-06-15 19:44
Fromjoachim heintz
SubjectRe: Re2: Introducing myself and a question.
hi back -

the warning message for seed is ok.  i understand it as kind of service 
for us, telling us the particular seed value here.  and a warning is not 
an error.

the usage of oscil is, i think, due to historical reasons.  there was a 
time where the way oscil works was cheaper in terms of cpu usage.  now 
we should use the more precise oscillator, to avoid bad surprises in 
certain situations (like very low frequencies).  this is at least the 
mission to which i dedicated my life ... =)

tschüss -
	joachim


Am 15.06.2015 um 11:59 schrieb Gabriele Battaglia:
>
>
> Reply to the joachim heintz's message, wrote on 11/06/2015 at 20:01:
>> hi gabriele -
> Hello again Joachim.
>
>>
>> i send you a suggestion, without any reference to your code, and you can
>> see if that helps.
> Thanks, it helped a lot.
>
>>
>> some remarks:
>> 1. to add/subtract 50 Hz is not quite correct in respect to the way we
>> hear. if you have a tone with frequency of 200 Hz, and you add 100 Hz,
>> you have a fifth higher.  but if you subtract 100 Hz from the same tone,
>> you have an octave lower.  so it would be better to think in intervals
>> or cents (which you can easily apply with the cent opcode).
> Ok, I read the guide for cent and understood how it works.
>
>> 2. although the code uses "random", it is the same result on each run.
>> if you want a different one, you must give a different seed to the randh
>> opcode by
>> kFreqDev randh 50, 3, 2
> I've implemented it on my CSD file, it works now and all sounds change
> in a different way from the preview one but CSound gives me a warning:
>
> "WARNING: Seeding from current time... followed by an integer number.
> What does it mean and is it something I must fix?
>
>> 3. randi instead of randh may be more interesting.
> Totally agree! The played sound is nicer.
>
>> 4. the amplitude should not be constant for good musical results, so we
>> should use something like
>> iDb random -18, 0
>> aSine poscil ampdb(iDb), kFreq
> Ok, I think I have to left this concept for further investigation
> because right know I believe to be ... to much beginner to understand.
> :) My dubt is: if a set and instrument to play at 0.5 volume, why I
> would decrease it at -18dB?
>
>> 5. poscil is better than oscil because it is much more precise (my
>> mission in csound =).
> Thanks: I'm going to use poscil instead. Do you know some case in which
> oscil would be preferable to poscil? And why?
>
>>
>> regards -
> To you too, all the best from Italy.
>
> Gabriel.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here