What happened when multiple audio players start at the same time?

Hi,everyone!
I am developing a game, using JMF to play sound.
These sound are stored in mp3 files.
In order to decode mp3 files, I installed JMF and mp3-plugin( jmf-2_1_1e-windows-i586.exe , javamp3-1_0.exe).
In the Game, a background music play back repeatly.When EndOfMediaEvent happened, I setMediaTime(new Time(0)) and then start().It works well.
There are several sound-effects,may start at any time,
so 2 or more sounds may play back at the same time,
and then Strange things happened.
Those sound-effects, usually short, can not play back inextenso.
They lose some beginning part, the length of the part is not constant.
i.e. Audio should start at MediaTime 0, but now they start at MediaTime x, x >= 0,
not only that, sometimes, Audio process bar runs, but no sound heared.
I do not know what is happening.
So please help me, thanks a lot.
The way that I use Players:
initialize:
create realized players from mp3 files
prefetch them
finalize:
deallocate not null players
then close them
using:
player.setMediaTime(new Time(0))
then player.start()
My Environment:
Windows XP, java 1.4.10, JMF2.1.1, MP3-plugin1.0

This is very strange, difficult to guess the cause... never had such an issue. Normally when the object to which the audio is attached disappears the audio stops. So in your case going to a next slide should stop the audio of the previous slide. Same with object audio.
Do you have the different audio clips (one per slide) in the Library? Could you try to delete the audio on the slide and drag it again from the Library to see if you have the same result? And what happens when you attach the audio clip to an object on the slide (you can create a totally transparent rectangle with no stroke that will not be visible to attach the audio).
Lilybiri

Similar Messages

  • Multiclips and multiple audio tracks playing at the same time

    I've only just taken delivery of my first ever mac (only ever used PC) with FCP, and I'm loving it already! Done lots of reading and viewing of video etc etc, and it's not as daunting as I thought it might be. I have one question the books don't seem to answer, and I can only find one reference to this on this site, with no definitive response. FCP5 probably doesn't work this way, but just in case someone knows different......
    I film and edit motorsport (karting) programmes for television in the UK, using multiple cameras. I usually lay all the video and audio tracks on the timeline, (synched) lock the audio for each (as it is engine noise, and I want it playing without abrupt changes at cuts as each kart passes each camera, whether in shot or not) then cut the video tracks and delete those video segments not required.
    The most exciting aspect of FCP5 for me is the multiclip editing facility, which I have found very easy to learn and is going to save me hours of work! However, I want to know if there is a way of having each audio track from each camera used in the multiclip laid down on the timeline when you import the multiclip to the timeline from the viewer, in order that I can play each audio track from each of the cameras at the same time.
    I know how to cut from angle to angle, leaving the audio from the selected angle as the one audio track playing, but I want all of the tracks to appear in the timeline and play at the same time. I know there's a bit of a workaround by locking the video and importing each audio track from each clip independently, but if you do have to re-synch one of the multiclips, this means the audio is not then synched with the original clip, which will have had an in point set before being imported in as part of a multiclip.
    I can understand why you might want to keep audio from one camera only playing over the whole multiclip, or to switch between audio from each, but in my case I prefer all audio to play at the same time. The workaround is still do-able for me as I'm only talking about engine notes, which if they are a few frames out is not very noticeable at all, but I would like to know if I'm right in thinking I cannot do it the way I would like to?
    Wish I'd used FCP from the start, but glad I've got it now.....especially with the 30 inch screen! It's 4.40am, been going over 19 hours straight and I'm still making comments like...."WOW, that's brilliant"...every half hour!
    G5   Mac OS X (10.4.3)   Quad, 8gb ram, 2 x G-Media GRaid 500gb Raids, 30 + 20 inch Cinema screens

    ...

  • Multiple audio tracks playing at the same time?

    Does the Adobe Elements 12 allow us to have mulitple audio tracks playing at the same time? Is there a limit to the number of tracks?
    Thanks!

    Hi Jennifer3211,
    Yes you can play multiple audio tracks simultaneously. The maximum no. of audio tracks can be 99.
    Thanks

  • What happens when MobileMe closes - will Cloud have the same galleries

    what happens when MobileMe is replaced with Cloud ?    will there be an equivalent mobile me gallery ?

    No.
    http://support.apple.com/kb/HT4597

  • How do you start 2+ audio files playing at the same time?

    I am trying to play 2 audio files at the same time, but I cannot figure out how to start them playing at the same time without latency issues.
    If someone can please explain the process for doing this using Audio Queue Services, I will forever be in your debt.
    This is for iPhone, but I was getting no love in those forums on this issue.

    Thanks for your reply. Apple's iPhone Application Programming Guide states the Following:
    *Playing Multiple Sounds Simultaneously*
    To play multiple sounds simultaneously, create one playback audio queue object for each sound. For each audio queue, schedule the first buffer of audio to start at the same time using the AudioQueueEnqueueBufferWithParameters function.
    This leads me to believe that it is possible. I have just not been able to get them to play precisely the same time, there is always delay.

  • For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

    For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

    For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

  • What happens if 2 ipods are synced to the same itunes?

    What happens if 2 ipods are synced to the same itunes?

    The earth reverses it's rotation.
    What do you mean "what happens"?  Nothing "happens".
    You can sync as many ipods/iphones/ipads as you like to the same itunes.

  • IPhone 4s , when I call and charging at the same time, I felt like been shocked when my ear close to the phone?

    iPhone 4s , when I call and charging at the same time, I felt like been shocked when my ear close to the phone?

    Talk to your email provider. They control their servers and what happens to your email.

  • How can I make all my tracks start at the same time? In bar 0 to be more specific

    HI! I want all my tracks to start at the same time. I need teh audio files to start at bar numer cero.

    Hi, first you'll have to adjust the project start to bar zero like shown here:
    http://help.apple.com/logicpro/mac/10/#lgcpce0833d7
    …then select all regions in your project and make sure the playhead is positioned at the start of bar zero exactly, now follow this:
    Have a nice day!

  • New Camera RAW in Photoshop CC 2014 won't open multiple Panasonic RAW (.rw2) at the same time from Windows Explorer.

    New Camera RAW in Photoshop CC 2014 won't open multiple Panasonic RAW (.rw2) at the same time from Windows Explorer.  If I select 2 raw files and click "Open" Camera RAW will only open 1 raw, then when I click "Done" it will close and open the second, sequentially.  Previous Photoshop CC and RAW worked fine, it would open mulitple RAW at the same time.  How do I fix this?

    If it worked for you that way previously there isn't much to comment about. I just tried opening multiple images from Windows Explorer with Photoshop CS6 and Camera Raw 8.6, and the first image would open and when I clicked cancel then the second image would open. But if I wanted multiple images opened in Camera Raw to work on them simultaneously it was necessary for me to open them from Bridge. I just did it as an experiment because I normally use Lightroom. Anyway, IF it was a feature at one time to work as you described, it doesn't seem to be that way now.

  • "you can not use multiple instance of Program at the same time"

    Hello @ all,
    I have a Problem, after the installing from Acrobat Testversion and acrobat reader in version in "all Combination" 8 an 9.
    I get this misstake information "you can not use multiple instance of Program at the same time" if I want open more then 1 .pdf.
    If I have no pdf open, but acrobat/reader so i can´t open with the same Misstake.
    I have deinstalled and installed, Allways I bekame the same information. I tryed all things to clean and know i don`t know forward.
    Important: by Drag an Drop in the Acrobat Reader it is going, but by direct click on the pdf i get mistake.
    Maybe, you know what I can do!
    Thanks for help!

    Installation of both Acrobat and Reader in the same Windows machine is not advisable. If I were you, I would remove both completely and then reinstall the one you want to keep.

  • Microphone and what U hear can not be use at the same time at the same time

    I am using Creative SB X-fi Xtreme Gamer (Creative Model Number: SB073A), sound card and have down loaded the latest drivers (version 2.18.15). What U hear is enabled, which in turned makes the microphone unavailable. If you reverse the settings, then what U hear is unavailable.
    It appears that; microphone and "What U Hear" can't be enabled at the same time. If someone has an answer on how to correct the following settings to achieve; using the microphone and what U hear at the same time would be appreciated.
    My OS is WIN 7x32

    It was possible in Windows XP but due to windows 7 own audio mixer this does not work anymore.

  • Recording Audio and Midi at the same time in Logic 7 Express Can it be done

    I am wondering if I can record audio and midi at the same time in Logic 7 Express. I am running my guitar thrugh a Roland GR 33, and a line out and using the GR 33 to trigger sounds in the Logic's synth section but cant seem to record all three tracks at once. If any one knows how let me know. Oh and I am running the GR Synth and Guitar into the Prosonus Fire Fox and have the GR 33 out midi to the Fire Box as well. So I guss the question is how do I sent up two audo tracks and one midi track to record in real time. Thanks Victor

    I am wondering if I can record audio and midi at the
    same time in Logic 7 Express. I am running my guitar
    thrugh a Roland GR 33, and a line out and using the
    GR 33 to trigger sounds in the Logic's synth section
    but cant seem to record all three tracks at once. If
    any one knows how let me know. Oh and I am running
    the GR Synth and Guitar into the Prosonus Fire Fox
    and have the GR 33 out midi to the Fire Box as well.
    So I guss the question is how do I sent up two audo
    tracks and one midi track to record in real time.
    Thanks Victor
    Try arming the audio tracks, select one of the tracks, then while holding down the shift key, select the midi track you want to record, arming the "r" on the midi track. Press "record".....
    HL

  • JVM 1.3.1_06 Solaris 8 (sparc) multiple jvm's crash at the same time

    Hi All,
    I had multiple jvms crash all at the same time today morning, i was wondering if anyone had any similar issues with 1.3.1_06:
    Only a few jvms left an hs_errpid.log: here is the one with the most info:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 10 occurred at PC=0xff02f8f8
    Function name=VerifyClassCodes
    Library=/www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libjava.so
    Current Java thread:
    at java.lang.Shutdown.halt(Native Method)
    at java.lang.Shutdown.exit(Shutdown.java:209)
    at java.lang.Terminator$1.handle(Terminator.java:33)
    at sun.misc.Signal$1.run(Signal.java:193)
    at java.lang.Thread.run(Thread.java:479)
    Dynamic libraries:
    0x10000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/bin/../bin/sparc/native_threads/java
    0xff350000 /usr/lib/libthread.so.1
    0xff340000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff330000 /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
    0xfe400000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/hotspot/libjvm.so
    0xff2d0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff1c0000 /usr/lib/libmp.so.2
    0xff090000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/native_threads/libhpi.so
    0xff060000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libverify.so
    0xff020000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libjava.so
    0xfe7d0000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libzip.so
    0xfe3e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
    0xfe390000 /www/gmgwh/weblogic/jdk/j2sdk1_3_1_06/jre/lib/sparc/libnet.so
    0xfe230000 /usr/lib/nss_files.so.1
    0xfe160000 /www/gmgwh/weblogic/6.1/sp4/lib/solaris/libmuxer.so
    0xfd0e0000 /usr/ucblib/libucb.so.1
    0xfd090000 /usr/lib/libresolv.so.2
    0xfd050000 /usr/lib/libelf.so.1
    0xfafd0000 /app/oracle/product/8.1.7.4/lib/libocijdbc8.so
    0xe1800000 /app/oracle/product/8.1.7.4/lib/libclntsh.so.8.0
    0xfafb0000 /app/oracle/product/8.1.7.4/lib/libwtc8.so
    0xfaf90000 /usr/lib/libsched.so.1
    0xfaee0000 /usr/lib/libaio.so.1
    Local Time = Wed Jan 19 09:09:31 2005
    Elapsed Time = 22367
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_06-b01 mixed mode)
    #

    hi there
    i would direct my efforts to search for the culprit on who generated the signal (either a INT, TERM or HUP). The crash occurred is just but another side-effect. The VM received a shutdown signal and shld exit. Just that while exiting, it crashed.
    There is this bug
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4904881
    Which is pretty rare. I am not sure if you are encountering this bug but if u have a core, a pstack of the core should show > 2 threads with doing the signal shutdown.

  • Lightroom quits when Photoshop CS4 is open at the same time

    When I have Lightroom open at the same time as Photoshop CS4 I get the message Lightroom has encountered a problem and has to shut down. I am running the latest version of Lightroom using a PC with XP professional 64 bit. Also occasionally Lightroom reverts back to an old catalogue. Does anyone else have these problems?

    Just FYI, Lightroom is not supported on XP 64 bit. This might be one of the reasons why. You might need Vista or 7. I do know many people still run it on XP 64 though.

Maybe you are looking for

  • Second hard drive in a Pavilion 500-300t

    I just bought a Pavilion 500-300t PC through the EPP program.  I want to install a second SATA hard drive in it, but I can't figure out how or where to mount the second drive.  As far as I can tell, there isn't a bay or rack for mounting an additiona

  • Help with SLQ Query -

    Hi All, I am writing a bit of SQL and am stuck. I have a custom table which stores as follows table : xx_vendor with some sample data vendor_id vendor_site_id item_id 1317 10727 1931 1317 10728 1931 1317 null 1932 1317 10727 1932 I am joining this ta

  • Animating a line by moving bezier handles, points

    I'm working on a clip that simply moves lines around the stage and makes them bend. It seems very easy to do this, in a sloppy and uncontrolled kind of way, with the record button on, moving to different points along the timeline and moving the handl

  • To all: BIG PROBLEM!! please help me

    to: readers my prob. is about playing videos on my phone, my phone is Nokia3110c.. my phone supports many file formats like avi, mpeg,wmv,mpg3gp and many formats.. but when i put these files on my phone it says "unable to open".. please help me i alr

  • Calucalation of depreciatio using two different percentages and dep areas

    Hi experts, I have a doubt on the following scenario As per requirement of my client 10% SLM maintain for Machinery and at the same time 20% maintain depreciation for the same asset for special tax depreciation purpose in same year, is it possible? T