|
I remember now what the problem was: the input to
lpanal could not
contain silences, otherwise the analysis would not
work (gaussian: ill-conditioned),
other than that, it worked.
The errors you list here are 1) srate not matching
file (change your orc sr to 44100)
2) the value of ktim (1st arg to lpread) seems to
be going negative (not sure why),
try just setting it to a positive constant just to
test.
The mixviews file will never work because its
header is different from lpanal files (that
is why csound thinks it is
byte-reversed).
You seem to have copied the same message twice, so
I don't know what you are
getting with the lpanal file you created. The one
attached does not work here as well.
Victor
----- Original Message -----
Sent: Sunday, August 31, 2008 10:02
PM
Subject: [Csnd] Re: Re: Re: Re: LPC
Thanks for the attachments. When trying your csd and lpc files I get this
error:
new
alloc for instr 1:
file
/Users/peimankhosravi/Desktop/vic.lpc (112660 bytes) loaded into
memory
Using
filter coefficient type of file.
WARNING: [mlpfile srate != orch
sr[m
[mPERF ERROR in instr 1: [mlpread timpnt <
0[m
[mkrmsr krmso kerr kcps lpread #k0 "/Users/peimankhosravi/Desktop/vic.lpc" 0 0
��
note aborted
B
�0.000 .. 10.000 T 10.000 TT 10.000 M: � �733.2
Score
finished in csoundPerform().
inactive allocs returned to
freespace
end of
score. � overall amps: �
�733.2
� overall samples out of range: � �
� �0
1
errors in performance
When trying an lpc file made in Mixviews I get the error about the bite
orders being wrong.�
And when trying with an lpc file made with lpanal on intel mac I get this
and just one click at the start of the performance:
new
alloc for instr 1:
file
/Users/peimankhosravi/Desktop/vic.lpc (112660 bytes) loaded into
memory
Using
filter coefficient type of file.
WARNING: [mlpfile srate != orch
sr[m
[mPERF ERROR in instr 1: [mlpread timpnt <
0[m
[mkrmsr krmso kerr kcps lpread #k0 "/Users/peimankhosravi/Desktop/vic.lpc" 0 0
��
note aborted
B
�0.000 .. 10.000 T 10.000 TT 10.000 M: � �733.2
Score
finished in csoundPerform().
inactive allocs returned to
freespace
end of
score. � overall amps: �
�733.2
� overall samples out of range: � �
� �0
1
errors in performance
I've attached the lpc files.�
Thanks again
Peiman�
�
On 31 Aug 2008, at 17:12, victor wrote:
I have it working here, with some clicks.
Here's a sample CSD and lpc analysis file (done on
windows/intel,
might work on mac/intel).
Victor
Sent: Saturday, August 30, 2008 4:35 PM
Subject: [Csnd] Re: Re: LPC
It was broken last time I tried it; hopefully
someone who knows a bit
about LPC might be able to take a look at the
code to see what's going
on.
On Sat, Aug 30, 2008 at 10:16 AM, peiman
khosravi
OK this looks a bit better!
new alloc for instr 1:
file
/Users/peimankhosravi/Desktop/Flutenote1mono.aiff.lpc (5032 bytes)
loaded into memory
Using filter coefficient type of file.
new alloc for instr 2:
WARNING: lpread ktimpnt truncated to last
frame
inactive allocs returned to freespace
end of score.� � � � � � � overall amps:� � � inf� � � inf
� � � � �
overall samples out of range:�
� � 228� � � 228
0 errors in performance
Elapsed time at end of performance: real:
2.885s, CPU: 0.600s
270 4096-byte soundblks of shorts written to
dac0
Removing temporary file /tmp/tmp.41.2tCXGy.srt
...
Removing temporary file /tmp/tmp.40.7RbiA4.sco
...
Removing temporary file /tmp/tmp.39.H0nXCW.orc
...
overall amps inf!??
P
On 30 Aug 2008, at 14:52, peiman wrote:
is LPC broken in csound 5? I've been trying
to analyse and synthesise
audio
using LPC and I keep getting errors about the
byte order being wrong.
I looked on the list and it seems there has
been problems with this in the
past, has this been fixed yet? I'm on intel
osx, using 64bit csound.
Thanks in advance
Peiman
--
View this message in context:
Sent from the Csound - General mailing list
archive at Nabble.com.
Send bugs reports to this list.
csound"
Send bugs reports to this list.
csound"
Send bugs reports to this list.
Send bugs reports to this list.
Thanks for the attachments. When trying your csd and lpc files I
get this error:
new alloc for instr 1: file
/Users/peimankhosravi/Desktop/vic.lpc (112660 bytes) loaded into
memory Using filter coefficient type of file. WARNING: [mlpfile
srate != orch sr[m [mPERF ERROR in instr 1: [mlpread timpnt <
0[m [mkrmsr krmso kerr kcps lpread #k0 "/Users/peimankhosravi/Desktop/
vic.lpc" 0 0 note aborted B 0.000 ..
10.000 T 10.000 TT 10.000 M: 733.2 Score finished in
csoundPerform(). inactive allocs returned to freespace end of score.
overall amps: 733.2 overall
samples out of range: 0 1 errors
in performance
When trying an lpc file made in Mixviews I get the error
about the bite orders being wrong.
And when trying with an
lpc file made with lpanal on intel mac I get this and just one click
at the start of the performance:
new alloc for instr 1: file
/Users/peimankhosravi/Desktop/vic.lpc (112660 bytes) loaded into
memory Using filter coefficient type of file. WARNING: [mlpfile
srate != orch sr[m [mPERF ERROR in instr 1: [mlpread timpnt <
0[m [mkrmsr krmso kerr kcps lpread #k0 "/Users/peimankhosravi/Desktop/
vic.lpc" 0 0 note aborted B 0.000 ..
10.000 T 10.000 TT 10.000 M: 733.2 Score finished in
csoundPerform(). inactive allocs returned to freespace end of score.
overall amps: 733.2 overall
samples out of range: 0 1 errors
in performance
I've attached the lpc
files.

Thanks again Peiman
On 31 Aug 2008, at
17:12, victor wrote:
> I have it working here, with some
clicks. > Here's a sample CSD and lpc analysis file (done on
windows/intel, > might work on mac/intel). > >
Victor > > > ----- Original Message ----- From: "Steven Yi"
<stevenyi@gmail.com> > To: <csound@lists.bath.ac.uk> >
Sent: Saturday, August 30, 2008 4:35 PM > Subject: [Csnd] Re: Re:
LPC > > >> It was broken last time I tried it; hopefully
someone who knows a bit >> about LPC might be able to take a look at
the code to see what's >> going >>
on. >> >> On Sat, Aug 30, 2008 at 10:16 AM, peiman
khosravi >> <peimankhosravi@gmail.com> wrote: >>>
OK this looks a bit better! >>> >>> new alloc for
instr 1: >>> file
/Users/peimankhosravi/Desktop/Flutenote1mono.aiff.lpc (5032
>>> bytes) >>> loaded into memory >>>
Using filter coefficient type of file. >>> new alloc for instr
2: >>> WARNING: lpread ktimpnt truncated to last
frame >>> inactive allocs returned to freespace >>>
end of
score.
overall amps: inf
inf >>>
overall samples out of range:
228 228 >>> 0 errors in
performance >>> Elapsed time at end of performance: real: 2.885s,
CPU: 0.600s >>> 270 4096-byte soundblks of shorts written to
dac0 >>> Removing temporary file /tmp/tmp.41.2tCXGy.srt
... >>> Removing temporary file /tmp/tmp.40.7RbiA4.sco
... >>> Removing temporary file /tmp/tmp.39.H0nXCW.orc
... >>> >>> overall amps
inf!?? >>> >>> P >>> >>> On 30
Aug 2008, at 14:52, peiman
wrote: >>> >>>> >>>> is LPC broken
in csound 5? I've been trying to analyse and >>>>
synthesise >>>> audio >>>> using LPC and I keep
getting errors about the byte order being >>>>
wrong. >>>> >>>> I looked on the list and it
seems there has been problems with >>>> this in
the >>>> past, has this been fixed yet? I'm on intel osx, using
64bit >>>>
csound. >>>> >>>> Thanks in
advance >>>> Peiman >>>> -- >>>>
View this message in context: >>>>
http://www.nabble.com/LPC-tp19233536p19233536.html >>>> Sent
from the Csound - General mailing list archive at
Nabble.com. >>>> >>>> >>>> >>>>
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"<lpc.csd><vic.lpc>
Send bugs reports to this
list. To unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe csound" |