Csound Csound-dev Csound-tekno Search About

filescal and mp3scal

Date2016-05-14 19:45
FromMenno Knevel
Subjectfilescal and mp3scal
Hi,

i get a segmentation fault when trying out the example of filescal.
And,
p3 is a note of 1 second but in this example (and the example of mp3scal) it
runs much longer. Seems strange to me...




-odac   ;;;realtime audio out



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

instr 1

p3 = filelen("fox.wav")/p4
k1 linen 1,0.01,p3,0.1
a1 filescal p4,0.5,1,"fox.wav",1
  outs a1*k1, a1*k1
endin



i1 0 1 1.25
i1 2.5 1 .75





--
View this message in context: http://csound.1045644.n5.nabble.com/filescal-and-mp3scal-tp5749700.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-14 20:24
Fromjpff
SubjectRe: filescal and mp3scal
Is this te latesy fro git?  A bug was fixed in the last day or so

On Sat, 14 May 2016, Menno Knevel wrote:

> Hi,
>
> i get a segmentation fault when trying out the example of filescal.
> And,
> p3 is a note of 1 second but in this example (and the example of mp3scal) it
> runs much longer. Seems strange to me...
>
>
> 
> 
> -odac   ;;;realtime audio out
> 
> 
>
> sr = 48000
> ksmps = 32
> nchnls = 2
> 0dbfs  = 1
>
> instr 1
>
> p3 = filelen("fox.wav")/p4
> k1 linen 1,0.01,p3,0.1
> a1 filescal p4,0.5,1,"fox.wav",1
>  outs a1*k1, a1*k1
> endin
>
> 
> 
> i1 0 1 1.25
> i1 2.5 1 .75
> 
> 
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/filescal-and-mp3scal-tp5749700.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-14 21:01
FromVictor Lazzarini
SubjectRe: filescal and mp3scal
p3 is modified to match the file length and timescaling

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 14 May 2016, at 20:24, jpff  wrote:
> 
> Is this te latesy fro git?  A bug was fixed in the last day or so
> 
>> On Sat, 14 May 2016, Menno Knevel wrote:
>> 
>> Hi,
>> 
>> i get a segmentation fault when trying out the example of filescal.
>> And,
>> p3 is a note of 1 second but in this example (and the example of mp3scal) it
>> runs much longer. Seems strange to me...
>> 
>> 
>> 
>> 
>> -odac   ;;;realtime audio out
>> 
>> 
>> 
>> sr = 48000
>> ksmps = 32
>> nchnls = 2
>> 0dbfs  = 1
>> 
>> instr 1
>> 
>> p3 = filelen("fox.wav")/p4
>> k1 linen 1,0.01,p3,0.1
>> a1 filescal p4,0.5,1,"fox.wav",1
>> outs a1*k1, a1*k1
>> endin
>> 
>> 
>> 
>> i1 0 1 1.25
>> i1 2.5 1 .75
>> 
>> 
>> 
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/filescal-and-mp3scal-tp5749700.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-14 21:18
Fromjpff
SubjectRe: filescal and mp3scal
PS tis example runs correctly for mme -- no seg fault just quick brown fox 
and a slower one

On Sat, 14 May 2016, Menno Knevel wrote:

> Hi,
>
> i get a segmentation fault when trying out the example of filescal.
> And,
> p3 is a note of 1 second but in this example (and the example of mp3scal) it
> runs much longer. Seems strange to me...
>
>
> 
> 
> -odac   ;;;realtime audio out
> 
> 
>
> sr = 48000
> ksmps = 32
> nchnls = 2
> 0dbfs  = 1
>
> instr 1
>
> p3 = filelen("fox.wav")/p4
> k1 linen 1,0.01,p3,0.1
> a1 filescal p4,0.5,1,"fox.wav",1
>  outs a1*k1, a1*k1
> endin
>
> 
> 
> i1 0 1 1.25
> i1 2.5 1 .75
> 
> 
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/filescal-and-mp3scal-tp5749700.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-05-14 21:35
FromMenno Knevel
SubjectRe: filescal and mp3scal
ah, my Csound version is probably way too old: Csound version 6.07 (double
samples) May  1 2016

will build a new one soon - thanks.



--
View this message in context: http://csound.1045644.n5.nabble.com/filescal-and-mp3scal-tp5749700p5749704.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here