[Csnd] The Joy of Non-interpolating Oscillators

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] The Joy of Non-interpolating Oscillators

Steven Yi
Hi All,

I've been enjoying using non-interpolating oscillators a lot lately in
live coding events (using the xosc UDO in my csound-live-code project)
but I had been planning to experiment a bit with oscil for while to
use them at control rate. I finally got around to it today and got a
nice arpeggiator effect going and I thought I'd share the CSD here.
The interesting bit is probably the Shimmer instrument and using the
form of oscil that takes in an array to use as a table.

One thing I found was that it would have been nice if oscil allowed
non-power-of-two table sizes.

Otherwise, was happy to get a joyful sound. :)

All best,
steven

Csound mailing list
[hidden email]
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

oscil_freq.csd (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Victor Lazzarini-2
We can make a version of poscil that truncates.

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

> On 24 Feb 2018, at 02:38, Steven Yi <[hidden email]> wrote:
>
> Hi All,
>
> I've been enjoying using non-interpolating oscillators a lot lately in
> live coding events (using the xosc UDO in my csound-live-code project)
> but I had been planning to experiment a bit with oscil for while to
> use them at control rate. I finally got around to it today and got a
> nice arpeggiator effect going and I thought I'd share the CSD here.
> The interesting bit is probably the Shimmer instrument and using the
> form of oscil that takes in an array to use as a table.
>
> One thing I found was that it would have been nice if oscil allowed
> non-power-of-two table sizes.
>
> Otherwise, was happy to get a joyful sound. :)
>
> All best,
> steven
>
> Csound mailing list
> [hidden email]
> 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
> <oscil_freq.csd>

Csound mailing list
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

zappfinger
In reply to this post by Steven Yi
Would love to hear this. What command should I send to get any sound?

Richard


On 24/02/18 03:38, Steven Yi wrote:

> Hi All,
>
> I've been enjoying using non-interpolating oscillators a lot lately in
> live coding events (using the xosc UDO in my csound-live-code project)
> but I had been planning to experiment a bit with oscil for while to
> use them at control rate. I finally got around to it today and got a
> nice arpeggiator effect going and I thought I'd share the CSD here.
> The interesting bit is probably the Shimmer instrument and using the
> form of oscil that takes in an array to use as a table.
>
> One thing I found was that it would have been nice if oscil allowed
> non-power-of-two table sizes.
>
> Otherwise, was happy to get a joyful sound. :)
>
> All best,
> steven
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

myrddinemrys

I must be experiencing the same thing as Richard—it isn’t playing for me, and seems to be stuck at:

“PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'

writing 4096 sample blks of 64-bit floats to dac

SECTION 1:”

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Saturday, February 24, 2018 3:43 AM
To: [hidden email]
Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

 

Would love to hear this. What command should I send to get any sound?

 

Richard

 

 

On 24/02/18 03:38, Steven Yi wrote:

> Hi All,

> 

> I've been enjoying using non-interpolating oscillators a lot lately in

> live coding events (using the xosc UDO in my csound-live-code project)

> but I had been planning to experiment a bit with oscil for while to

> use them at control rate. I finally got around to it today and got a

> nice arpeggiator effect going and I thought I'd share the CSD here.

> The interesting bit is probably the Shimmer instrument and using the

> form of oscil that takes in an array to use as a table.

> 

> One thing I found was that it would have been nice if oscil allowed

> non-power-of-two table sizes.

> 

> Otherwise, was happy to get a joyful sound. :)

> 

> All best,

> steven

> 

> Csound mailing list

> [hidden email]

> 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

[hidden email]

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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Steven Yi
In reply to this post by Victor Lazzarini-2
Perhaps I'm confused but I'm not sure what that gets?  I also realized
just now that I could write a very simple UDO for this.  I'll post a
revised CSD in a moment. :)

On Sat, Feb 24, 2018 at 2:03 AM, Victor Lazzarini
<[hidden email]> wrote:

> We can make a version of poscil that truncates.
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
>> On 24 Feb 2018, at 02:38, Steven Yi <[hidden email]> wrote:
>>
>> Hi All,
>>
>> I've been enjoying using non-interpolating oscillators a lot lately in
>> live coding events (using the xosc UDO in my csound-live-code project)
>> but I had been planning to experiment a bit with oscil for while to
>> use them at control rate. I finally got around to it today and got a
>> nice arpeggiator effect going and I thought I'd share the CSD here.
>> The interesting bit is probably the Shimmer instrument and using the
>> form of oscil that takes in an array to use as a table.
>>
>> One thing I found was that it would have been nice if oscil allowed
>> non-power-of-two table sizes.
>>
>> Otherwise, was happy to get a joyful sound. :)
>>
>> All best,
>> steven
>>
>> Csound mailing list
>> [hidden email]
>> 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
>> <oscil_freq.csd>
>
> Csound mailing list
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Steven Yi
In reply to this post by myrddinemrys
Hi Justin and Richard,

I'm not sure what's the issue as I'm able to run the file here.  I had
one guess that maybe having --port=10000 in the CsOptions might not be
working well with the version of Csound on your systems?  It could
also be something was fixed in Csound in the develop branch that I'm
not recalling (I'm using latest from develop.)

I've attached a new version that removes using Csound's oscil and
instead uses a custom UDO oscil I wrote:

;; custom oscil that takes in kfrequency and array to use as
oscillator table data
opcode oscil, k, kk[]
  kfreq, kin[] xin

  ilen = lenarray(kin)

  kphs = phasor:k(kfreq)

  kout = kin[int(kphs * ilen)]
  xout kout
endop

This works with any length array (you can test changes in the array()
in line 33 of the CSD to get different arpeggiations).

This file also removes --port from the CsOptions and includes an "e"
event to end the file.  If it doesn't render to dac, you should be
able to render with "-o out.wav" to render to disk.

I've pushed a render of this file for anyone wanting a quick listen:

http://www.kunstmusik.com/oscil_array.mp3
http://www.kunstmusik.com/oscil_array.wav


(If you do try the CSD and it still doesn't run there for real time,
it'd be good to get some information about Csound versions so we can
investigate.)

Thanks!
steven




On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander
<[hidden email]> wrote:

> I must be experiencing the same thing as Richard—it isn’t playing for me,
> and seems to be stuck at:
>
> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'
>
> writing 4096 sample blks of 64-bit floats to dac
>
> SECTION 1:”
>
>
>
> Sent from Mail for Windows 10
>
>
>
> From: Richard
> Sent: Saturday, February 24, 2018 3:43 AM
> To: [hidden email]
> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>
>
>
> Would love to hear this. What command should I send to get any sound?
>
>
>
> Richard
>
>
>
>
>
> On 24/02/18 03:38, Steven Yi wrote:
>
>> Hi All,
>
>>
>
>> I've been enjoying using non-interpolating oscillators a lot lately in
>
>> live coding events (using the xosc UDO in my csound-live-code project)
>
>> but I had been planning to experiment a bit with oscil for while to
>
>> use them at control rate. I finally got around to it today and got a
>
>> nice arpeggiator effect going and I thought I'd share the CSD here.
>
>> The interesting bit is probably the Shimmer instrument and using the
>
>> form of oscil that takes in an array to use as a table.
>
>>
>
>> One thing I found was that it would have been nice if oscil allowed
>
>> non-power-of-two table sizes.
>
>>
>
>> Otherwise, was happy to get a joyful sound. :)
>
>>
>
>> All best,
>
>> steven
>
>>
>
>> Csound mailing list
>
>> [hidden email]
>
>> 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
>
> [hidden email]
>
> 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 [hidden email]
> 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
[hidden email]
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

oscil_array.csd (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Victor Lazzarini-2
In reply to this post by Steven Yi
poscil allows non-power of two you had asked for.
========================
Prof. 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 24 Feb 2018, at 13:43, Steven Yi <[hidden email]> wrote:
>
> Perhaps I'm confused but I'm not sure what that gets?  I also realized
> just now that I could write a very simple UDO for this.  I'll post a
> revised CSD in a moment. :)
>
> On Sat, Feb 24, 2018 at 2:03 AM, Victor Lazzarini
> <[hidden email]> wrote:
>> We can make a version of poscil that truncates.
>>
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>>
>>> On 24 Feb 2018, at 02:38, Steven Yi <[hidden email]> wrote:
>>>
>>> Hi All,
>>>
>>> I've been enjoying using non-interpolating oscillators a lot lately in
>>> live coding events (using the xosc UDO in my csound-live-code project)
>>> but I had been planning to experiment a bit with oscil for while to
>>> use them at control rate. I finally got around to it today and got a
>>> nice arpeggiator effect going and I thought I'd share the CSD here.
>>> The interesting bit is probably the Shimmer instrument and using the
>>> form of oscil that takes in an array to use as a table.
>>>
>>> One thing I found was that it would have been nice if oscil allowed
>>> non-power-of-two table sizes.
>>>
>>> Otherwise, was happy to get a joyful sound. :)
>>>
>>> All best,
>>> steven
>>>
>>> Csound mailing list
>>> [hidden email]
>>> 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
>>> <oscil_freq.csd>
>>
>> Csound mailing list
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Steven Yi
Ahhh, I get it now, thanks!  I think that the UDO version I posted
should do for the short-term so I'll probably leave that there for
now.

On Sat, Feb 24, 2018 at 9:15 AM, Victor Lazzarini
<[hidden email]> wrote:

> poscil allows non-power of two you had asked for.
> ========================
> Prof. 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 24 Feb 2018, at 13:43, Steven Yi <[hidden email]> wrote:
>>
>> Perhaps I'm confused but I'm not sure what that gets?  I also realized
>> just now that I could write a very simple UDO for this.  I'll post a
>> revised CSD in a moment. :)
>>
>> On Sat, Feb 24, 2018 at 2:03 AM, Victor Lazzarini
>> <[hidden email]> wrote:
>>> We can make a version of poscil that truncates.
>>>
>>> Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy
>>> Maynooth University
>>> Ireland
>>>
>>>> On 24 Feb 2018, at 02:38, Steven Yi <[hidden email]> wrote:
>>>>
>>>> Hi All,
>>>>
>>>> I've been enjoying using non-interpolating oscillators a lot lately in
>>>> live coding events (using the xosc UDO in my csound-live-code project)
>>>> but I had been planning to experiment a bit with oscil for while to
>>>> use them at control rate. I finally got around to it today and got a
>>>> nice arpeggiator effect going and I thought I'd share the CSD here.
>>>> The interesting bit is probably the Shimmer instrument and using the
>>>> form of oscil that takes in an array to use as a table.
>>>>
>>>> One thing I found was that it would have been nice if oscil allowed
>>>> non-power-of-two table sizes.
>>>>
>>>> Otherwise, was happy to get a joyful sound. :)
>>>>
>>>> All best,
>>>> steven
>>>>
>>>> Csound mailing list
>>>> [hidden email]
>>>> 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
>>>> <oscil_freq.csd>
>>>
>>> Csound mailing list
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

myrddinemrys
In reply to this post by Steven Yi

Yeah, I’m still stuck on 6.07 because up until recently it was all that worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds pretty rad!

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Saturday, February 24, 2018 9:03 AM
To: [hidden email]
Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

 

Hi Justin and Richard,

 

I'm not sure what's the issue as I'm able to run the file here.  I had

one guess that maybe having --port=10000 in the CsOptions might not be

working well with the version of Csound on your systems?  It could

also be something was fixed in Csound in the develop branch that I'm

not recalling (I'm using latest from develop.)

 

I've attached a new version that removes using Csound's oscil and

instead uses a custom UDO oscil I wrote:

 

;; custom oscil that takes in kfrequency and array to use as

oscillator table data

opcode oscil, k, kk[]

  kfreq, kin[] xin

 

  ilen = lenarray(kin)

 

  kphs = phasor:k(kfreq)

 

  kout = kin[int(kphs * ilen)]

  xout kout

endop

 

This works with any length array (you can test changes in the array()

in line 33 of the CSD to get different arpeggiations).

 

This file also removes --port from the CsOptions and includes an "e"

event to end the file.  If it doesn't render to dac, you should be

able to render with "-o out.wav" to render to disk.

 

I've pushed a render of this file for anyone wanting a quick listen:

 

http://www.kunstmusik.com/oscil_array.mp3

http://www.kunstmusik.com/oscil_array.wav

 

 

(If you do try the CSD and it still doesn't run there for real time,

it'd be good to get some information about Csound versions so we can

investigate.)

 

Thanks!

steven

 

 

 

 

On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander

<[hidden email]> wrote:

> I must be experiencing the same thing as Richard—it isn’t playing for me,

> and seems to be stuck at:

> 

> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'

> 

> writing 4096 sample blks of 64-bit floats to dac

> 

> SECTION 1:”

> 

> 

> 

> Sent from Mail for Windows 10

> 

> 

> 

> From: Richard

> Sent: Saturday, February 24, 2018 3:43 AM

> To: [hidden email]

> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

> 

> 

> 

> Would love to hear this. What command should I send to get any sound?

> 

> 

> 

> Richard

> 

> 

> 

> 

> 

> On 24/02/18 03:38, Steven Yi wrote:

> 

>> Hi All,

> 

>> 

> 

>> I've been enjoying using non-interpolating oscillators a lot lately in

> 

>> live coding events (using the xosc UDO in my csound-live-code project)

> 

>> but I had been planning to experiment a bit with oscil for while to

> 

>> use them at control rate. I finally got around to it today and got a

> 

>> nice arpeggiator effect going and I thought I'd share the CSD here.

> 

>> The interesting bit is probably the Shimmer instrument and using the

> 

>> form of oscil that takes in an array to use as a table.

> 

>> 

> 

>> One thing I found was that it would have been nice if oscil allowed

> 

>> non-power-of-two table sizes.

> 

>> 

> 

>> Otherwise, was happy to get a joyful sound. :)

> 

>> 

> 

>> All best,

> 

>> steven

> 

>> 

> 

>> Csound mailing list

> 

>> [hidden email]

> 

>> 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

> 

> [hidden email]

> 

> 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 [hidden email]

> 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

[hidden email]

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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

genell
I believe the K35 filter isn’t present in 6.07?
I tried the csd in the RunloopSound app on iPhone and got an error due to lack of K35 opcodes. 

Regards,
Anders

24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:

Yeah, I’m still stuck on 6.07 because up until recently it was all that worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds pretty rad!

 

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Saturday, February 24, 2018 9:03 AM
To: [hidden email]
Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

 

Hi Justin and Richard,

 

I'm not sure what's the issue as I'm able to run the file here.  I had

one guess that maybe having --port=10000 in the CsOptions might not be

working well with the version of Csound on your systems?  It could

also be something was fixed in Csound in the develop branch that I'm

not recalling (I'm using latest from develop.)

 

I've attached a new version that removes using Csound's oscil and

instead uses a custom UDO oscil I wrote:

 

;; custom oscil that takes in kfrequency and array to use as

oscillator table data

opcode oscil, k, kk[]

  kfreq, kin[] xin

 

  ilen = lenarray(kin)

 

  kphs = phasor:k(kfreq)

 

  kout = kin[int(kphs * ilen)]

  xout kout

endop

 

This works with any length array (you can test changes in the array()

in line 33 of the CSD to get different arpeggiations).

 

This file also removes --port from the CsOptions and includes an "e"

event to end the file.  If it doesn't render to dac, you should be

able to render with "-o out.wav" to render to disk.

 

I've pushed a render of this file for anyone wanting a quick listen:

 

http://www.kunstmusik.com/oscil_array.mp3

http://www.kunstmusik.com/oscil_array.wav

 

 

(If you do try the CSD and it still doesn't run there for real time,

it'd be good to get some information about Csound versions so we can

investigate.)

 

Thanks!

steven

 

 

 

 

On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander

<[hidden email]> wrote:

> I must be experiencing the same thing as Richard—it isn’t playing for me,

> and seems to be stuck at:

> 

> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'

> 

> writing 4096 sample blks of 64-bit floats to dac

> 

> SECTION 1:”

> 

> 

> 

> Sent from Mail for Windows 10

> 

> 

> 

> From: Richard

> Sent: Saturday, February 24, 2018 3:43 AM

> To: [hidden email]

> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

> 

> 

> 

> Would love to hear this. What command should I send to get any sound?

> 

> 

> 

> Richard

> 

> 

> 

> 

> 

> On 24/02/18 03:38, Steven Yi wrote:

> 

>> Hi All,

> 

>> 

> 

>> I've been enjoying using non-interpolating oscillators a lot lately in

> 

>> live coding events (using the xosc UDO in my csound-live-code project)

> 

>> but I had been planning to experiment a bit with oscil for while to

> 

>> use them at control rate. I finally got around to it today and got a

> 

>> nice arpeggiator effect going and I thought I'd share the CSD here.

> 

>> The interesting bit is probably the Shimmer instrument and using the

> 

>> form of oscil that takes in an array to use as a table.

> 

>> 

> 

>> One thing I found was that it would have been nice if oscil allowed

> 

>> non-power-of-two table sizes.

> 

>> 

> 

>> Otherwise, was happy to get a joyful sound. :)

> 

>> 

> 

>> All best,

> 

>> steven

> 

>> 

> 

>> Csound mailing list

> 

>> [hidden email]

> 

>> 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

> 

> [hidden email]

> 

> 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 [hidden email]

> 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

[hidden email]

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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Steven Yi
Makes sense. (Just checked and that filter was released in 6.09.1 last
year.) You could try changing the filter to something like moogladder
to experiment, something like:

  asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)





On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]> wrote:

> I believe the K35 filter isn’t present in 6.07?
> I tried the csd in the RunloopSound app on iPhone and got an error due to
> lack of K35 opcodes.
>
> Regards,
> Anders
>
> 24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:
>
> Yeah, I’m still stuck on 6.07 because up until recently it was all that
> worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds
> pretty rad!
>
>
>
>
>
> Sent from Mail for Windows 10
>
>
>
> From: Steven Yi
> Sent: Saturday, February 24, 2018 9:03 AM
> To: [hidden email]
> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>
>
>
> Hi Justin and Richard,
>
>
>
> I'm not sure what's the issue as I'm able to run the file here.  I had
>
> one guess that maybe having --port=10000 in the CsOptions might not be
>
> working well with the version of Csound on your systems?  It could
>
> also be something was fixed in Csound in the develop branch that I'm
>
> not recalling (I'm using latest from develop.)
>
>
>
> I've attached a new version that removes using Csound's oscil and
>
> instead uses a custom UDO oscil I wrote:
>
>
>
> ;; custom oscil that takes in kfrequency and array to use as
>
> oscillator table data
>
> opcode oscil, k, kk[]
>
>   kfreq, kin[] xin
>
>
>
>   ilen = lenarray(kin)
>
>
>
>   kphs = phasor:k(kfreq)
>
>
>
>   kout = kin[int(kphs * ilen)]
>
>   xout kout
>
> endop
>
>
>
> This works with any length array (you can test changes in the array()
>
> in line 33 of the CSD to get different arpeggiations).
>
>
>
> This file also removes --port from the CsOptions and includes an "e"
>
> event to end the file.  If it doesn't render to dac, you should be
>
> able to render with "-o out.wav" to render to disk.
>
>
>
> I've pushed a render of this file for anyone wanting a quick listen:
>
>
>
> http://www.kunstmusik.com/oscil_array.mp3
>
> http://www.kunstmusik.com/oscil_array.wav
>
>
>
>
>
> (If you do try the CSD and it still doesn't run there for real time,
>
> it'd be good to get some information about Csound versions so we can
>
> investigate.)
>
>
>
> Thanks!
>
> steven
>
>
>
>
>
>
>
>
>
> On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander
>
> <[hidden email]> wrote:
>
>> I must be experiencing the same thing as Richard—it isn’t playing for me,
>
>> and seems to be stuck at:
>
>>
>
>> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'
>
>>
>
>> writing 4096 sample blks of 64-bit floats to dac
>
>>
>
>> SECTION 1:”
>
>>
>
>>
>
>>
>
>> Sent from Mail for Windows 10
>
>>
>
>>
>
>>
>
>> From: Richard
>
>> Sent: Saturday, February 24, 2018 3:43 AM
>
>> To: [hidden email]
>
>> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>
>>
>
>>
>
>>
>
>> Would love to hear this. What command should I send to get any sound?
>
>>
>
>>
>
>>
>
>> Richard
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> On 24/02/18 03:38, Steven Yi wrote:
>
>>
>
>>> Hi All,
>
>>
>
>>>
>
>>
>
>>> I've been enjoying using non-interpolating oscillators a lot lately in
>
>>
>
>>> live coding events (using the xosc UDO in my csound-live-code project)
>
>>
>
>>> but I had been planning to experiment a bit with oscil for while to
>
>>
>
>>> use them at control rate. I finally got around to it today and got a
>
>>
>
>>> nice arpeggiator effect going and I thought I'd share the CSD here.
>
>>
>
>>> The interesting bit is probably the Shimmer instrument and using the
>
>>
>
>>> form of oscil that takes in an array to use as a table.
>
>>
>
>>>
>
>>
>
>>> One thing I found was that it would have been nice if oscil allowed
>
>>
>
>>> non-power-of-two table sizes.
>
>>
>
>>>
>
>>
>
>>> Otherwise, was happy to get a joyful sound. :)
>
>>
>
>>>
>
>>
>
>>> All best,
>
>>
>
>>> steven
>
>>
>
>>>
>
>>
>
>>> Csound mailing list
>
>>
>
>>> [hidden email]
>
>>
>
>>> 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
>
>>
>
>> [hidden email]
>
>>
>
>> 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 [hidden email]
>
>> 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
>
> [hidden email]
>
> 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 [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

genell
Thanks!
I’ll give it a try to see if it works otherwise on the iPhone.

Regards,
Anders

> 24 feb. 2018 kl. 17:19 skrev Steven Yi <[hidden email]>:
>
> Makes sense. (Just checked and that filter was released in 6.09.1 last
> year.) You could try changing the filter to something like moogladder
> to experiment, something like:
>
>  asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)
>
>
>
>
>
>> On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]> wrote:
>> I believe the K35 filter isn’t present in 6.07?
>> I tried the csd in the RunloopSound app on iPhone and got an error due to
>> lack of K35 opcodes.
>>
>> Regards,
>> Anders
>>
>> 24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:
>>
>> Yeah, I’m still stuck on 6.07 because up until recently it was all that
>> worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds
>> pretty rad!
>>
>>
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>> From: Steven Yi
>> Sent: Saturday, February 24, 2018 9:03 AM
>> To: [hidden email]
>> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>>
>>
>>
>> Hi Justin and Richard,
>>
>>
>>
>> I'm not sure what's the issue as I'm able to run the file here.  I had
>>
>> one guess that maybe having --port=10000 in the CsOptions might not be
>>
>> working well with the version of Csound on your systems?  It could
>>
>> also be something was fixed in Csound in the develop branch that I'm
>>
>> not recalling (I'm using latest from develop.)
>>
>>
>>
>> I've attached a new version that removes using Csound's oscil and
>>
>> instead uses a custom UDO oscil I wrote:
>>
>>
>>
>> ;; custom oscil that takes in kfrequency and array to use as
>>
>> oscillator table data
>>
>> opcode oscil, k, kk[]
>>
>>  kfreq, kin[] xin
>>
>>
>>
>>  ilen = lenarray(kin)
>>
>>
>>
>>  kphs = phasor:k(kfreq)
>>
>>
>>
>>  kout = kin[int(kphs * ilen)]
>>
>>  xout kout
>>
>> endop
>>
>>
>>
>> This works with any length array (you can test changes in the array()
>>
>> in line 33 of the CSD to get different arpeggiations).
>>
>>
>>
>> This file also removes --port from the CsOptions and includes an "e"
>>
>> event to end the file.  If it doesn't render to dac, you should be
>>
>> able to render with "-o out.wav" to render to disk.
>>
>>
>>
>> I've pushed a render of this file for anyone wanting a quick listen:
>>
>>
>>
>> http://www.kunstmusik.com/oscil_array.mp3
>>
>> http://www.kunstmusik.com/oscil_array.wav
>>
>>
>>
>>
>>
>> (If you do try the CSD and it still doesn't run there for real time,
>>
>> it'd be good to get some information about Csound versions so we can
>>
>> investigate.)
>>
>>
>>
>> Thanks!
>>
>> steven
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander
>>
>> <[hidden email]> wrote:
>>
>>> I must be experiencing the same thing as Richard—it isn’t playing for me,
>>
>>> and seems to be stuck at:
>>
>>>
>>
>>> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'
>>
>>>
>>
>>> writing 4096 sample blks of 64-bit floats to dac
>>
>>>
>>
>>> SECTION 1:”
>>
>>>
>>
>>>
>>
>>>
>>
>>> Sent from Mail for Windows 10
>>
>>>
>>
>>>
>>
>>>
>>
>>> From: Richard
>>
>>> Sent: Saturday, February 24, 2018 3:43 AM
>>
>>> To: [hidden email]
>>
>>> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>>
>>>
>>
>>>
>>
>>>
>>
>>> Would love to hear this. What command should I send to get any sound?
>>
>>>
>>
>>>
>>
>>>
>>
>>> Richard
>>
>>>
>>
>>>
>>
>>>
>>
>>>
>>
>>>
>>
>>>> On 24/02/18 03:38, Steven Yi wrote:
>>>
>>>
>>
>>>> Hi All,
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> I've been enjoying using non-interpolating oscillators a lot lately in
>>
>>>
>>
>>>> live coding events (using the xosc UDO in my csound-live-code project)
>>
>>>
>>
>>>> but I had been planning to experiment a bit with oscil for while to
>>
>>>
>>
>>>> use them at control rate. I finally got around to it today and got a
>>
>>>
>>
>>>> nice arpeggiator effect going and I thought I'd share the CSD here.
>>
>>>
>>
>>>> The interesting bit is probably the Shimmer instrument and using the
>>
>>>
>>
>>>> form of oscil that takes in an array to use as a table.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> One thing I found was that it would have been nice if oscil allowed
>>
>>>
>>
>>>> non-power-of-two table sizes.
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> Otherwise, was happy to get a joyful sound. :)
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> All best,
>>
>>>
>>
>>>> steven
>>
>>>
>>
>>>>
>>
>>>
>>
>>>> Csound mailing list
>>
>>>
>>
>>>> [hidden email]
>>
>>>
>>
>>>> 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
>>
>>>
>>
>>> [hidden email]
>>
>>>
>>
>>> 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 [hidden email]
>>
>>> 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
>>
>> [hidden email]
>>
>> 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 [hidden email]
>> 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 [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

myrddinemrys
In reply to this post by Steven Yi

Yeah, that worked. 😊

 

Sent from Mail for Windows 10

 

From: [hidden email]
Sent: Saturday, February 24, 2018 11:19 AM
To: [hidden email]
Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

 

Makes sense. (Just checked and that filter was released in 6.09.1 last

year.) You could try changing the filter to something like moogladder

to experiment, something like:

 

  asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)

 

 

 

 

 

On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]> wrote:

> I believe the K35 filter isn’t present in 6.07?

> I tried the csd in the RunloopSound app on iPhone and got an error due to

> lack of K35 opcodes.

> 

> Regards,

> Anders

> 

> 24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:

> 

> Yeah, I’m still stuck on 6.07 because up until recently it was all that

> worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds

> pretty rad!

> 

> 

> 

> 

> 

> Sent from Mail for Windows 10

> 

> 

> 

> From: Steven Yi

> Sent: Saturday, February 24, 2018 9:03 AM

> To: [hidden email]

> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

> 

> 

> 

> Hi Justin and Richard,

> 

> 

> 

> I'm not sure what's the issue as I'm able to run the file here.  I had

> 

> one guess that maybe having --port=10000 in the CsOptions might not be

> 

> working well with the version of Csound on your systems?  It could

> 

> also be something was fixed in Csound in the develop branch that I'm

> 

> not recalling (I'm using latest from develop.)

> 

> 

> 

> I've attached a new version that removes using Csound's oscil and

> 

> instead uses a custom UDO oscil I wrote:

> 

> 

> 

> ;; custom oscil that takes in kfrequency and array to use as

> 

> oscillator table data

> 

> opcode oscil, k, kk[]

> 

>   kfreq, kin[] xin

> 

> 

> 

>   ilen = lenarray(kin)

> 

> 

> 

>   kphs = phasor:k(kfreq)

> 

> 

> 

>   kout = kin[int(kphs * ilen)]

> 

>   xout kout

> 

> endop

> 

> 

> 

> This works with any length array (you can test changes in the array()

> 

> in line 33 of the CSD to get different arpeggiations).

> 

> 

> 

> This file also removes --port from the CsOptions and includes an "e"

> 

> event to end the file.  If it doesn't render to dac, you should be

> 

> able to render with "-o out.wav" to render to disk.

> 

> 

> 

> I've pushed a render of this file for anyone wanting a quick listen:

> 

> 

> 

> http://www.kunstmusik.com/oscil_array.mp3

> 

> http://www.kunstmusik.com/oscil_array.wav

> 

> 

> 

> 

> 

> (If you do try the CSD and it still doesn't run there for real time,

> 

> it'd be good to get some information about Csound versions so we can

> 

> investigate.)

> 

> 

> 

> Thanks!

> 

> steven

> 

> 

> 

> 

> 

> 

> 

> 

> 

> On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander

> 

> <[hidden email]> wrote:

> 

>> I must be experiencing the same thing as Richard—it isn’t playing for me,

> 

>> and seems to be stuck at:

> 

>> 

> 

>> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'

> 

>> 

> 

>> writing 4096 sample blks of 64-bit floats to dac

> 

>> 

> 

>> SECTION 1:”

> 

>> 

> 

>> 

> 

>> 

> 

>> Sent from Mail for Windows 10

> 

>> 

> 

>> 

> 

>> 

> 

>> From: Richard

> 

>> Sent: Saturday, February 24, 2018 3:43 AM

> 

>> To: [hidden email]

> 

>> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators

> 

>> 

> 

>> 

> 

>> 

> 

>> Would love to hear this. What command should I send to get any sound?

> 

>> 

> 

>> 

> 

>> 

> 

>> Richard

> 

>> 

> 

>> 

> 

>> 

> 

>> 

> 

>> 

> 

>> On 24/02/18 03:38, Steven Yi wrote:

> 

>> 

> 

>>> Hi All,

> 

>> 

> 

>>> 

> 

>> 

> 

>>> I've been enjoying using non-interpolating oscillators a lot lately in

> 

>> 

> 

>>> live coding events (using the xosc UDO in my csound-live-code project)

> 

>> 

> 

>>> but I had been planning to experiment a bit with oscil for while to

> 

>> 

> 

>>> use them at control rate. I finally got around to it today and got a

> 

>> 

> 

>>> nice arpeggiator effect going and I thought I'd share the CSD here.

> 

>> 

> 

>>> The interesting bit is probably the Shimmer instrument and using the

> 

>> 

> 

>>> form of oscil that takes in an array to use as a table.

> 

>> 

> 

>>> 

> 

>> 

> 

>>> One thing I found was that it would have been nice if oscil allowed

> 

>> 

> 

>>> non-power-of-two table sizes.

> 

>> 

> 

>>> 

> 

>> 

> 

>>> Otherwise, was happy to get a joyful sound. :)

> 

>> 

> 

>>> 

> 

>> 

> 

>>> All best,

> 

>> 

> 

>>> steven

> 

>> 

> 

>>> 

> 

>> 

> 

>>> Csound mailing list

> 

>> 

> 

>>> [hidden email]

> 

>> 

> 

>>> 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

> 

>> 

> 

>> [hidden email]

> 

>> 

> 

>> 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 [hidden email]

> 

>> 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

> 

> [hidden email]

> 

> 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 [hidden email]

> 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 [hidden email]

> 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

[hidden email]

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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

genell
In reply to this post by Steven Yi
Well, I get a new error on the iPhone after changing to moogladder:

oscil_freq.csd (1)

error:  Unable to find opcode entry for '=' with matching argument types:

Found: i = @

Line: 29


Line 29 is in the UDO and says

indx += 1


Regards,

Anders


24 feb. 2018 kl. 17:19 skrev Steven Yi <[hidden email]>:

Makes sense. (Just checked and that filter was released in 6.09.1 last
year.) You could try changing the filter to something like moogladder
to experiment, something like:

 asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)





On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]> wrote:
I believe the K35 filter isn’t present in 6.07?
I tried the csd in the RunloopSound app on iPhone and got an error due to
lack of K35 opcodes.

Regards,
Anders

24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:

Yeah, I’m still stuck on 6.07 because up until recently it was all that
worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds
pretty rad!





Sent from Mail for Windows 10



From: Steven Yi
Sent: Saturday, February 24, 2018 9:03 AM
To: [hidden email]
Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators



Hi Justin and Richard,



I'm not sure what's the issue as I'm able to run the file here.  I had

one guess that maybe having --port=10000 in the CsOptions might not be

working well with the version of Csound on your systems?  It could

also be something was fixed in Csound in the develop branch that I'm

not recalling (I'm using latest from develop.)



I've attached a new version that removes using Csound's oscil and

instead uses a custom UDO oscil I wrote:



;; custom oscil that takes in kfrequency and array to use as

oscillator table data

opcode oscil, k, kk[]

 kfreq, kin[] xin



 ilen = lenarray(kin)



 kphs = phasor:k(kfreq)



 kout = kin[int(kphs * ilen)]

 xout kout

endop



This works with any length array (you can test changes in the array()

in line 33 of the CSD to get different arpeggiations).



This file also removes --port from the CsOptions and includes an "e"

event to end the file.  If it doesn't render to dac, you should be

able to render with "-o out.wav" to render to disk.



I've pushed a render of this file for anyone wanting a quick listen:



http://www.kunstmusik.com/oscil_array.mp3

http://www.kunstmusik.com/oscil_array.wav





(If you do try the CSD and it still doesn't run there for real time,

it'd be good to get some information about Csound versions so we can

investigate.)



Thanks!

steven









On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander

<[hidden email]> wrote:

I must be experiencing the same thing as Richard—it isn’t playing for me,

and seems to be stuck at:



“PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'



writing 4096 sample blks of 64-bit floats to dac



SECTION 1:”







Sent from Mail for Windows 10







From: Richard

Sent: Saturday, February 24, 2018 3:43 AM

To: [hidden email]

Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators







Would love to hear this. What command should I send to get any sound?







Richard











On 24/02/18 03:38, Steven Yi wrote:



Hi All,







I've been enjoying using non-interpolating oscillators a lot lately in



live coding events (using the xosc UDO in my csound-live-code project)



but I had been planning to experiment a bit with oscil for while to



use them at control rate. I finally got around to it today and got a



nice arpeggiator effect going and I thought I'd share the CSD here.



The interesting bit is probably the Shimmer instrument and using the



form of oscil that takes in an array to use as a table.







One thing I found was that it would have been nice if oscil allowed



non-power-of-two table sizes.







Otherwise, was happy to get a joyful sound. :)







All best,



steven







Csound mailing list



[hidden email]



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



[hidden email]



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 [hidden email]

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

[hidden email]

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 [hidden email]
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 [hidden email]
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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

Steven Yi
I would try using the oscil_array.csd file if that will work as it is
a little more straightforward. Otherwise you could rewrite that line
to:

indx = indx + 1


On Sat, Feb 24, 2018 at 11:27 AM, Anders Genell <[hidden email]> wrote:

> Well, I get a new error on the iPhone after changing to moogladder:
>
> oscil_freq.csd (1)
>
> error:  Unable to find opcode entry for '=' with matching argument types:
>
> Found: i = @
>
> Line: 29
>
>
> Line 29 is in the UDO and says
>
> indx += 1
>
>
> Regards,
>
> Anders
>
>
> 24 feb. 2018 kl. 17:19 skrev Steven Yi <[hidden email]>:
>
> Makes sense. (Just checked and that filter was released in 6.09.1 last
> year.) You could try changing the filter to something like moogladder
> to experiment, something like:
>
>  asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)
>
>
>
>
>
> On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]>
> wrote:
>
> I believe the K35 filter isn’t present in 6.07?
>
> I tried the csd in the RunloopSound app on iPhone and got an error due to
>
> lack of K35 opcodes.
>
>
> Regards,
>
> Anders
>
>
> 24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:
>
>
> Yeah, I’m still stuck on 6.07 because up until recently it was all that
>
> worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds
>
> pretty rad!
>
>
>
>
>
>
> Sent from Mail for Windows 10
>
>
>
>
> From: Steven Yi
>
> Sent: Saturday, February 24, 2018 9:03 AM
>
> To: [hidden email]
>
> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>
>
>
>
> Hi Justin and Richard,
>
>
>
>
> I'm not sure what's the issue as I'm able to run the file here.  I had
>
>
> one guess that maybe having --port=10000 in the CsOptions might not be
>
>
> working well with the version of Csound on your systems?  It could
>
>
> also be something was fixed in Csound in the develop branch that I'm
>
>
> not recalling (I'm using latest from develop.)
>
>
>
>
> I've attached a new version that removes using Csound's oscil and
>
>
> instead uses a custom UDO oscil I wrote:
>
>
>
>
> ;; custom oscil that takes in kfrequency and array to use as
>
>
> oscillator table data
>
>
> opcode oscil, k, kk[]
>
>
>  kfreq, kin[] xin
>
>
>
>
>  ilen = lenarray(kin)
>
>
>
>
>  kphs = phasor:k(kfreq)
>
>
>
>
>  kout = kin[int(kphs * ilen)]
>
>
>  xout kout
>
>
> endop
>
>
>
>
> This works with any length array (you can test changes in the array()
>
>
> in line 33 of the CSD to get different arpeggiations).
>
>
>
>
> This file also removes --port from the CsOptions and includes an "e"
>
>
> event to end the file.  If it doesn't render to dac, you should be
>
>
> able to render with "-o out.wav" to render to disk.
>
>
>
>
> I've pushed a render of this file for anyone wanting a quick listen:
>
>
>
>
> http://www.kunstmusik.com/oscil_array.mp3
>
>
> http://www.kunstmusik.com/oscil_array.wav
>
>
>
>
>
>
> (If you do try the CSD and it still doesn't run there for real time,
>
>
> it'd be good to get some information about Csound versions so we can
>
>
> investigate.)
>
>
>
>
> Thanks!
>
>
> steven
>
>
>
>
>
>
>
>
>
>
> On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander
>
>
> <[hidden email]> wrote:
>
>
> I must be experiencing the same thing as Richard—it isn’t playing for me,
>
>
> and seems to be stuck at:
>
>
>
>
> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'
>
>
>
>
> writing 4096 sample blks of 64-bit floats to dac
>
>
>
>
> SECTION 1:”
>
>
>
>
>
>
>
>
> Sent from Mail for Windows 10
>
>
>
>
>
>
>
>
> From: Richard
>
>
> Sent: Saturday, February 24, 2018 3:43 AM
>
>
> To: [hidden email]
>
>
> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>
>
>
>
>
>
>
>
> Would love to hear this. What command should I send to get any sound?
>
>
>
>
>
>
>
>
> Richard
>
>
>
>
>
>
>
>
>
>
>
>
> On 24/02/18 03:38, Steven Yi wrote:
>
>
>
>
> Hi All,
>
>
>
>
>
>
>
>
> I've been enjoying using non-interpolating oscillators a lot lately in
>
>
>
>
> live coding events (using the xosc UDO in my csound-live-code project)
>
>
>
>
> but I had been planning to experiment a bit with oscil for while to
>
>
>
>
> use them at control rate. I finally got around to it today and got a
>
>
>
>
> nice arpeggiator effect going and I thought I'd share the CSD here.
>
>
>
>
> The interesting bit is probably the Shimmer instrument and using the
>
>
>
>
> form of oscil that takes in an array to use as a table.
>
>
>
>
>
>
>
>
> One thing I found was that it would have been nice if oscil allowed
>
>
>
>
> non-power-of-two table sizes.
>
>
>
>
>
>
>
>
> Otherwise, was happy to get a joyful sound. :)
>
>
>
>
>
>
>
>
> All best,
>
>
>
>
> steven
>
>
>
>
>
>
>
>
> Csound mailing list
>
>
>
>
> [hidden email]
>
>
>
>
> 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
>
>
>
>
> [hidden email]
>
>
>
>
> 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 [hidden email]
>
>
> 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
>
>
> [hidden email]
>
>
> 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 [hidden email]
>
> 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 [hidden email]
>
> 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
> [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

jpff
I cannot see how indx += 1 causes that error; woks for me in
straightforward context.  what is te coplete csd?

On Sat, 24 Feb 2018, Steven Yi wrote:

> I would try using the oscil_array.csd file if that will work as it is
> a little more straightforward. Otherwise you could rewrite that line
> to:
>
> indx = indx + 1
>
>
> On Sat, Feb 24, 2018 at 11:27 AM, Anders Genell <[hidden email]> wrote:
>> Well, I get a new error on the iPhone after changing to moogladder:
>>
>> oscil_freq.csd (1)
>>
>> error:  Unable to find opcode entry for '=' with matching argument types:
>>
>> Found: i = @
>>
>> Line: 29
>>
>>
>> Line 29 is in the UDO and says
>>
>> indx += 1
>>
>>
>> Regards,
>>
>> Anders
>>
>>
>> 24 feb. 2018 kl. 17:19 skrev Steven Yi <[hidden email]>:
>>
>> Makes sense. (Just checked and that filter was released in 6.09.1 last
>> year.) You could try changing the filter to something like moogladder
>> to experiment, something like:
>>
>>  asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)
>>
>>
>>
>>
>>
>> On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]>
>> wrote:
>>
>> I believe the K35 filter isn’t present in 6.07?
>>
>> I tried the csd in the RunloopSound app on iPhone and got an error due to
>>
>> lack of K35 opcodes.
>>
>>
>> Regards,
>>
>> Anders
>>
>>
>> 24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:
>>
>>
>> Yeah, I’m still stuck on 6.07 because up until recently it was all that
>>
>> worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds
>>
>> pretty rad!
>>
>>
>>
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>>
>> From: Steven Yi
>>
>> Sent: Saturday, February 24, 2018 9:03 AM
>>
>> To: [hidden email]
>>
>> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>>
>>
>>
>>
>> Hi Justin and Richard,
>>
>>
>>
>>
>> I'm not sure what's the issue as I'm able to run the file here.  I had
>>
>>
>> one guess that maybe having --port=10000 in the CsOptions might not be
>>
>>
>> working well with the version of Csound on your systems?  It could
>>
>>
>> also be something was fixed in Csound in the develop branch that I'm
>>
>>
>> not recalling (I'm using latest from develop.)
>>
>>
>>
>>
>> I've attached a new version that removes using Csound's oscil and
>>
>>
>> instead uses a custom UDO oscil I wrote:
>>
>>
>>
>>
>> ;; custom oscil that takes in kfrequency and array to use as
>>
>>
>> oscillator table data
>>
>>
>> opcode oscil, k, kk[]
>>
>>
>>  kfreq, kin[] xin
>>
>>
>>
>>
>>  ilen = lenarray(kin)
>>
>>
>>
>>
>>  kphs = phasor:k(kfreq)
>>
>>
>>
>>
>>  kout = kin[int(kphs * ilen)]
>>
>>
>>  xout kout
>>
>>
>> endop
>>
>>
>>
>>
>> This works with any length array (you can test changes in the array()
>>
>>
>> in line 33 of the CSD to get different arpeggiations).
>>
>>
>>
>>
>> This file also removes --port from the CsOptions and includes an "e"
>>
>>
>> event to end the file.  If it doesn't render to dac, you should be
>>
>>
>> able to render with "-o out.wav" to render to disk.
>>
>>
>>
>>
>> I've pushed a render of this file for anyone wanting a quick listen:
>>
>>
>>
>>
>> http://www.kunstmusik.com/oscil_array.mp3
>>
>>
>> http://www.kunstmusik.com/oscil_array.wav
>>
>>
>>
>>
>>
>>
>> (If you do try the CSD and it still doesn't run there for real time,
>>
>>
>> it'd be good to get some information about Csound versions so we can
>>
>>
>> investigate.)
>>
>>
>>
>>
>> Thanks!
>>
>>
>> steven
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander
>>
>>
>> <[hidden email]> wrote:
>>
>>
>> I must be experiencing the same thing as Richard—it isn’t playing for me,
>>
>>
>> and seems to be stuck at:
>>
>>
>>
>>
>> “PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'
>>
>>
>>
>>
>> writing 4096 sample blks of 64-bit floats to dac
>>
>>
>>
>>
>> SECTION 1:”
>>
>>
>>
>>
>>
>>
>>
>>
>> Sent from Mail for Windows 10
>>
>>
>>
>>
>>
>>
>>
>>
>> From: Richard
>>
>>
>> Sent: Saturday, February 24, 2018 3:43 AM
>>
>>
>> To: [hidden email]
>>
>>
>> Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators
>>
>>
>>
>>
>>
>>
>>
>>
>> Would love to hear this. What command should I send to get any sound?
>>
>>
>>
>>
>>
>>
>>
>>
>> Richard
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On 24/02/18 03:38, Steven Yi wrote:
>>
>>
>>
>>
>> Hi All,
>>
>>
>>
>>
>>
>>
>>
>>
>> I've been enjoying using non-interpolating oscillators a lot lately in
>>
>>
>>
>>
>> live coding events (using the xosc UDO in my csound-live-code project)
>>
>>
>>
>>
>> but I had been planning to experiment a bit with oscil for while to
>>
>>
>>
>>
>> use them at control rate. I finally got around to it today and got a
>>
>>
>>
>>
>> nice arpeggiator effect going and I thought I'd share the CSD here.
>>
>>
>>
>>
>> The interesting bit is probably the Shimmer instrument and using the
>>
>>
>>
>>
>> form of oscil that takes in an array to use as a table.
>>
>>
>>
>>
>>
>>
>>
>>
>> One thing I found was that it would have been nice if oscil allowed
>>
>>
>>
>>
>> non-power-of-two table sizes.
>>
>>
>>
>>
>>
>>
>>
>>
>> Otherwise, was happy to get a joyful sound. :)
>>
>>
>>
>>
>>
>>
>>
>>
>> All best,
>>
>>
>>
>>
>> steven
>>
>>
>>
>>
>>
>>
>>
>>
>> Csound mailing list
>>
>>
>>
>>
>> [hidden email]
>>
>>
>>
>>
>> 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
>>
>>
>>
>>
>> [hidden email]
>>
>>
>>
>>
>> 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 [hidden email]
>>
>>
>> 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
>>
>>
>> [hidden email]
>>
>>
>> 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 [hidden email]
>>
>> 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 [hidden email]
>>
>> 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
>> [hidden email]
>> 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 [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] The Joy of Non-interpolating Oscillators

genell
In reply to this post by Steven Yi
That works just fine (with moogladder instead of K35) in RunloopSound, except for after awhile when there are dropouts and warnings like

WARNING: Array index 4 out of range (0,3) for dimension 1

WARNING: Array index 4 out of range (0,3) for dimension 1

but the app has been updated regularly so I assume It’ll be up to 6.10 (or 11) soon enough and then stuff should be working ok I guess. 


Nice sounds!!


Regards,

Anders


24 feb. 2018 kl. 18:02 skrev Steven Yi <[hidden email]>:

I would try using the oscil_array.csd file if that will work as it is
a little more straightforward. Otherwise you could rewrite that line
to:

indx = indx + 1


On Sat, Feb 24, 2018 at 11:27 AM, Anders Genell <[hidden email]> wrote:
Well, I get a new error on the iPhone after changing to moogladder:

oscil_freq.csd (1)

error:  Unable to find opcode entry for '=' with matching argument types:

Found: i = @

Line: 29


Line 29 is in the UDO and says

indx += 1


Regards,

Anders


24 feb. 2018 kl. 17:19 skrev Steven Yi <[hidden email]>:

Makes sense. (Just checked and that filter was released in 6.09.1 last
year.) You could try changing the filter to something like moogladder
to experiment, something like:

asig = moogladder(asig, expseg(12000, 8, 3000, 0.1, 3000), 0.8)





On Sat, Feb 24, 2018 at 11:13 AM, Anders Genell <[hidden email]>
wrote:

I believe the K35 filter isn’t present in 6.07?

I tried the csd in the RunloopSound app on iPhone and got an error due to

lack of K35 opcodes.


Regards,

Anders


24 feb. 2018 kl. 15:49 skrev Justin Rosander <[hidden email]>:


Yeah, I’m still stuck on 6.07 because up until recently it was all that

worked with Max4Live.  Thanks for posting the sound clips.  Yes, that sounds

pretty rad!






Sent from Mail for Windows 10




From: Steven Yi

Sent: Saturday, February 24, 2018 9:03 AM

To: [hidden email]

Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators




Hi Justin and Richard,




I'm not sure what's the issue as I'm able to run the file here.  I had


one guess that maybe having --port=10000 in the CsOptions might not be


working well with the version of Csound on your systems?  It could


also be something was fixed in Csound in the develop branch that I'm


not recalling (I'm using latest from develop.)




I've attached a new version that removes using Csound's oscil and


instead uses a custom UDO oscil I wrote:




;; custom oscil that takes in kfrequency and array to use as


oscillator table data


opcode oscil, k, kk[]


kfreq, kin[] xin




ilen = lenarray(kin)




kphs = phasor:k(kfreq)




kout = kin[int(kphs * ilen)]


xout kout


endop




This works with any length array (you can test changes in the array()


in line 33 of the CSD to get different arpeggiations).




This file also removes --port from the CsOptions and includes an "e"


event to end the file.  If it doesn't render to dac, you should be


able to render with "-o out.wav" to render to disk.




I've pushed a render of this file for anyone wanting a quick listen:




http://www.kunstmusik.com/oscil_array.mp3


http://www.kunstmusik.com/oscil_array.wav






(If you do try the CSD and it still doesn't run there for real time,


it'd be good to get some information about Csound versions so we can


investigate.)




Thanks!


steven










On Sat, Feb 24, 2018 at 8:32 AM, Justin Rosander


<[hidden email]> wrote:


I must be experiencing the same thing as Richard—it isn’t playing for me,


and seems to be stuck at:




“PortAudio: selected output device 'Analog (1+2) (RME HDSP 9632)'




writing 4096 sample blks of 64-bit floats to dac




SECTION 1:”








Sent from Mail for Windows 10








From: Richard


Sent: Saturday, February 24, 2018 3:43 AM


To: [hidden email]


Subject: Re: [Csnd] The Joy of Non-interpolating Oscillators








Would love to hear this. What command should I send to get any sound?








Richard












On 24/02/18 03:38, Steven Yi wrote:




Hi All,








I've been enjoying using non-interpolating oscillators a lot lately in




live coding events (using the xosc UDO in my csound-live-code project)




but I had been planning to experiment a bit with oscil for while to




use them at control rate. I finally got around to it today and got a




nice arpeggiator effect going and I thought I'd share the CSD here.




The interesting bit is probably the Shimmer instrument and using the




form of oscil that takes in an array to use as a table.








One thing I found was that it would have been nice if oscil allowed




non-power-of-two table sizes.








Otherwise, was happy to get a joyful sound. :)








All best,




steven








Csound mailing list




[hidden email]




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




[hidden email]




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 [hidden email]


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


[hidden email]


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 [hidden email]

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 [hidden email]

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
[hidden email]
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 [hidden email]
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
[hidden email]
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 [hidden email] 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