Csound Csound-dev Csound-tekno Search About

[Csnd] mp3in issue

Date2010-06-08 20:17
Frommenno
Subject[Csnd] mp3in issue
Hi,
i got "mp3in" up and running today but there seems to be a problem with it.
The sample "beats.mp3" plays fine - but only if p3 is set exactly the same
as the duration of this sample, or shorter.
So if p3=2 the sample plays but then csound hangs. Can someone verify this
please?

Ubuntu10.04, csound64 built today from CVS
Menno



; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages
-odac           -iadc     -d     ;;;RT audio I/O



; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

; Instrument #1.
instr 1
iskptim	=	.3
ibufsize	=	64
; Reads stereo audio data from an external MP3 file
ar1, ar2	 mp3in "/home/menno/manual/examples/beats.mp3", iskptim, 0, 0,
ibufsize
  out ar1, ar2
endin




i 1 0 1.7
e


Date2010-06-08 21:13
FromRene Djack
Subject[Csnd] Re: mp3in issue
Hi,

Same problem on ubuntu 10.04 32b csound cvs float and double.


Best,
René



2010/6/8 menno <nabob_cd@yahoo.com>

Hi,
i got "mp3in" up and running today but there seems to be a problem with it.
The sample "beats.mp3" plays fine - but only if p3 is set exactly the same
as the duration of this sample, or shorter.
So if p3=2 the sample plays but then csound hangs. Can someone verify this
please?

Ubuntu10.04, csound64 built today from CVS
Menno

<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages
-odac           -iadc     -d     ;;;RT audio I/O
</CsOptions>
<CsInstruments>

; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

; Instrument #1.
instr 1
iskptim =       .3
ibufsize        =       64
; Reads stereo audio data from an external MP3 file
ar1, ar2         mp3in "/home/menno/manual/examples/beats.mp3", iskptim, 0, 0,
ibufsize
 out ar1, ar2
endin

</CsInstruments>
<CsScore>

i 1 0 1.7
e
</CsScore>
</CsoundSynthesizer>

--
View this message in context: http://old.nabble.com/mp3in-issue-tp28821955p28821955.html
Sent from the Csound - General mailing list archive at Nabble.com.



Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-06-09 15:03
Frommenno
Subject[Csnd] Re: mp3in issue
i will file it as a bug...

Menno


Djack wrote:
> 
> Hi,
> 
> Same problem on ubuntu 10.04 32b csound cvs float and double.
> 
> 
> Best,
> René
> 
> 
> 
> 2010/6/8 menno 
> 
>>
>> Hi,
>> i got "mp3in" up and running today but there seems to be a problem with
>> it.
>> The sample "beats.mp3" plays fine - but only if p3 is set exactly the
>> same
>> as the duration of this sample, or shorter.
>> So if p3=2 the sample plays but then csound hangs. Can someone verify
>> this
>> please?
>>
>> Ubuntu10.04, csound64 built today from CVS
>> Menno
>>
>> 
>> 
>> ; Select audio/midi flags here according to platform
>> ; Audio out   Audio in    No messages
>> -odac           -iadc     -d     ;;;RT audio I/O
>> 
>> 
>>
>> ; Initialize the global variables.
>> sr = 44100
>> kr = 4410
>> ksmps = 10
>> nchnls = 2
>>
>> ; Instrument #1.
>> instr 1
>> iskptim =       .3
>> ibufsize        =       64
>> ; Reads stereo audio data from an external MP3 file
>> ar1, ar2         mp3in "/home/menno/manual/examples/beats.mp3", iskptim,
>> 0,
>> 0,
>> ibufsize
>>  out ar1, ar2
>> endin
>>
>> 
>> 
>>
>> i 1 0 1.7
>> e
>> 
>> 
>>
>> --
>> View this message in context:
>> http://old.nabble.com/mp3in-issue-tp28821955p28821955.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> 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 tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/mp3in-issue-tp28821955p28830839.html
Sent from the Csound - General mailing list archive at Nabble.com.



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"