How not cut excerpts sound?
I have an application that reads the sounds based on the accelerometer. I use this code below
Manager.createPlayer(getClass().getResourceAsStream("/sound1.mp3"), "audio/mpeg"); Manager.createPlayer(getClass().getResourceAsStream("/sound2.mp3"), "audio/mpeg");
But whenever new data are presented on the screen it cuts the old sound to halfway through the new part. Y at - there I way I can overlap eachother?
Since you said accelerometer, I'm going to guess that you develop for the storm. And as you encounter this problem, I'll also guess it's the 9530.
CDMA devices can have only a single active audio player at the time. If you attach a listener to player, your player will receive a "deviceUnavailable" when he is interrupted and a "deviceAvailable" event when it is free to read the audio again.
If I asked me to find a solution, the best thing I could think of would be to create a third mp3 (sound1 - 2.mp3) who disappears to the sound1.mp3 and going to sound2.mp3. So, if sound1.mp3 is active and you are wanting to play sound2.mp3, you would rather 2.mp3 - sound1.
(That the solution is based on the assumption you develop a lightsaber-like app and the sounds are quite similar in their all - IE, is not a human speaking, but a certain similar tone throughout the mp3 might work well).
Tags: BlackBerry Developers
Similar Questions
-
How to CUT a sound embedded in a layer of Timeline
I'm developing a site web flash using ACTIONSCRIPT 3. There is a menu of small icons that, when one of them turned on, the program loads the corresponding SWF in a charger and it then presents a 'virtual' screen (a rectangular area) in the web page. The problem is that some of these child SWFs have a built-in background noise and I DON'T KNOW how to cut the main SWF when a user decides to do so by clicking on a button "mute".
Each integrated SWF its has its own layer in the timeline and is defined as the synchronization: event, Repeat: 1.
Any idea?
If the sound of the timeline is a streaming sound, stop the timeline stops the sound. otherwise, there is no control (it of to say, stop some and keep others) individual sounds attached to fixtures.
-
How do you get sound on safe mode if it has not told!
How do you get sound on safe mode if it has not told? He didn't use to say! It is possible a hacker has stolen the sound and typed it is? It could have been someone who was company or seized that they work in or landed a job at the company laptop I have! phyllisfc
Frankly I doubt that you ever had its Mode without failure. Safe mode is a specially designed Windows state that charge only a very minimal set of very generic for devices drivers, so that you can resolve problems or solve problems that cannot be solved with the full software and driver responsible. Sound is one of the first things that gets tossed by the window, as improved video drivers, network drivers and so on.
-
How to increase the sound on my new laptop of g6 pavilian everything is in place but not very load
Hello
One thing that can help is a bit what follows. Do a right-click the speaker icon in the taskbar and select "playback devices". Left click the device once to highlight default (it is usually 'speakers & headphones') and then click the properties button. Click the enhancements tab and put a check mark in the box "Loudness equalization. Click on apply to save the changes and then click OK in all other windows and see if allowed at all.
Kind regards
DP - K
-
I do not seem imputted sound keys on my 'effects', can anyone tell my why? or how to add
I do not seem imputted sound keys on my 'effects', can anyone tell my why? or how to add
Trapcode Soundkeys is a third-party plugin commercial. You need to buy it.
Mylenium
-
How to cut sounds using the Commons of edges?
Does anyone know how to cut sounds or raise the volume to 0 and save using the http://www.edgedocks.com/edgecommons#anchor_edgecommons_20
Its a great way to use soundJS on board, but it is a bit incomplete, since it contains only play
I tried to look in the API for using setMute (true); but I don't get a lot of mistakes in the edge when I try to do
Anyone know a solve?
To turn on or off the mute button click - the best way to do is to switch a variable to hold the mute State:
code on Stage.compositionReady
isMuted var = false;
Call this function in your silent btn click event
sym.onClickMuteBtn = function()
{
isMuted =! isMuted; / / Toggle the variable
createjs. Sound.setMute (isMuted); / / set silent status toggled variable-based
}
If you really want to know if the sound is playing, see the documentation for SoundJS in SoundInstance:
http://www.createjs.com/docs/SoundJS/classes/SoundInstance.html
-
How to adjust the sound to play continuously when you listen to the Radio station
When I play a radio station on computer it keeps cutting off after that about 15 minutes and then I have to move the mouse to start the music
When I play a radio station on computer it keeps cutting off after that about 15 minutes and then I have to move the mouse to start the music. How to adjust the sound so that it can play continuousley? Thank you
Check the control panel | Power options and try to disable the screen saver and see if that fixes the problem. If not, try to address some of the other power options to keep things to turn off automatically if the computer is not in use (if it's just to play music with no user interactivity, and which is considered to be not used by power options).
Steve
-
Satellite A200 - how to get the sound on the TV?
Hello
Im trying to set up my laptop through the TV so I can watch videos via my TV, I have the part well display using an S-video cable but I do not know how to switch the sound of the TV/Surround Sound System.
Someone can give me a guide or helps to do this?
Thank you
Merrry Christmas and happy new year
Very interesting thread about a similar problem that you find under http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=69026
Check what Miro wrote and what he uses to get the transfer of audio and video signals to external devices.
If you still have any questions please let us know. -
How do cut you the notification
How can I go by cutting the sound for the notification sound, because he go all nite and its hard.
You don't have to go to messaging widget. You can simply open the text messaging application, press the menu key (4 places) and select the option "e-mail settings." Can you tell us the specific app notifications have been bothering you?
-
How to cut certain frequencies
Hello!
My question is, how to cut certain frequencies (sound of machine). The problem is im recording of the sounds, but have a noise in the background, who is always there, because of the machinery around the subject of the test. So I want to cut frequency of 1300-1500 Hz (in the example). How do I do that?
I'm using labview 2010 sound & vibration toolkit. I found a few fast .vi which attenuates frequencies in example of 1000 Hz upwards or downwards, but no .vi is there that cuts between the two.
Hello!
You must create a bandstop filter. There are a few examples in this forum. You can also view and change this: https://decibel.ni.com/content/blogs/Simon/2010/06/16/world-cup-2010--filtering-the-annoying-vuvuzel...
PS Sorry for the long link. Opera seems only I would like to create a link in the mail.
-
How can I get sound from my desktop to my TV Toshba pc?
His record game
How can I get sound from my desktop pc to my TV Toshba, that Iam currently using as my monitor... Thank you
You need to run a separate cable for audio.
See the following Note of http://windows.microsoft.com/en-US/windows7/Connect-your-computer-to-a-TV
Cables VGA, DVI and component video don't support audio signals. However, HDMI cables are supported, but not all, audio signals compatible HDMI video audio support cards. If your TV has an audio input, you might be able to connect an audio cable separate from their computer directly to the TV card. Otherwise, you need to connect the audio signal to a different device, such as external speakers or your stereo. For more information about sound cards, see sound cards: frequently asked questions.
-
HP Pavilion Dv202130ea does not completely silent sound
Hi guys & girls
I have an intel T5500 166 Mhz dv2130ea which I believe was running on xp
I set up spare parts and keep as a spare because we have a laptop in our House
for small children and my son etc.
the problem is: -.
I set up a working motherboard bought on ebay
equipped with a formatted hard drive refurbished without recovery on it
loaded windows 7 Home premium on TI tried 32 - and 64-bit
follow the instructions in upgrading this site, as I did several times before
I have sound running through my speakers
I have the sound that passes through my headphones
But when I plug the headphones into the laptop it does not cut the speakers as it should
also when zero or MUTE the sound can still be heard very low speakers
so I can't completely silent speakers
so when my mother plug in the headphones for watching her soaps I hear a little sound from speakers
also when I press the audio tab in Media bar he turns not orange
Now, I replaced the multimedia cable tape media and when I install an audio tab becomes orange
I changed the speakers
the cable audio media and media power strip button
also the audio Panel in the front where the plugs are
flashed the bios
tried almost every driver UAA I can find
Re satarting before installing the audio
tried almost every driver audio conexant, don't think I even tried some realtek drivers
installed this as i belive for the correct chipset upgrade forum
I'm really stuck on this we do not know what to try next
any ideas would be appriated
Thanks in advance
Maggie
Hi again guys & girls
I just want to share my success with you.
I finally managed to install windows 7 on my laptop DV2130ea
Sorry, I put the wrong model on previous postsloaded everything and then found this:.
Sp35682
It is an upgrade of the Modem HD Audio designed to set the button mute
and Bingo, it workedhope that it will prove useful to those who have the same problem
Thank you very much
Maggie -
How not to solve the problem of audio device?
I have this message when I try to play a music cd... Windows Media Player cannot play the file because there is a problem with the audio device. It might not be a sound device installed on your computer, it can be used by another program, or it may not work properly.
1. http://support.microsoft.com/kb/307918/en-gb
How to troubleshoot sound problems in Windows XP
2. http://windows.microsoft.com/en-us/windows/help/no-sound-in-windows
This tutorial is designed to help you identify and solve its current problems in Windows, including no sound from your speakers or headphones. This tutorial does not cover sound problems related to specific programs. Sound problems can be caused by cables that are not properly connected, corrupt, drivers, incompatible drivers, sound settings, missing updates and problems with your sound card.
-
Original title: Media Player
THE FOLLOWING IS a MESSAGE I GET WHEN TRYING TO DOWNLOAD FILES: "Windows Media Player cannot play this file because there is a problem with the audio device. "It might not be a sound device installed on your computer, it can be used by another program, or it might is not working properly. What "audio device" are talking about?
Hello
1. do you get an error with this error code?
2 have you installed multiple audio devices on your computer?
3. what version of Media Player do you use?
4. were you able to play the files using Media Player without any problem before?
5 did you a recent software or changes to the material on the computer?
Audio device is the part that allows sound from the computer. If the appliance is used or if the drivers are corrupt, then you can get the error message.
I suggest you go through the steps and check.
Method 1:
Quit other programs that may be using your sound device, and then try to play the file again.
Method 2: Install an updated driver.
Step 1: Firstly uninstall the audio driver from Device Manager and add or remove programs
How to change or remove a program in Windows XP
http://support.Microsoft.com/kb/307895
a. click Startand then click Control Panel.
b. click Systemand click on the hardware tab, then click Device Manager.
c. to the title sound, video and games controller, check the sound card that is listed.
d. right click on the sound card and then click on uninstall the driver.
Step 2: To see if an updated driver is available, use Windows Update or access the sound device manufacturer's Web site.
Follow these steps to do the same thing:
a. click Startand then click Control Panel.
b. click Systemand click on the hardware tab, then click Device Manager.
c. the title sound, the video controller and games, make sure that the sound card is listed.
d. right click on the sound card and then click Update driver to install the latest version of the driver.
e. visit the sound card manufacturer's Web site to determine if a newer version of the driver is available for download.
Method 3:
If you have multiple audio devices installed on your computer, try to use another. The selected audio device might not support Secure Audio Path (SAP).
Additional reference on:
Resolution of the problems of reading in the Windows Media Player for Windows XP
http://support.Microsoft.com/kb/306317/
Hope this helps and keep us informed if you need help.
-
I'm not all the sounds from the speakers. The volume is up
I'm not all the sounds from the speakers. The volume is up
The following links may be worth a visit:
No sound in Windows
http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows
(Win XP / Vista / 7)(307918) how to troubleshoot sound problems in Windows XP
http://support.Microsoft.com/kb/307918/en-GB
Maybe you are looking for
-
Google Plus does not work on Toshiba Thrive-AT100
My Toshiba Thrive-AT100 (PDA01A-005001) is runing on worm Android: 3.2.1.33.5.003 and he can not getProgram of Google Plus (G +) to operate. The program is quit/exit by itself. I erase the data and removed and reinstalled the program G +, it has not
-
Hello I have a HP X476dw Pro Printer.On the configuration of the network under network printer menu, watch 'integrated network capabilities have been disabled. Contact your network administrator or the person who set up the printer'. I can't print or
-
where can I go j lost or forgotten password
I recently had some thing happens and the pc off and now I don't remember my password and I need to find a way to recover. I should have made a backup disk.
-
How to remove an attachment in e-mail.
I got some of my opinions of Bill by e-mail (saves a few trees, so they tell me), with the current Bill as a xxx.pdf attached. I open the email, then the attachment, read it, have a minor heart attack or major and then save the attachment as a yyy.pd
-
Action Center tells me "Set up Backup" whatever that means, and I had to do?