Android :: Using ASE And Playing Sound

Oct 26, 2009

I have a python application (anki) running under ASE. It is a simple web server that uses the browser as a UI. My only issues are playing sound, which are stored locally. On the iphone, anki uses a command line app (play) to play the mp3 files. Unfortunately, there is no command line app that I can call that takes a filename as an arg and plays it. What are my options with android?

- write a sound service that sits and listens for a filename to play; possibly listening on a port for filename

- write an Java-app that I call from within python that forks off and loads a specified file, plays it and then exits. Can you call other java apps from ASE?

- wait till the browser supports the <audio> tag. I guess this is html5, but am unaware if this will be on android any time soon.

Android :: using ASE and playing sound


Android :: Playing Sound On App Startup

Nov 7, 2010

How do I go about getting my app to play an mp3 (in my res) on startup? Or how how about if I wanted this to happen when a button is clicked?

View 1 Replies View Related

Android :: Playing Same Sound Repeatedly

Dec 8, 2008

I have the following problem: when i try to play a sound over and over again, it sometimes (actually most times) is not played.the documentation says that one should use the media player in the following sequence if a sound should be played several times: is this the wrong approach? is there a more performant way to reset the pointer in the sound sample so that it can be played from the beginning? i tried using mediaPlayer.seekTo(0); but it didn't help. Code...

View 2 Replies View Related

Android :: Way To Stop Playing Music / Sound Of Other App?

Jan 28, 2010

I want to know that can we stop playing sound or music of other application which actually plays the music from our application? Something like get the handle of MusicPlayer or AudioManager in our application and using this handle stop the currently playing sound.

View 9 Replies View Related

Android :: Detect Sound Currently Playing On Speaker?

May 18, 2009

Is there any way to tell if an app is currently using the speaker (playing music or generating other sounds)? Specifically, I'd like to detect if an alarm clock is going off (not only the one that comes with the system, but any alarm clock), but I'll settle for simply knowing if any sounds are coming out of the speaker.

View 2 Replies View Related

Android :: Create Thread In Background For Playing Sound?

Nov 4, 2010

how create thread in background for playing sound?

View 2 Replies View Related

Android :: Noisy Music Sound While Playing (MediaPlayer)?

Jul 19, 2010

is there a way to find the 'noise produced' by a currently playing sound (MediaPlayer) -Like in many music editor software you import a song and it does a graphical layout of the song -like a graph with it higher up at louder bits. Hard to explain. But there must be a way to do this on android...

View 1 Replies View Related

Android :: Bad Sound Quality When Recording / Playing Audio Files

Oct 16, 2010

Hey, I have a problem with android programing when I try to record and then play the file that was just recored. I can both record and play the sound but the quality stinks. Its not just bad is really hard to listen to and sound abit like its a computer generated voice. I use the andriod SDK-emulator. The code that sets up the recording looks like this;

MediaRecorder recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_AMR);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(path);
recorder.prepare();
recorder.start();

And the code playing the file later looks like this;
MediaPlayer mp = new MediaPlayer(); mp.reset();
mp.setDataSource(path); mp.prepare(); mp.start();
I don't know what part that makes the audio file sound really bad or if its just the emulator that makes it bad and that it would work on a real phone.

View 2 Replies View Related

Android :: Playing Short Audio Clip Has Tick Sound

Dec 14, 2009

I'm using the SoundPool to play a series of small audio clips and am having issues with the audio when it starts. I have the audio attached to a button press. When I press the button mulitple times the tick persists. I was wondering if this was the audio file itself or is there something I need to do differently with the SoundPool other than play simply play the clip. These are .ogg files I created using Audacity. When I play them in my dekstop media player, they sound fine.

View 2 Replies View Related

HTC EVO 4G :: What Program To Be Used For Playing Different Sound Files?

Oct 14, 2010

What program do you use to play these (MP4, WMV, MOV) files on your Evo? I can't they them to play.

View 3 Replies View Related

Android : Playing Bigger Size Audio Wav Sound File Produces Crash

Mar 25, 2010

I am trying to play the bigger size audio wav file(which is >20 mb) using the following code(AudioTrack) on my Android 1.6 HTC device which basically has less memory. But i found device crash as soon as it executes reading, writing and play. But the same code works fine and plays the lesser size audio wav files(10kb, 20 kb files etc) very well.

P.S: I should play PCM(.wav) buffer sound, the reason behind why i use AudioTrack here. Though my device has lesser memory, how would i read bigger audio files bytes by bytes and play the sound to avoid crashing due to memory constraints. Code...

Could someone guide me please to play the AudioTrack code for bigger size wav files?

View 1 Replies View Related

HTC Wildfire :: Playing Films - Sound But No Picture / Set It Up?

Nov 27, 2010

Just brought mt Daughter a HTC Wildfire for Christmas, thought i would put a film on for her, converted it to mp4 format, then opened phone on to pc and dropped film into the sd card....thing is when i play the film on her phone, all i get is the sound but no picture.

View 1 Replies View Related

HTC EVO 4G : Way To Stop Sound From Automatically Playing In MMS Messages?

Oct 21, 2010

I hope nobody's already answered this somewhere -- I've been searching for a few days now with no luck. I'm wanting to disable the audio in received mms messages. I absolutely loath those messages that scream, blare music, say offensive stuff, etc. With my old Lotus, you actually had to choose to play the attached audio, but I can't find anything anywhere to set this on my new Evo. If anyone knows how to either make the audio in messages manual instead of automatic, or just disable their audio completely, I'd be eternally grateful to learn this!

View 7 Replies View Related

General :: Audio Echoing - Playing Sound Twice?

Jan 22, 2013

I have a flash file that I open through smartswf and suddenly the audio is now echoing, like its playing the sound twice. It use to work OK on this ROM (cyanogenmod 10) with this app. It does the same with other flash files also. I have tried other apps and does the same thing, and tried reinstalling flash and rolling back to earlier versions with the same result.

View 1 Replies View Related

General :: No Sound When Playing Games Or Music

Jun 9, 2013

I flashed too many roms for fix it {custom and offical}, my problem is my phone don't have sound when play any game or music but when my phone ringing its have sound.

View 1 Replies View Related

HTC Droid Eris :: Playing Videos - Hear Sound After 3 Second

Jan 15, 2010

When I download like a 50 sec video it will play about the first 3 secs and then all I hear is sound. Is there an app that fixes this or can I change something on my phone to make it work?

View 2 Replies View Related

Sprint HTC Hero :: Speaker Only Playing Sound From Left Side Of Camera

Dec 28, 2009

the speaker on my hero is only playing sound from the left side of the camera. is this how its supposed to be or do i have a faulty device?

View 5 Replies View Related

HTC Droid Eris : Videos Stop Playing After 1-2 Seconds But Sound Doens't

Jan 6, 2010

I loaded about 4 gigs worth of videos (About 160 different clips) onto my 8 gig SD card. When I try to play a video, the video freezes after about 1-2 seconds, but the sound keeps playing. Is there any way to solve this? There's just over 3 gigs of free space on the card.

View 16 Replies View Related

HTC Hero :: Mail Vs Google Mail - Application Not Playing Notification Sound?

Aug 24, 2009

Wondered what people's thoughts were on the mail apps that come with the phone? I've been using the HTC app, but have noticed that after a day or so the notification sound stops playing when I receive an email. This happened for anyone else? Anyone tried both apps for any length of time and have strong opinions over which app is better? I saw a review that said the HTC app is better but the Google one doesn't seem too bad to me... Anyone using the Google app that would care to chime in?

View 9 Replies View Related

Android :: RTSP Streams Play Only Sound - While Local Does Video And Sound

Jul 10, 2010

In my application, RTSP streams play only sound without video, but if i specify the video path as a local file, it plays the video and audio.

How would i get the RTSP streams to show video?

CODE:.................

View 2 Replies View Related

Android :: Using SoundPool But Sound Plays After A Delay - Sound Is Lagging

Dec 18, 2009

I am using the SoundPool as follows:

Caching my sounds:

CODE:..........

Playing a sound effect i.e when button is clicked:

Resources.playSound(context, Resources.SOUND_PIECESELECT);

However as I said the sound is lagging. What can I do to improve this? All my sounds are OGG file format.

View 9 Replies View Related

Android :: Notifications Vibrate Instead Of Sound Or No Sound?

Jan 11, 2010

Its probably just because I am a tard but can you make it so when you put it on silent you cant hit the volume up and down on the Motorolla Droid.Also can I make my notifications vibrate instead of sound or no sound?

View 1 Replies View Related

HTC Incredible : Get A Sound When Making Selections Haptic Feedback Sound

Jul 29, 2010

ON my incredible I used to get a sound when making selections and such but now its barely audible. My volume is all the way up. What happened?

View 5 Replies View Related

Stop Sound With Media Player After Clicking Another Sound Button

Aug 2, 2012

how can i stop sound with media player after clicking another sound button? and how can i set alarm/ringtone/notification when long press adding admob on my app, ive read all posts i could google but still i get errors,\

code:
final MediaPlayer sound01 = MediaPlayer.create(this, R.raw.sound01);
Button s01 = (Button) findViewById(R.id.button01);
s01.setText(this.getString(R.string.quote01));
s01.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
[code]....

View 1 Replies View Related

Media :: HTC Desire Sound Feedback - Audible Sound

Oct 3, 2010

My HTC Desire seems to have stopped singing the "tik tik" sound (the sound when you clicked on any program).

In Settings -> Sound Settings -> Feedback

I have them all checked, but for some odd reason, I still didn't get the sound.

View 2 Replies View Related

HTC Droid Eris :: Sms Sound On Phone Sound Only Vibrate

Apr 4, 2010

I am at work and i cant figure out how to turn off the ringer sound while keeping the sms sound everytime i turn the ringer off it for a to silent mode.

View 2 Replies View Related

Sprint HTC Hero : Notification Sound Change - Different Sound Than The Other

Apr 28, 2010

Right now my phone makes the same sound whether I get a email or a text message. Can I make one have a different sound than the other? If so please tell me in detail how. I only see one notification sound area.

View 7 Replies View Related

HTC Incredible :: Default Sound Files - Notification Sound

Aug 4, 2010

I am looking for the default sound files from the Incredible. Specifically, I am looking to the "doot" sound when you press the volume slider. Does anyone have this sound file? It is not located with the alarms, notification, or ringtones. Also, as an added bonus, I am looking for the notification sound from SportsTap as well.

View 1 Replies View Related

General :: Switch Toggles Between No Sound (vibrate) And Sound

May 20, 2013

I am currently an iPhone 4s user and really like the way that the switch toggles between no sound (vibrate) and sound. I leave me phone in vibrate mode for most of the day and in the evening I tend to switch it to sound so I can hear the alerts from around my house when I don't have the phone with me. I am thinking about switching to an android device (S4 or HTC One) and have a few friends that haven't been able to duplicate the behavior of the iPhone. They get sound with vibration or some other weird combinations that wont work for me. Is this a limitation of the OS or is it device specific? I basically want everything to vibrate (Ringer, SMS, Email) with the option of changing everything to sound, no combinations of the two. I also need to distinguish between types of messages by using different vibration patterns.

View 1 Replies View Related

Android :: Playing Catch Up

Jan 11, 2010

I was in my jeep the other day when I heard a ad for some song and a itagging...That got me thinking. Now before the fanboy name calling starts, this is not a comparison to iPhone. I have never owned one, nor shall I ever. I think for the android based phone to compete more with the whole iphone market, I think we need to develop our own brand of iTagging, our own brand of iPhone docks, and our own version of iTunes. I understand that the iPhone has been out for a long time and has had the media market to back it up. Heres the thing. There are way more versions of android based phones that there will be of iPhones. I know that there are a lot of variations of the phones, but its nothing adapters cant fix for the docks. as for the itagging, and the itunes apps, its nothing a dev cant handle. I am not a Dev, nor am I a manufacturer, but Im sure some of us can find a friend of a friend who knows this guy that lives down the street to help out our cause...

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved