ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2012-02-08T16:20:32+02:00 https://brainmodular.com/forums/app.php/feed/topic/2822 2012-02-08T16:20:32+02:00 2012-02-08T16:20:32+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22562#p22562 <![CDATA[Csound 4 Usine]]>

I have uploaded the new version to the add-on section and started to update the wiki.

Statistics: Posted by caco — 08 Feb 2012, 15:20


]]>
2012-02-07T19:24:45+02:00 2012-02-07T19:24:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22560#p22560 <![CDATA[Csound 4 Usine]]> thanks caco! :)

Statistics: Posted by Floego — 07 Feb 2012, 18:24


]]>
2012-02-07T11:19:11+02:00 2012-02-07T11:19:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22559#p22559 <![CDATA[Csound 4 Usine]]>
I have updated the download with the new version, this might fix things for you.

Statistics: Posted by caco — 07 Feb 2012, 10:19


]]>
2012-02-07T10:32:28+02:00 2012-02-07T10:32:28+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22557#p22557 <![CDATA[Csound 4 Usine]]>
No you are not doing anything wrong :/

I get the same problem with your example but it disappears when I increase ksmps to 43 or above. I think this must be a bug with Csound itself as ksmps doesn't really affect anything from the Usine side of csound4usine. There has been a lot of changes to Csound over the past few versions so it could be a bug has crept into it during that which affects the api at low control rates. I will double-check my code but I think you may just need to use larger ksmps for the moment :(

Statistics: Posted by caco — 07 Feb 2012, 09:32


]]>
2012-02-07T04:49:23+02:00 2012-02-07T04:49:23+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22554#p22554 <![CDATA[Csound 4 Usine]]>
I have been experiencing fatal freezing/hanging in windows when using some really simple csd files into csound for usine. I'm using win7 x86, asio4all, usine pro standalone 5.8 and the latest csound 5.15 binary.The problem seems to be ocurring once the score is finished, not at loading, not at the middle.

Honestly I'm not good at all with csound and maybe I'm doing something wrong? :/

The csd files works OK when using the csound standalone by the commandline.

This is one of the simple csd file (taken from a csound tutorial by Joachim Heintz , Alex Hofmann and Iain McCurdy )

<CsoundSynthesizer>
<CsOptions>
-odac -m0
</CsOptions>
<CsInstruments>
;example by joachim heintz
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
prints "Playing %d Hertz!n", p4
asig oscils .2, p4, 0
outs asig, asig
endin
</CsInstruments>
<CsScore>
i 1 0 2 10
i . + . 100
i . + . 1000
i . + . 10000
i . + . 20000
</CsScore>
</CsoundSynthesizer>

Statistics: Posted by Floego — 07 Feb 2012, 03:49


]]>
2012-02-01T22:21:00+02:00 2012-02-01T22:21:00+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22520#p22520 <![CDATA[Csound 4 Usine]]> Statistics: Posted by caco — 01 Feb 2012, 21:21


]]>
2012-02-01T19:35:08+02:00 2012-02-01T19:35:08+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22518#p22518 <![CDATA[Csound 4 Usine]]>
thanks a lot for your work!

As i said before, it would be great to have the possibility to change the soundfile.

Statistics: Posted by headphoner — 01 Feb 2012, 18:35


]]>
2012-01-30T14:32:27+02:00 2012-01-30T14:32:27+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22489#p22489 <![CDATA[Csound 4 Usine]]>

Statistics: Posted by caco — 30 Jan 2012, 13:32


]]>
2012-01-30T13:33:13+02:00 2012-01-30T13:33:13+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22488#p22488 <![CDATA[Csound 4 Usine]]> Have you yet ideas for version 3 ...?

Statistics: Posted by nay-seven — 30 Jan 2012, 12:33


]]>
2012-01-30T12:22:00+02:00 2012-01-30T12:22:00+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22487#p22487 <![CDATA[Csound 4 Usine]]>
I am not planning on making anymore changes to this version now so provided nobody finds any bugs over the next few days this will become to official version and I'll update the add-on section, wiki etc with the new information.

Now to think about v3 :)

Statistics: Posted by caco — 30 Jan 2012, 11:22


]]>
2011-12-19T13:44:02+02:00 2011-12-19T13:44:02+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22137#p22137 <![CDATA[Csound 4 Usine]]>

your patch work!


thanks a lot caco


:D

Statistics: Posted by headphoner — 19 Dec 2011, 12:44


]]>
2011-12-19T13:34:03+02:00 2011-12-19T13:34:03+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22136#p22136 <![CDATA[Csound 4 Usine]]>

You will need to update the csd file with your own file location for the diskgrain opcode and make sure it has the correct number of output variables for it.

http://www.sensomusic.com/forums/upload ... phoner.zip

Statistics: Posted by caco — 19 Dec 2011, 12:34


]]>
2011-12-19T11:25:08+02:00 2011-12-19T11:25:08+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22135#p22135 <![CDATA[Csound 4 Usine]]>
ooops yes 44000 is a wrong typo

but still don't work for me


thanks for your help!

Statistics: Posted by headphoner — 19 Dec 2011, 10:25


]]>
2011-12-19T10:27:02+02:00 2011-12-19T10:27:02+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22133#p22133 <![CDATA[Csound 4 Usine]]>

Statistics: Posted by caco — 19 Dec 2011, 09:27


]]>
2011-12-18T20:12:10+02:00 2011-12-18T20:12:10+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22126#p22126 <![CDATA[Csound 4 Usine]]>
I just tried this

CODE:

<CsoundSynthesizer><CsOptions></CsOptions><CsInstruments>sr = 44000ksmps = 256nchnls=10dbfs = 1instr 1iolaps = 2igrsize = 0.04ifreq = iolaps/igrsizeips = 1/iolapskstr chnget "param1"kpitch chnget "param2"a1 diskgrain "H&#58;usineUsine LibraryUserCsound4UsineAudio Samplesmary.wav", 32000, ifreq, kpitch, igrsize, ips*kstr, 1, iolapsoutch 1,   a1endin</CsInstruments><CsScore>f 1 0 8192 20 2 1  ;Hanning function;           timescale   pitchscalei 1   0   32600    e</CsScore></CsoundSynthesizer>
It don't work


Why?

Statistics: Posted by headphoner — 18 Dec 2011, 19:12


]]>
2011-12-17T00:43:32+02:00 2011-12-17T00:43:32+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22108#p22108 <![CDATA[Csound 4 Usine]]>
A "change soundfile" patch example would be welcome:D

Statistics: Posted by headphoner — 16 Dec 2011, 23:43


]]>
2011-12-12T17:29:46+02:00 2011-12-12T17:29:46+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22077#p22077 <![CDATA[Csound 4 Usine]]> Thanks Caco

Statistics: Posted by nay-seven — 12 Dec 2011, 16:29


]]>
2011-12-12T16:12:21+02:00 2011-12-12T16:12:21+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22076#p22076 <![CDATA[Csound 4 Usine]]>

Download

Statistics: Posted by caco — 12 Dec 2011, 15:12


]]>
2011-12-09T13:17:20+02:00 2011-12-09T13:17:20+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22041#p22041 <![CDATA[Csound 4 Usine]]>
it seems that the problem was with init

I tried qutesound example with "browse audio file", i have to much understand it!

Statistics: Posted by headphoner — 09 Dec 2011, 12:17


]]>
2011-12-07T21:39:38+02:00 2011-12-07T21:39:38+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22013#p22013 <![CDATA[Csound 4 Usine]]>
I tried to change soundfile via OSClisten

it don't work but i maybe made a mistake

The possibility to change string with input parameter would be nice:)

Statistics: Posted by headphoner — 07 Dec 2011, 20:39


]]>
2011-12-05T11:22:50+02:00 2011-12-05T11:22:50+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21990#p21990 <![CDATA[Csound 4 Usine]]>

i will try today

Statistics: Posted by headphoner — 05 Dec 2011, 10:22


]]>
2011-12-05T11:16:49+02:00 2011-12-05T11:16:49+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21989#p21989 <![CDATA[Csound 4 Usine]]>
Hi,

I would like to change the soundfile use in a csd with a string via oscsendtext


i will record a soundfile in a sampler module, so i will can name it, play it a csd ( a granular sampler) and visualize it with a display waveform module .
Ah yes this can get a bit tricky with csound as in many cases strings run at i-rate. It may be that your string gets initialized when your csd is loaded and then is not being changed. If this is the case then you can force csound to redo its init pass using the reinit opcode. I use this quite a lot in the examples to update i-rate variables in realtime. For example, in the lfo example the wavetable is only i-rate so I use reinit to update it when the uses changes waves. Take a look at it and so if it helps you, let me know how you get on :)

Statistics: Posted by caco — 05 Dec 2011, 10:16


]]>
2011-12-05T10:46:15+02:00 2011-12-05T10:46:15+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21988#p21988 <![CDATA[Csound 4 Usine]]>
I would like to change the soundfile use in a csd with a string via oscsendtext


i will record a soundfile in a sampler module, so i will can name it, play it a csd ( a granular sampler) and visualize it with a display waveform module .

Statistics: Posted by headphoner — 05 Dec 2011, 09:46


]]>
2011-12-05T10:17:21+02:00 2011-12-05T10:17:21+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21987#p21987 <![CDATA[Csound 4 Usine]]> headphoner - what is the problem you are having? Have you had a look at the convolution reverb example as that uses soundfiles?

Statistics: Posted by caco — 05 Dec 2011, 09:17


]]>
2011-12-04T11:37:31+02:00 2011-12-04T11:37:31+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21981#p21981 <![CDATA[Csound 4 Usine]]>
Thanks for the answer caco

An other question, How do you manage soundfiles in a csd?

I have problem with it

Statistics: Posted by headphoner — 04 Dec 2011, 10:37


]]>
BrainModular BrainModular Users Forum 2012-02-08T16:20:32+02:00 https://brainmodular.com/forums/app.php/feed/topic/2822 2012-02-08T16:20:32+02:00 2012-02-08T16:20:32+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22562#p22562 <![CDATA[Csound 4 Usine]]>

I have uploaded the new version to the add-on section and started to update the wiki.

Statistics: Posted by caco — 08 Feb 2012, 15:20


]]>
2012-02-07T19:24:45+02:00 2012-02-07T19:24:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22560#p22560 <![CDATA[Csound 4 Usine]]> thanks caco! :)

Statistics: Posted by Floego — 07 Feb 2012, 18:24


]]>
2012-02-07T11:19:11+02:00 2012-02-07T11:19:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22559#p22559 <![CDATA[Csound 4 Usine]]>
I have updated the download with the new version, this might fix things for you.

Statistics: Posted by caco — 07 Feb 2012, 10:19


]]>
2012-02-07T10:32:28+02:00 2012-02-07T10:32:28+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22557#p22557 <![CDATA[Csound 4 Usine]]>
No you are not doing anything wrong :/

I get the same problem with your example but it disappears when I increase ksmps to 43 or above. I think this must be a bug with Csound itself as ksmps doesn't really affect anything from the Usine side of csound4usine. There has been a lot of changes to Csound over the past few versions so it could be a bug has crept into it during that which affects the api at low control rates. I will double-check my code but I think you may just need to use larger ksmps for the moment :(

Statistics: Posted by caco — 07 Feb 2012, 09:32


]]>
2012-02-07T04:49:23+02:00 2012-02-07T04:49:23+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22554#p22554 <![CDATA[Csound 4 Usine]]>
I have been experiencing fatal freezing/hanging in windows when using some really simple csd files into csound for usine. I'm using win7 x86, asio4all, usine pro standalone 5.8 and the latest csound 5.15 binary.The problem seems to be ocurring once the score is finished, not at loading, not at the middle.

Honestly I'm not good at all with csound and maybe I'm doing something wrong? :/

The csd files works OK when using the csound standalone by the commandline.

This is one of the simple csd file (taken from a csound tutorial by Joachim Heintz , Alex Hofmann and Iain McCurdy )

<CsoundSynthesizer>
<CsOptions>
-odac -m0
</CsOptions>
<CsInstruments>
;example by joachim heintz
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
prints "Playing %d Hertz!n", p4
asig oscils .2, p4, 0
outs asig, asig
endin
</CsInstruments>
<CsScore>
i 1 0 2 10
i . + . 100
i . + . 1000
i . + . 10000
i . + . 20000
</CsScore>
</CsoundSynthesizer>

Statistics: Posted by Floego — 07 Feb 2012, 03:49


]]>
2012-02-01T22:21:00+02:00 2012-02-01T22:21:00+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22520#p22520 <![CDATA[Csound 4 Usine]]> Statistics: Posted by caco — 01 Feb 2012, 21:21


]]>
2012-02-01T19:35:08+02:00 2012-02-01T19:35:08+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22518#p22518 <![CDATA[Csound 4 Usine]]>
thanks a lot for your work!

As i said before, it would be great to have the possibility to change the soundfile.

Statistics: Posted by headphoner — 01 Feb 2012, 18:35


]]>
2012-01-30T14:32:27+02:00 2012-01-30T14:32:27+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22489#p22489 <![CDATA[Csound 4 Usine]]>

Statistics: Posted by caco — 30 Jan 2012, 13:32


]]>
2012-01-30T13:33:13+02:00 2012-01-30T13:33:13+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22488#p22488 <![CDATA[Csound 4 Usine]]> Have you yet ideas for version 3 ...?

Statistics: Posted by nay-seven — 30 Jan 2012, 12:33


]]>
2012-01-30T12:22:00+02:00 2012-01-30T12:22:00+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22487#p22487 <![CDATA[Csound 4 Usine]]>
I am not planning on making anymore changes to this version now so provided nobody finds any bugs over the next few days this will become to official version and I'll update the add-on section, wiki etc with the new information.

Now to think about v3 :)

Statistics: Posted by caco — 30 Jan 2012, 11:22


]]>
2011-12-19T13:44:02+02:00 2011-12-19T13:44:02+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22137#p22137 <![CDATA[Csound 4 Usine]]>

your patch work!


thanks a lot caco


:D

Statistics: Posted by headphoner — 19 Dec 2011, 12:44


]]>
2011-12-19T13:34:03+02:00 2011-12-19T13:34:03+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22136#p22136 <![CDATA[Csound 4 Usine]]>

You will need to update the csd file with your own file location for the diskgrain opcode and make sure it has the correct number of output variables for it.

http://www.sensomusic.com/forums/upload ... phoner.zip

Statistics: Posted by caco — 19 Dec 2011, 12:34


]]>
2011-12-19T11:25:08+02:00 2011-12-19T11:25:08+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22135#p22135 <![CDATA[Csound 4 Usine]]>
ooops yes 44000 is a wrong typo

but still don't work for me


thanks for your help!

Statistics: Posted by headphoner — 19 Dec 2011, 10:25


]]>
2011-12-19T10:27:02+02:00 2011-12-19T10:27:02+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22133#p22133 <![CDATA[Csound 4 Usine]]>

Statistics: Posted by caco — 19 Dec 2011, 09:27


]]>
2011-12-18T20:12:10+02:00 2011-12-18T20:12:10+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22126#p22126 <![CDATA[Csound 4 Usine]]>
I just tried this

CODE:

<CsoundSynthesizer><CsOptions></CsOptions><CsInstruments>sr = 44000ksmps = 256nchnls=10dbfs = 1instr 1iolaps = 2igrsize = 0.04ifreq = iolaps/igrsizeips = 1/iolapskstr chnget "param1"kpitch chnget "param2"a1 diskgrain "H&#58;usineUsine LibraryUserCsound4UsineAudio Samplesmary.wav", 32000, ifreq, kpitch, igrsize, ips*kstr, 1, iolapsoutch 1,   a1endin</CsInstruments><CsScore>f 1 0 8192 20 2 1  ;Hanning function;           timescale   pitchscalei 1   0   32600    e</CsScore></CsoundSynthesizer>
It don't work


Why?

Statistics: Posted by headphoner — 18 Dec 2011, 19:12


]]>
2011-12-17T00:43:32+02:00 2011-12-17T00:43:32+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22108#p22108 <![CDATA[Csound 4 Usine]]>
A "change soundfile" patch example would be welcome:D

Statistics: Posted by headphoner — 16 Dec 2011, 23:43


]]>
2011-12-12T17:29:46+02:00 2011-12-12T17:29:46+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22077#p22077 <![CDATA[Csound 4 Usine]]> Thanks Caco

Statistics: Posted by nay-seven — 12 Dec 2011, 16:29


]]>
2011-12-12T16:12:21+02:00 2011-12-12T16:12:21+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22076#p22076 <![CDATA[Csound 4 Usine]]>

Download

Statistics: Posted by caco — 12 Dec 2011, 15:12


]]>
2011-12-09T13:17:20+02:00 2011-12-09T13:17:20+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22041#p22041 <![CDATA[Csound 4 Usine]]>
it seems that the problem was with init

I tried qutesound example with "browse audio file", i have to much understand it!

Statistics: Posted by headphoner — 09 Dec 2011, 12:17


]]>
2011-12-07T21:39:38+02:00 2011-12-07T21:39:38+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=22013#p22013 <![CDATA[Csound 4 Usine]]>
I tried to change soundfile via OSClisten

it don't work but i maybe made a mistake

The possibility to change string with input parameter would be nice:)

Statistics: Posted by headphoner — 07 Dec 2011, 20:39


]]>
2011-12-05T11:22:50+02:00 2011-12-05T11:22:50+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21990#p21990 <![CDATA[Csound 4 Usine]]>

i will try today

Statistics: Posted by headphoner — 05 Dec 2011, 10:22


]]>
2011-12-05T11:16:49+02:00 2011-12-05T11:16:49+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21989#p21989 <![CDATA[Csound 4 Usine]]>
Hi,

I would like to change the soundfile use in a csd with a string via oscsendtext


i will record a soundfile in a sampler module, so i will can name it, play it a csd ( a granular sampler) and visualize it with a display waveform module .
Ah yes this can get a bit tricky with csound as in many cases strings run at i-rate. It may be that your string gets initialized when your csd is loaded and then is not being changed. If this is the case then you can force csound to redo its init pass using the reinit opcode. I use this quite a lot in the examples to update i-rate variables in realtime. For example, in the lfo example the wavetable is only i-rate so I use reinit to update it when the uses changes waves. Take a look at it and so if it helps you, let me know how you get on :)

Statistics: Posted by caco — 05 Dec 2011, 10:16


]]>
2011-12-05T10:46:15+02:00 2011-12-05T10:46:15+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21988#p21988 <![CDATA[Csound 4 Usine]]>
I would like to change the soundfile use in a csd with a string via oscsendtext


i will record a soundfile in a sampler module, so i will can name it, play it a csd ( a granular sampler) and visualize it with a display waveform module .

Statistics: Posted by headphoner — 05 Dec 2011, 09:46


]]>
2011-12-05T10:17:21+02:00 2011-12-05T10:17:21+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21987#p21987 <![CDATA[Csound 4 Usine]]> headphoner - what is the problem you are having? Have you had a look at the convolution reverb example as that uses soundfiles?

Statistics: Posted by caco — 05 Dec 2011, 09:17


]]>
2011-12-04T11:37:31+02:00 2011-12-04T11:37:31+02:00 https://brainmodular.com/forums/viewtopic.php?t=2822&p=21981#p21981 <![CDATA[Csound 4 Usine]]>
Thanks for the answer caco

An other question, How do you manage soundfiles in a csd?

I have problem with it

Statistics: Posted by headphoner — 04 Dec 2011, 10:37


]]>