| yes, it slipped through the cracks. I'll do it today.
On 11 Sep 2013, at 06:26, Jesse Lucas wrote:
> Crossposting from the users list as a reminder.
>
> loscil is still broken in Git as far as I can tell.
>
>
> On 05/09/13 00:35 -0400, martin wrote:
>> Thanks for the quick fix, Victor. 99% solved.
>>
>> You might want to take another look at this bit of the patch...
>>
>> @@ -578,8 +578,8 @@ int loscil(CSOUND *csound, LOSC *p)
>> phsout2:
>> p->lphs = phs;
>> put0s:
>> - memset(&ar1[n], '\0', sizeof(MYFLT)*(nsmps-n));
>> - memset(&ar2[n], '\0', sizeof(MYFLT)*(nsmps-n));
>> + //memset(&ar1[n], '\0', sizeof(MYFLT)*(nsmps-n));
>> + //memset(&ar2[n], '\0', sizeof(MYFLT)*(nsmps-n));
>> /* do { */
>> /* *ar1++ = FL(0.0); */
>> /* *ar2++ = FL(0.0); */
>>
>> With this change, if the instrument is sustained after the sample data
>> runs out you get a high-pitched whine.
>>
>> I reverted those lines, recompiled, and it works perfectly, for my
>> application, anyway.
>>
>> -J
>>
>> On 04/09/13 11:36 +0100, Victor Lazzarini wrote:
>>> I found the bug, now fixing it.
>>> On 4 Sep 2013, at 11:21, Victor Lazzarini wrote:
>>>
>>>> yes, it appears that is a bug in loscil, where only the first sample in the block is put out.
>>>> On 4 Sep 2013, at 11:01, Rene Djack wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Same on KXstudio 64 bit and Ubuntu 10.04 64b.
>>>>> It works only if ksmps = 1
>>>>> René
>>>>>
>>>>>
>>>>> Le 04/09/2013 09:22, martin a écrit :
>>>>>> Every build of Csound 6 I've done on Linux, including one from Git
>>>>>> tonight, has played back samples at what sounds like a radically
>>>>>> reduced bit depth. Grainy, distorted. I get the same results using
>>>>>> JACK, or straight ALSA (-odac).
>>>>>>
>>>>>> I've never had this problem with my Csound 5.x builds.
>>>>>>
>>>>>> Can someone else please test this CSD with Csound 6 on Linux? Replace
>>>>>> "track53-stereo.wav" with any stereo .wav or .aif file.
>>>>>>
>>>>>> If it's distorted the way it is on my system, it will be obvious.
>>>>>>
>>>>>> --------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>> -+rtaudio=jack -B 1024 -odac:system:playback_ -d
>>>>>> ;-odac -d
>>>>>>
>>>>>>
>>>>>> sr = 44100
>>>>>> kr = 4410
>>>>>> nchnls = 2
>>>>>> 0dbfs = 1
>>>>>>
>>>>>> instr 1
>>>>>> asig1, asig2 loscil .5, p5, 1, p5, 0
>>>>>> outs asig1, asig2
>>>>>> endin
>>>>>>
>>>>>>
>>>>>> ; track53-stereo.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
>>>>>> f1 0 0 1 "./track53-stereo.wav" 0 0 0
>>>>>> i1 0 3 .9 1
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug trackers
>>>>>> csound6:
>>>>>> https://sourceforge.net/p/csound/tickets/
>>>>>> csound5:
>>>>>> https://sourceforge.net/p/csound/bugs/
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug trackers
>>>>> csound6:
>>>>> https://sourceforge.net/p/csound/tickets/
>>>>> csound5:
>>>>> https://sourceforge.net/p/csound/bugs/
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>>
>>>>>
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug trackers
>>>> csound6:
>>>> https://sourceforge.net/p/csound/tickets/
>>>> csound5:
>>>> https://sourceforge.net/p/csound/bugs/
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>
>>>>
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug trackers
>>> csound6:
>>> https://sourceforge.net/p/csound/tickets/
>>> csound5:
>>> https://sourceforge.net/p/csound/bugs/
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>> https://sourceforge.net/p/csound/tickets/
>> csound5:
>> https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |