Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Csound book LPC example doesn't run?

Date2008-07-23 14:15
FromMichael Gogins
Subject[Csnd] Re: Re: Csound book LPC example doesn't run?
You can install both at the same time. They have differently named environment variables for Csound-related directories. However, you will still need to specifically launch one executable or the other, either by using the complete pathname (e.g. in a shortcut), or by setting up two different environments with different PATH variables.

Hope this helps,
Mike

-----Original Message-----
>From: gdedwards@blueyonder.co.uk
>Sent: Jul 23, 2008 6:28 AM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: Csound book LPC example doesn't run?
>
>Hi Sal,
>
>>
>> Are you using Csound Double (64-bit)? if yes,
>> try with Csound Float (32-bit) it will work.
>
>Thanks for that.
>
>Follow-up question: Can I install both double and float Csound in Windows
>at the same time (into different directories)? Or will there be
>contention between the two installs?
>
>Cheers
>Gareth
>
>> On Tue, 22 Jul 2008, gdedwards@blueyonder.co.uk wrote:
>>
>>> Hi there,
>>> I'm (slowly) working my way through various chapters in the Csound book
>and I've found that the LPC examples doesn't run on my system (WinXP,
>Csound 5.08, double samples) with the following error:
>>> INIT ERROR in instr 2709: file a3_1.lpc bytes are in wrong order krmsr 
> krmso   kerr    kcps    lpread  ktimp   "a3_1.lpc"      0       0
>>> Presumably this is an endian issue? If it is, I assume I need to recreate
>>> the .lpc file with lpanal - and if that's the case, are the flags I
>pass
>>> to lpanal critical or were the defaults used to create the book file?
>Or is it another problem entirely?
>>> Cheers
>>> Gareth
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>"unsubscribe
>>> csound"
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>csound"
>>
>>
>
>
>
>
>
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2008-07-23 22:10
FromGareth Edwards
Subject[Csnd] Re: Csound book LPC example doesn't run?
Michael Gogins wrote:
> You can install both at the same time. They have differently named environment variables for Csound-related directories. However, you will still need to specifically launch one executable or the other, either by using the complete pathname (e.g. in a shortcut), or by setting up two different environments with different PATH variables.

OK, I've installed the float build and get the same error as before 
regarding "file a3_1.lpc bytes are in wrong order".

I'll try a run on a Ubuntu machine tomorrow to see if the issue is 
restricted to the Windows platform.

> 
> Hope this helps,
> Mike
> 
> -----Original Message-----
>> From: gdedwards@blueyonder.co.uk
>> Sent: Jul 23, 2008 6:28 AM
>> To: csound@lists.bath.ac.uk
>> Subject: [Csnd] Re: Csound book LPC example doesn't run?
>>
>> Hi Sal,
>>
>>> Are you using Csound Double (64-bit)? if yes,
>>> try with Csound Float (32-bit) it will work.
>> Thanks for that.
>>
>> Follow-up question: Can I install both double and float Csound in Windows
>> at the same time (into different directories)? Or will there be
>> contention between the two installs?
>>
>> Cheers
>> Gareth
>>
>>> On Tue, 22 Jul 2008, gdedwards@blueyonder.co.uk wrote:
>>>
>>>> Hi there,
>>>> I'm (slowly) working my way through various chapters in the Csound book
>> and I've found that the LPC examples doesn't run on my system (WinXP,
>> Csound 5.08, double samples) with the following error:
>>>> INIT ERROR in instr 2709: file a3_1.lpc bytes are in wrong order krmsr 
>> krmso   kerr    kcps    lpread  ktimp   "a3_1.lpc"      0       0
>>>> Presumably this is an endian issue? If it is, I assume I need to recreate
>>>> the .lpc file with lpanal - and if that's the case, are the flags I
>> pass
>>>> to lpanal critical or were the defaults used to create the book file?
>> Or is it another problem entirely?
>>>> Cheers
>>>> Gareth
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>>>> csound"
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>>
>>
>>
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 



Date2008-07-24 02:46
Fromsal g sofia
Subject[Csnd] Re: Re: Csound book LPC example doesn't run?

Probably the file  does not work... maybe corrupted.
You should get the file  and run an analysis
(figure 27.8, pag.529 and pag.725 (for a complete list of flags)
CSOUND book).

...I work with analyses most of the time (On windows XP and on Mac OSX) 
and I know that the analysis program works on the Csound 5.08.

Regards,
--Sal





On Wed, 23 Jul 2008, Gareth Edwards wrote:

> Michael Gogins wrote:
>> You can install both at the same time. They have differently named 
>> environment variables for Csound-related directories. However, you will 
>> still need to specifically launch one executable or the other, either by 
>> using the complete pathname (e.g. in a shortcut), or by setting up two 
>> different environments with different PATH variables.
>
> OK, I've installed the float build and get the same error as before regarding 
> "file a3_1.lpc bytes are in wrong order".
>
> I'll try a run on a Ubuntu machine tomorrow to see if the issue is restricted 
> to the Windows platform.
>
>> 
>> Hope this helps,
>> Mike
>> 
>> -----Original Message-----
>>> From: gdedwards@blueyonder.co.uk
>>> Sent: Jul 23, 2008 6:28 AM
>>> To: csound@lists.bath.ac.uk
>>> Subject: [Csnd] Re: Csound book LPC example doesn't run?
>>> 
>>> Hi Sal,
>>> 
>>>> Are you using Csound Double (64-bit)? if yes,
>>>> try with Csound Float (32-bit) it will work.
>>> Thanks for that.
>>> 
>>> Follow-up question: Can I install both double and float Csound in Windows
>>> at the same time (into different directories)? Or will there be
>>> contention between the two installs?
>>> 
>>> Cheers
>>> Gareth
>>> 
>>>> On Tue, 22 Jul 2008, gdedwards@blueyonder.co.uk wrote:
>>>> 
>>>>> Hi there,
>>>>> I'm (slowly) working my way through various chapters in the Csound book
>>> and I've found that the LPC examples doesn't run on my system (WinXP,
>>> Csound 5.08, double samples) with the following error:
>>>>> INIT ERROR in instr 2709: file a3_1.lpc bytes are in wrong order krmsr 
>>> krmso   kerr    kcps    lpread  ktimp   "a3_1.lpc"      0       0
>>>>> Presumably this is an endian issue? If it is, I assume I need to 
>>>>> recreate
>>>>> the .lpc file with lpanal - and if that's the case, are the flags I
>>> pass
>>>>> to lpanal critical or were the defaults used to create the book file?
>>> Or is it another problem entirely?
>>>>> Cheers
>>>>> Gareth
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe
>>>>> csound"
>>>> 
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>>> csound"
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>> csound"
>> 
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
>

Date2008-07-24 03:08
Fromluis jure
Subject[Csnd] Re: Re: Csound book LPC example doesn't run?
on 2008-07-23 at 22:10 Gareth Edwards wrote:

>OK, I've installed the float build and get the same error as before 
>regarding "file a3_1.lpc bytes are in wrong order".

ok, i might be completely wrong here, but i've always been convinced
that lpc files are os dependent. as far as i know, you simply can't use
lpc files across mac, linux and windows. independently of the
architecture of the processor.

so yes, if i understand things correctly, you'll have to create your
own lpc file. and yes, the flags you use with lpanal are _very_
critical. the implementation of lpc in csound has always been rather
precarious. which is a pity, it's a very interesting technique, as
charles dodge among others has amply demonstrated.

best,

lj