Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3013759 ] mp3in issues

Date2010-07-14 19:45
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3013759 ] mp3in issues
Bugs item #3013759, was opened at 2010-06-09 15:06
Message generated for change (Comment added) made by jpff
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3013759&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csound
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Menno (menno0)
Assigned to: John ffitch (jpff)
Summary: mp3in issues

Initial Comment:

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 8 juin 2010 from CVS
Menno

The same problem seems to exist on Ubuntu 32 bit single and double precision as well.



; 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

 

----------------------------------------------------------------------

>Comment By: John ffitch (jpff)
Date: 2010-07-14 19:45

Message:
I have fixed the code and checked it in to CVS.  WIll be fixed in next
release

----------------------------------------------------------------------

Comment By: Joachim Heintz (joachimheintz)
Date: 2010-06-09 22:43

Message:
i can confirm the hanging when p3 is longer than the file length (p3=2 is
ok, p3=3 plays the file but hangs).
osx 10.5.8, intel mac
joachim

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3013759&group_id=81968

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net