Sound.position problems

Hi,
For some reason mp3.postion and mp3.duration and probably
more dont work when publishing as flash lite 2.0. There is no
problem if i go back to flash 8. The position or duration seem to
stay at 0 when using flash lite 2 even though it supports
actionscript 2.
Anyone got any ideas, is there a patch or is this an
unresolved bug?
Thanks in advance
Greg

The Flash Lite 2.0 player should be able to load the mp3,
atleast it does on my Nokia 6620 s60v2 phone. As to why it does not
on your phone I am uncertain.
I am not sure where ringtones go on s60 v3. The point of this
is to verify that the OS plays the sound, incase there is a problem
with the OS instead of Flash. It is a good idea to verify device
sounds as a ringtone before testing with Flash.
On s60v2 there is a folder called sounds with two folders
below it, one for digital sounds the other for MIDI sounds. You
would place the MP3 inside the digital sounds folder. You then open
the Real Media player and select the MP3 from the saved clips
option in the options menu. This would verify that the phone OS can
actually play the MP3. Flash on s60 has its own mp3 decoder that is
independant of the OS. It is possible that the phone is not able to
play the MP3 because of a bitrate or sample rate incompatibility.
But this is remote.
Sorry I do not have more information to offer.

Similar Messages

  • Problem with Sound.position

    I find that Sound.position does not reset to 0 when using
    Sound.loadSound(). It seems to continue with the last value. If a
    loaded sound is stopped at position 500. Starting the sound again
    plays the sound from 0 but position starts at 500?
    I have worked around this by making a new sound object when a
    loadedSound is stopped. Is there a better solution?

    This is not an intermittent problem. This is how the Sound
    object works. I'm using Flash 8. It worked this way under Flash 7
    also.
    Try it for yourself. Follow these steps:
    1) Make a new text field to display the position. Then make
    two buttons one to play and one to stop the sound.
    2) Make a Sound object
    3) Add an onEnterFrame function to the main timeline that
    puts the position of the sound in the field
    4) Set up the first button to call loadSound. Set up the
    second button to stop the sound.
    Test your movie. Click the first button, the sound starts to
    play and you will see the value of position in your text field.
    Click the second button. The sound stops and the field still
    shows the current value of position.
    Note this says that position doesn't get set to 0 when you
    stop your sound.
    Next click the first button to play your sound. Clicking this
    calls loadSound again which starts the audio from the beginning.
    But, the position displayed in the field doesn't start form 0. It
    continues from where it was last. If the sound gets to the end. The
    value stops increasing but the sound continues to play?

  • Sound stream problem?

    I don't know if this is an issue with Flex, or how I've set my webserver up but basically I've made an MP3 player component in flex based on the Sound class.  It works fine apart from the position slider I have made for the player (using the HSlider class in Flex 4) cannot navigate towards the end portion of the track -  the audio freezes up and the player stops playing.
    I have made sure that the position slider is only activated when the bytes loaded is equal to the total bytes, so that shouldn't be the problem - it is all buffered before I try to navigate to towards the end of the track.
    So why does it freeze up when I set the position slider towards the end of the track?
    Only thing I can think is that you have to call the stop() function to stop the Sound playing and then seek the new position.  Does stopping the sound, remove the data that you have buffered?  Is this a caching problem with webservers that I am not understanding, or can I code something in actionscript to overcome it?
    Any thoughts would be much appreciated...
    Another thought I had is whether my maths in providing  the new sound position to play from is trying to seek a position which is too precise, ie too many decimal places and that may confuse the play function so that it doesn't bother... By the way, I am having to set a new property called snap interval on the flex 4 slider for it to navigate to all values, not just 0 and 1.  Could this also be part of the problem - why does it not, by default, glide through all values from 0 to 1 like it used to?
    Thanks for any help anyone can provide...

    Forgot to mention, that the reason I think it might not be a Flex problem is because the player works fine when tested on local server.  It is only when uploaded to web server that the tracking issues I mentioned occur..  But perhaps there are settings I can sort in Flex to overcome this, or someone knows what this may be due to?

  • HT4085 Some videos that are taken with my iphone's camera are not making sounds, this problem occured today to all videos i record, please help

    Some videos that are taken with my iphone's camera are not making sounds, this problem occured today to all videos i recorded starting from today, please help

    It also takes time for the photos to be transferred out of your iPhone and into Photo stream on Apple's iCloud servers.
    Note that this can't happen if your iPhone is not connected to a WiFi network:
    When you enable My Photo Stream on your devices, all new photos you take or import to those devices will be automatically added to your photo stream.
    iOS devices: New photos you take are automatically uploaded to your photo stream when you leave the Camera app and are connected to Wi-Fi. My Photo Stream does not push photos over cellular connections.
    Macs: Any new photos you import to iPhoto or Aperture begin uploading automatically when you have a Wi-Fi or Ethernet connection. Or you can change your iPhoto or Aperture preferences so that only photos you manually add to My Photo Stream are uploaded.
    PC with iCloud Control Panel 2.0 or later: Open a Windows Explorer window and under Favorites select iCloud Photos if you are using iCloud Control Panel 3.0 (or Photo Stream if you are using 2.0 to 2.1.2). Open My Photo Stream. Click the "Add photos" button. Select the photos to import to My Photo Stream, then click Open.
    from here: http://support.apple.com/kb/ht4106

  • Sound device problem in ZONE

    I created a solaris zone for my desktop use, but the sound device was not avaialbe. I tried to export it from the global zone:
    device
    match: /dev/sound/*
    then rebooted the zone, login it, found there were several files added in /dev:
    lrwxrwxrwx   1 root     root           7 Sep 17 14:50 /dev/audio -> sound/0
    lrwxrwxrwx   1 root     root          10 Sep 17 14:50 /dev/audioctl -> sound/0ctl
    crw-------   1 root     root      34,  0 Sep 17 14:50 /dev/sound/0
    crw-------   1 root     root      34,  1 Sep 17 14:50 /dev/sound/0ctlThe problem is: how to change the /dev/sound/* files for all users to read and write, permanently?
    I tried the following methods but failed:
    1. Change manually these files' mode to a+rw as root. But once I logged out the zone or rebooted the zone, the changes were lost.
    2. Create a script in /etc/init.d/ and link it to /etc/rc3.d/ to let it auto execcute when boot, as below:
    #!/sbin/sh
    /usr/bin/chmod a+rw /dev/sound/*
    echo `date '+%D %H:%M:%S' > /var/tmp/enable.audio.log
    ls -le /dev/sound/* >> /var/tmp/enable.audio.logthe content of /var/tmp/enable.audio.log is something like:
    crw-rw-rw-   1 root     root      34,  0  9月 17 14:50:30 2005 /dev/sound/0
    crw-rw-rw-   1 root     root      34,  1  9月 17 14:50:30 2005 /dev/sound/0ctlBut oddly, the permissions of these files would always be changed back to the original state soon, automatically.
    3. I added an entry in /var/spool/cron/crontabs/root to change the permissions every 10 mins, and it did work, strangely. However I think it's not a good method, because I have to wait for 10 minutes before I can login it (if I login the zone before the permissions were changed, the sound device will never work)
    Thanks in advance.

    It's probably /etc/logindevperm that's fighting you. Read the comments in that file, then you can modify /dev/sound in it.
    The idea is that only the user logged in on the console would normally have access to the audio device and the frame buffer, so the permissions are reset at login.
    If you're having folks login through a separate zone, this changes that assumption.
    Darren

  • Sound & Bluetooth problems for lenovo G 560

        Sound & Bluetooth problems for lenovo G 560-
    Speakers create noise when increase the sound or change window.
    Bluetooth icon & drivers dissappear after sometime.(Fn + F5 doesn't work)
    They appear again after restart.
    Warranty Status Lookup
    Product ID:        Type-Model:        Serial number:
    59304299        0679-N/A        CBxxxxxxxx
    Location:        Expiration date:        
    India                  2012-08-31        
    Moderator Note; s/n edited for member's own protection

    Hi lenovoG60,
    Welcome to Lenovo Community!
    You may want to try updating all of your machine drivers such as
    Lenovo Energy Management (power management)
    Bluetooth drivers
    Sound card drivers
    Chipset drivers
    Look for the drivers from our support site.
    Best regards,
    Cleo
    WW Social Media
    T61, T410, x240, Z500, Flex 14
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Audigy 2 sound card problems

    I am hoping that someone out there can help me in a crucial situation.
    I am using an Audigy 2 sound card with creative 5. speakers.
    I also use Adobe Audition to edit, record sessions for my voice-over jobs.
    Recently, I attempted to hook up a web cam so that I could see my grand daughter on the west coast.
    After hooking up the web cam, I noticed my home studio environment changed drastically. I began having trouble with recording using my microphone through my Macki mixer. I began hearing a continuous hiss that I had never experienced before.
    In fact after uninstalling the web cam, and restarting my computer, I got that horrible blue screen on my computer indicating the world was about to end! Smile
    Long story short, I was able to finally get my computer back up, but I continue to experience problems recording "clean' audio".
    Three things, after reinstalling Creative from disc several times and restarting my computer I receive a window stating Creative Media Source Detector.....Unable to load needed components....Please reinstall the application"
    Also, when trying to test my sound hardware I get a message stating...Direct play voice setup..."an error occurred during direct play voice setup....error code 0x80004005
    Last but not least I cannot access the "Creative diagnostic feature on my computer. I only get a small window for this feature that will not open up fully and allow me to run a diagnostic test!
    I know this is a lot to absorb, but I cannot get anyone from Creative to address my problems because I am out of warranty and therefore not getting any love from this company.
    Need your advice and or guidance on this.
    Please respond when time allows.
    Vopro

    Re: Audigy 2 sound card problems? use add/remove programs and remove all creative software and drivers, then do the same for your web cam and unplug it
    restart your pc
    download and install [url="http://downloads.guru3d.com/Guru3D---Driver-Sweeper-%28Setup%29-download-655.html" rel="nofollow">driver sweeper[/url] and use it to clean up any left over creative bits and bobs and restart your pc when it asks you to
    now download and install the [url="http://support.creative.com/Products/product_list.aspx?catID=&CatName=Sound+Blaster" rel="nofollow">latest audigy drivers[/url]
    once your back in to windows try recording something and see if everything's back to normal
    now reinstalling your web cam but don't reinstall using the cd that came with it
    find the manufacturer's website and get the latest drivers
    install cd's best avoided simply because the software and drivers they contain are typically the initial release versions, and so potentially very old
    and i think we can all agree that old, buggy drivers can be a real pain

  • Intermittent sound & voice problems

    I have been having Intermittent sound & voice problems
    During the last week when making receiving the voice and sound from the speaker is distorted on both ends of the conversation
    I have to restart the mobile and it works fine for a day or so then starts again
    I reset the phone to factory setting and it seems to have no effect
    Has anyone else had these problems?

    http://www.sonymobile.com/global-en/support/contact-us/
    Update Service (SUS)
    PC Companion (PCC)
    Bridge (for Mac)
    Alternatives on How to backup Xperias
    http://talk.sonymobile.com/thread/36355
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Sound Object Problem

    Hi All,
    I'm working with sound object. I want to pause the sound. By
    clicking on pause btn, I'm storing the sound position in a variable
    e.g:
    _root.soundPos = _root.mySound.position;
    but when I click the play btn, sound is not playing, I have
    written following code on play btn :-
    _root.mySound.start(_root.soundPos,99999);
    If I write following code, sound starts to play but not from
    the given position, it starts from 0 .
    _root.mySound.start(eval(_root.soundPos),99999);
    Plz. help me and let me know where I'm doing wrong.
    Thanks
    Harmeet

    you moved your embedding html's location or you move your
    mp3's location.

  • SBZ - how to change sound "position"

    Hello, i've just switched to a SBZ from an X-Fi Fatality Gamer blabla.
    I've been using XFI changer for the last years and now thanks to Applejack i have something similar to use with my new SBZ, SBZ switcher.
    I just miss one little thing from creative: i need to change the position of the sound to the back speakers when i watch movie like i used to do with my X-Fi.
    Here you are a pics of what i mean by change sound position..
    Immagine.jpg
    It's possible someway to do that with a SBZ??
    Thank You,
    pakko

    Firefox will use the default audio of the computer you are running this from.
    If you are having further issues with this, the following article will help troubleshoot.
    [[Fix common audio and video issues]]

  • Format Sound.position and .duration into time

    Hi,
    How would i go about formatting Sound.position from
    milliseconds into proper time like 1:30 for 90 seconds?

    i have figured it out if anyone else wants to know...
    where timeString is the Sound.position in
    milliseconds!

  • How I fixed my Toshiba Satellite sound distortion problem

    I've been trying to get the garbled sound recording problem fixed on my Satllite L745-S4210 for months. I have been on this forum and other forums. Alot of people have given me their time trying to fix it, but I managed to do it myself. In the Microphone Properties Advanced Section is a box "enable audio enhancements" I unchecked that box and all my recordings are now crystal clear!

    Satellite L745-S4210
    garbled sound recording   ...   a box "enable audio enhancements" I unchecked that box and all my recordings are now crystal clear!
    Thanks for that contribution.
    The box should be labeled "enable garbled recording."
    -Jerry

  • Fixed my sound crackling problem! Soundblast X-fi Xtrememusic c

    I received my Soundblaster X-fi Xtrememusic card yesterday evening and having sound crackling problem. I could hear this crackling sound whenever I play music CD or play Battlefield 2 and it was annoying,? So I searched Google about this and found a thread on this forum about a bunch of people having this same problem. I just thought I should post my problem/solution to see if this fixes for you guys. The issue with my system was because of my wireless Belkin Pre-N desktop card. Here is how I found out:?. Was having crackling problem so I reinstalled Windows XP w/ SP22. After Windows XP installed, the first driver I installed was for?Soundblaster X-fi card3. Tested the sound by playing music CD. Couldn't detect any crackling sound.4. Installed Belkin?wireless?Pre-n desktop card driver and crackling sound returns. >5. Uninstall Belkin driver and turned off computer6. Put in my old D-Link DWL 520 Wireless card and installed driver for it. So far X-fi seems to like D-Link DWL 520 card!?I tested with D-Link DWL 520 by listening to music and downloading 28mb file off Nvidia and no crackling sound! I hope this help for you guys! I love X-fi now... I was about to return it back to Newegg. ?My system spec:Windows XP w/ SP2AMD 64 X2 4400+ (at stock speed)Asus A8N-SLI Premium MB2GB Corsair memory600 Watts Seasonic power supplyEVGA 7800GT SLI2x 250GB Western Digital HD on?NVRAID0?Message Edited by ktun on 02-28-20060:59 AM

    Same thing here... X-Fi Titanium Fatalty Champion, P5E3 Deluxe (x38)..using Windows XP SP3
    check it out ftp://ftp.int3.ru/X-Fi_Recording_Sample.rar

  • I still have a warranty but it will be out in a week. i previously have a sound distortion problem with my mac for months and suddenly it just fix itself. what should i do? i'm worried that it will comeback and i dont have a warranty anymore.

    i still have a warranty but it will be out in a week. i previously have a sound distortion problem with my mac for months and suddenly it just fix itself. what should i do? i'm worried that it will comeback and i dont have a warranty anymore.

    JoBautista,
    you still have the option (before your warranty expires) of purchasing an AppleCare Protection Plan, which will provide an additional two years of coverage. Once your warranty expires, you will no longer have the option of purchasing AppleCare.

  • Not exactly a Java.Sound.* problem...

    Hello folks! I am writing a piece of code that takes a .wav file, encoded with 16 bits/sample, and has to perform a "thersholding" operation in these samples. That is, that groups of samples that don't have enough mean energy, shall not be included in the new .wav file that will contain the thresholded sample (the whole process is a short of compression).
    The problem is, that for some reason I haven't discovered yet, only half of the bytes of the original file are found in the final file! (But, the thresholding mechanism works well in these half samples :P)
    Could you please check on my code? 15 javies for the one who gives me a solution! :)
    Here goes my code
    // 16bits/sample
    // line 47 -> input .wav file
    import java.io.*;
    import javax.sound.sampled.*;
    public class thresholding16 {
    public thresholding16() {
    try {
    jbInit();
    } catch (Exception ex) {
    ex.printStackTrace();
    AudioFormat audioFormat;
    AudioInputStream audioInputStream;
    //initial samples from File
    byte buffer[] = new byte[10000000];
    //thresholded samples ->to be written in a new File
    byte newBuffer[] = new byte[10000000];
    //the initial 2-byte samples will be represented as an integer (by merging the MSB,LSB of the sample)
    int intArray[]=new int[5000000];
    //mean energy of samples for every one of the 200000 groups of 25 samples
    double energyArray[] = new double[200000];
    public static void main(String args[]){
    try{
    thresholding16 thres=new thresholding16();
    thres.moveToBuffer();
    catch(Exception x){
    System.out.println(x);
    void moveToBuffer() {
    int cnt=0;
    try{
    File soundFile =
    new File("aFile0.wav"); //to arxeio eisodou pou 8a 'katwfliw8ei'
    audioInputStream = AudioSystem.
    getAudioInputStream(soundFile);
    audioFormat = audioInputStream.getFormat();
    System.out.println(audioFormat);
    for(int h=0;h<10000000;h++){
    buffer[h]=0;
    while((cnt = audioInputStream.read(buffer,0,buffer.length)) != -1){
    System.out.println("Ta arxika deigmata ws bytes");
    for(int j=0;j<10000;j++){
    System.out.println(j+" "+buffer[j]);
    FileWriter fistream = new FileWriter("16bitArxika.txt");
    BufferedWriter outi = new BufferedWriter(fistream);
    outi.write("Ta arxika deigmata ws bytes"+"\r\n");
    for(int j=0;j<10000;j++){
    outi.write(buffer[j]+"\r\n");
    //Close the output stream
    outi.close();
    //merge the 2 bytes of a sample int one integer
    for(int j=0;j<5000000;j++){
    int num=0;
    int msb=0;
    int lsb=0;
    msb=buffer[j*2+1];
    lsb=buffer[j*2];
    int h=buffer[j*2+1];
    if (h<0){
    num=msb&lsb;
    else{
    num=msb^lsb;
    intArray[j]=num;
    }//end for
    FileWriter fistream = new FileWriter("16bitArxika.txt");
    BufferedWriter outi = new BufferedWriter(fistream);
    outi.write("Ta arxika deigmata ws bytes"+"\r\n");
    for(int j=0;j<200000;j++){
    outi.write(intArray[j]+" ");
    //Close the output stream
    outi.close();
    System.out.println("Ena deigma -> enas integer");
    for(int j=0;j<500;j++){
    System.out.println(j+" "+intArray[j]);
    for(int i=0;i<200000;i++){
    energyArray=0;
    //Mean energy estimated from the type //&#917;=10log(&#949;+1/&#925;&#931;S^2(n))
    for(int i=0;i<200000;i++){
    for(int j=0;j<25;j++){
    energyArray[i]=energyArray[i]+intArray[i*25+j]*intArray[i*25+j];
    // System.out.println("Mesh Energeia ana omada");
    for(int i=0;i<200000;i++){
    double h=0;
    h=Math.log(energyArray[i]/25+000000.1)/Math.log(10);
    energyArray[i]=h;
    //auxiliary array that tells which groups of bytes pass and //which do not
    int booleanArray[] = new int[200000];
    for(int j=0;j<200000;j++){
    booleanArray[j]=0;
    if (energyArray[j]>2.1){   //the wanted threshold
    booleanArray[j]=1;
    for(int i=0;i<10000000;i++){
    newBuffer[i]=buffer[i];
    //I put 0 to the proper positions, depending on whether the //groups of bytes has passed the thresholding operation
    for(int i=0;i<200000;i++){
    if(booleanArray[i]==0){
    for(int j=0;j<25;j++){
    newBuffer[i*25+j*2]=0; // 0 at MSB
    for(int j=1;j<26;j++){
    newBuffer[i * 25 + j * 2 - 1] = 0; // 0 at LSB
    FileWriter fstream = new FileWriter("16bitDeigmataKatwfliwmena.txt");
    BufferedWriter out = new BufferedWriter(fstream);
    out.write("Ta telika deigmata ws bytes"+"\r\n");
    for(int j=0;j<10000000;j++){
    out.write(newBuffer[j]+"\r\n");
    //Close the output stream
    out.close();
    //the new .wav file
    ByteArrayInputStream bis=new ByteArrayInputStream(newBuffer);
    AudioInputStream ais=new AudioInputStream(bis,audioFormat,newBuffer.length/audioFormat.getFrameSize());
    int cnt2;
    cnt2 = audio system.write(ais,AudioFileFormat.Type.WAVE,new File("aFile0Thres.wav"));
    System.out.println(" "+cnt2);
    catch (Exception e) {
    }//end of method moveToBuffer
    private void jbInit() throws Exception {
    }//end of class thresholding16

    >
    How do i merge all the XSL's..... can i use something
    like a master XSL that calls the other 4 documenst
    one after the other.
    Something like <XSL:Import> or <XSL:Include>
    You can import other stylesheets and use the templates they contain. You can also import one or more stylesheets and then optionally redefine any templates that they define.
    <xsl:stylesheet      version="1.0"      
                                       xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                                       xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java">
         <!-- import the core functionality -->
         <xsl:import href="../common/generic_csv.xslt"/>
    Some other templating code...
    </xsl:stylesheet>Is this what you are after?

Maybe you are looking for

  • Problem with Upgrade Release 4.6C to ECC 6.0

    Hi Experts, after the upgrade from relase 4.6C to ECC 6.0, some Function Modules have the following error: "In EXPORT/IMPORT and ASSERT... FIELDS, "IS_OUTPUTDATA" cannot be a reference nor can it contain references..." where IS_OUTPUTDATA is a export

  • Genius Question regarding classical music (or meta-data in general)

    OK - I have a fairly large library and probably 50% of it has meta-data that when pulled up automatically I leave (this is for the bulk, but not all of non-classical genres) as is post import and/or purchase from itunes. Now, here is the enchilada: I

  • QTP 11 crashing when spying seagull bluezone version 5.2

    Hi All I am using QTP 11 trial version and automated bluezone v5.2, but when I am trying to do spy, QTP hangs the system with the popup says "QTP has stopped working". This error I am not only encountering while spying but also during test run. Pleas

  • How do i copy movie dvd in terminal

    i've found over my many years of using computers how powerful the command line is, especially in unix and linux, so i think this is possible. i also have the same videp in .mp4, and that may be easier to encode to dvd compatible format and burn a dvd

  • I have to restart iTunes for Apple TV to work

    When I first go to iTunes, set it to transmit to Apple TV (2nd), the audio is not sent to my receiver until I exit iTunes and restart it.  Then it works.  Also, setting my iPhone to AirPlay/Apple TV doesn't take the first time either.  I have to swit