Csound Csound-dev Csound-tekno Search About

[Cs-dev] Simple Midi Synth - multi core mutes/cuts voices

Date2015-10-05 17:32
FromAlex Hofmann
Subject[Cs-dev] Simple Midi Synth - multi core mutes/cuts voices
Hi,

I noticed a weird behavior of Csound when run in Multi Core mode. Synth played with a MIDI keyboard seem only to produce audio when the voice is in the first thread. I tried it with two of our Examples in CsoundQT.
The quickest way to test it is: Examples->Synth->Simple_Subtractive.csd

When I add "-j4" to  only every 4th voice seems to be played.
Can anyone reproduce this behavior?

Thanks,
Alex




------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-10-05 18:02
Fromjpff
SubjectRe: [Cs-dev] Simple Midi Synth - multi core mutes/cuts voices
What happens when runnin from the commandline?
Not having csoundqt I do not have your example

On Mon, 5 Oct 2015, Alex Hofmann wrote:

> Hi,
>
> I noticed a weird behavior of Csound when run in Multi Core mode. Synth played with a MIDI keyboard seem only to produce audio when the voice is in the first thread. I tried it with two of our Examples in CsoundQT.
> The quickest way to test it is: Examples->Synth->Simple_Subtractive.csd
>
> When I add "-j4" to  only every 4th voice seems to be played.
> Can anyone reproduce this behavior?
>
> Thanks,
> Alex
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-10-05 19:16
FromAlex Hofmann
SubjectRe: [Cs-dev] Simple Midi Synth - multi core mutes/cuts voices
I noticed the same behaviour from commandline on Linux (Rpi) and Mac.



--midi-key-cps=4 --midi-velocity=5 -j4 -b64 -B512



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

instr 1
icps = p4
iamp = p5/127
aSrc oscili iamp, icps, 1 
aEnv madsr 0.01, 0.1, 0.9, 0.01 
outs aSrc*aEnv, aSrc*aEnv
endin



f 1 0 1024 7 0 512 1 0 -1 512 0
e 36000





Am 05.10.2015 um 19:02 schrieb jpff :

> What happens when runnin from the commandline?
> Not having csoundqt I do not have your example
> 
> On Mon, 5 Oct 2015, Alex Hofmann wrote:
> 
>> Hi,
>> 
>> I noticed a weird behavior of Csound when run in Multi Core mode. Synth played with a MIDI keyboard seem only to produce audio when the voice is in the first thread. I tried it with two of our Examples in CsoundQT.
>> The quickest way to test it is: Examples->Synth->Simple_Subtractive.csd
>> 
>> When I add "-j4" to  only every 4th voice seems to be played.
>> Can anyone reproduce this behavior?
>> 
>> Thanks,
>> Alex
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net