Looking to clean up live audio.

Hey there.

I was wondering if someone might be useful for me. I got several videos of a client of mine who were his metal band preforming of the songs on a camcorder. The sound is OK, but have clashed, but I was wondering if anyone had advice on how to clean up a bit and define each instrument a little more. My purpose of clients is to have something to pass out to spread the word a bit before, they can afford an interface for professional recording. Any help would be greatly appreciated!

Here is the link to the videos... I have already extracted the audio... http://vids.myspace.com/index.cfm?fuseaction=vids.channel & friendID = 495530745 & n = 495530745

Thanks for the help!

Noah Magill

Once its mixed (or in this case met only once by a camcorder microphone), there's pretty much nothing you can do for her in terms of separation, of clarity or anything else. It's like baking a cake; We cannot dissociate the ingredients once they were put together. It is only with multitrack recordings that you can change things in the way you describe - just because you have still all the basic ingredients separately to remix.

Tags: Audition

Similar Questions

  • Live audio playback

    Hello

    Is it possible to read live audio data (e.g. the phone's microphone), very much as it is possible with Android [1]? BB/JavaME API media seems only to support the post-processing (and the data stored in the buffer of bytes are encoded with an audio codec).

    What I need, is the raw audio signal for a period of time pictures (for example every seconds).

    Kind regards

    [1] http://developer.android.com/reference/android/media/AudioRecord.html

    Hi PtSyFr!

    The javax.microedition.media.Manager class you can create a player to record audio.  It's RecordControl.setRecordStream will provide access you to the stream, as it is recorded.  When you create the player, you can pass additional parameters to define how many times the data is written to the stream and how, in real time.  They are documented in the class Manager under "custom Audio recording settings.

    You can specify data to be written each data milliseconds or every certain number of bytes.  You can align these values with the size of the image to get the exact image number if you need.

    -What are you looking for?

  • I tried to record some live audio. I downloaded Wondershare Streaming Audio Recorder I opened the program - but could not hear the audio I tried to play.

    original title: sound problems

    Hello!

    I tried to record some live audio. I downloaded

    Wondershare Streaming Audio Recorder

    I opened the program - but could not hear the audio that I tried to play. I don't know if downloading this program is related to the problem.
    I opened Skype - and everything worked fine. I could hear, etc. But if I run an MP3 in Windows Media Player - I hear nothing!
    My sound is at the top.
    In my Volume mixer, I see:
    1 output device digital (SPDIF) bounce up and down. (but I don't)
    2 but applications: sounds of Windows, Windows Media Player and Google Chrome will not move. (but they are at the top).
    Any suggestions?
    Jews

    I managed to get the results of work. I don't know where come the SPDIF.

    I downloaded a new driver Realtek for audio from the computer. This corrects the problem.
    But I still want to know what happened.
  • You are looking for a fully functional Audio Player HTML 5, which has a capacity of playlist

    Does anyone know how to build, find or buy a full functioning HTML 5 Audio Player that has a playlist. I found the mp3 player only small but I am looking for a full functioning Audio Player that can load and play several songs in an album, etc.. I see beautiful video HTML 5 players in the world, but it seems that nobody understood how a great Audio Player that plays several songs. Help

    You can try these:

    soul http://amazingaudioplayer.com/How-to-Insert-an-HTML5-audio-Player-to-your-webpage-with-IFR.

    http://www.musegrid.com/Adobe-Muse-widgets/audio-Widget

    http://www.Muse-themes.com/blogs/News/8285249-embedding-a-mobile-tablet-friendly-audio-PLA yer

    Thank you

    Sanjit

  • Live audio streaming on the flash site

    Hello

    I'm new to Flash and I'm working on a web page using flash, the page itself is going to be pretty basic, but the situation in that I am is the following, we would like to but a stream live audio feed on the site and I can't find how to add that.  The server it comes is a Broadwave server, and it MP3 stream.  I wish the audio stream starts automatically when the web page is opened.  Any help would be greatly appreciated.

    You can build your own player, but if you are new to Flash, you might want to just incorporate or place a pre-built player on the Web page. For example:

    http://www.longtailvideo.com/players/JW-FLV-Player/

    or

    http://flowplayer.org/

    or

    http://ffmp3.sourceforge.NET/

    each player will have its own configuration config for autoplay etc.

    Best wishes

    Adninjastrator

  • I am looking for a Windows Live ID moderator to help me with my account.

    I had my account closed and reopened, then after that I spent several days tracked someone down who might help. I then had access for about a day now it closes and nobody seems to be able to help me. I have used all the means on your site and also had several replies from micorsoft and now apparently I need a Windows Live ID, moderator. Can someone help me find a contact?

    original title: Windows Live ID moderator

    Hello

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

  • Live audio of micro speakers

    I want to get live from my microphone audio to the My speakers. I read an article on how to do the line of muting of the United Nations, but in the properties of the speaker when I select the level all I get is the volume. My operating system is windows vista Home premium.

    Hello Evan P_ _ _ _ _.

    In addition to the Meghmala response, please relay the make\model of your PC and if you use an external microphone. Also, the additional microphone settings option would be dependent on the installed sound card\software. You can also check if the latest driver for your audio device is installed to check any options or additional Microphone settings.

    Thank you

    Mary
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Looks great in mode live view, but not in Design view after adding php code

    Can anyone help with this?  I have a php with HTML5 page that looks much like the design view, live view and in the browser. I add php code above <! doctype html > and the page goes in all directions in design mode. If I switch to live view, the page looks a lot like new. The above code <! doctype html > is php with zero html completely. It's as if design mode try to read php despite start-up code and tags php in place.

    The only work around, I have found is to place <! doctype html > at the top of the page and view design looks great again, but this cannot be used in the browser as I have the php code that requires it to be the first items found.

    I use Dreamweaver CC 2014

    Any help greatly appreciated,

    Dave

    Nancy, just to update you I had a bit of success by changing my invisible elements preferences.

  • FMS: Statistics Streaming Live Audio

    Hi all

    I need assistance with FMS 4.5 for audio streaming live.

    I had to flow for the audio bytes per second statistics.

    (This should be used to show the level of activity of the user in flash).

    It's my hierarchy in FMS:

    Request = > Instance

    Each instance will have multiple streams of data.

    FMS server does not appear to be a way to obtain flow statistics of data (in bytes/second).

    Help, please.

    Thank you

    Karan

    You can use the NetStream.send () method that sends a message on a stream of data published to all subscribing clients. You can also use the Timer class in which you can specify a Manager under the send() call method. In this way it will continue to send the activity level after each specified period.

    In addition, you can check following link for details on these classes:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/NET/NetStream.htm l #send ()

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/utils/timer.html

  • How do I eject the speaker (audio beats) for cleaning coverage

    My laptop is hp (dv6-7180se) and I want to clean the perforated lid which exists on speakers beats... Look at the picture:

    I can open it without screws open back?

    Please I need a few details to eject safely

    Hello @Fantastico,

    I read your post on how you're looking to clean the surface of your laptop speaker, and I'd be happy to help you in this case!

    As noted in Service and Maintenance Guide for your laptop, the only way to remove the top cover, where the speaker is to:

    1. Turn off computer
    2. The laptop power down by unplugging the power cord
    3. Disconnect the battery (see battery page 46), then delete the following:
    • Hard drive (see hard drive on page 47)
    • Optical drive (see optical drive on page 54)
    • Keyboard (see Keyboard page 57)

    Unfortunately, some removal of the screws will be necessary to remove the top cover and the speakers. The steps below should help to remove the cover in order to clean underneath:

    1. remove the seven Phillips PM2, 5 × 8. cover the 5 screws that anchor the top of the computer

    2. remove the three Phillips PM2, 5 × 5. cover the 5 screws that anchor the top of the computer.

    3. remove the nine Phillips PM2, 5 × 3. cover the 5 screws that anchor the top of the computer.

    4 place the right computer, with the front facing you.

    5. open the computer.

    6. release the corresponding ZIF connectors and then disconnect the following cables
    map of the system:

    Office button power cable (1)

    (2) TouchPad button Board cable

    (3) to fingerprint card reader cable

    (4) top of page cable speakers

    7. remove the three Phillips PM2, 5 × 5. cover the 5 screws that anchor the top of the computer.

    8. lift the back edge of the top cover (1) to the left and right sides have abandoned
    the base box.

    9. remove the cover (2). Make sure not to damage the thin base (3) around inside of blade
    Bay optical drive when you remove the top cover.

    10. reverse this procedure to install the lid once more.

    reference: http://h10032.www1.HP.com/CTG/manual/c03582006.PDF 

    Please re-post with the results of your troubleshooting, and I look forward to your response!

    Concerning

  • Viewing audio from RTMP live video stream.

    I need to remote monitor video base is present and audio levels.

    I had hoped to used http://www.longtailvideo.com/addons/plugins/247/SUB-Equalizer

    but it seems to be incompatible with the broadcasts.

    the required level of SEEN is the basis that there is a live audio feed and does not need to be fancy at all.

    Currently, we use JWPlayer but am not bound to her for this project.

    Cheers for the help

    Robert

    Have you tried the Sound class computeSpectrum() method? Since flash V9.x, it can calculate the spectrum on RTMP. The link to the API has a complete example that makes a wave form. It calculates a value between-1.0 and 1.0 for the values 512, 256 for the left and right channels 256.

    You can group them into blocks and use the data to calculate your audio levels. Simply to group a bunch of values and therefore one that shows the average of the values to simplify. for example, 4 bar uses the average of the values of 0-64, 65-128, 129-192, 193-256 for the left channel... You get the idea.

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/Media/SoundMixer. HTML #computeSpectrum)

  • Web page looks good with tranparent and photographic background in mode boxes live view, but not in browsers

    If someone has the time to help, I would be very grateful.   I am new to dreamweaver and I try to make a transparent Web page with columns and text box using styles.  It looks perfect in 'live view', but when I look in any browser all the formatting has disappeared.  It looks like the background with the text at the top of installed on wrapped throughout the entire page.   I was not able to understand what is wrong in the days of research.  Anyone know the answer?

    Presents all first format I want and that's what it looks like in mode Live View, the second is what it looks like to most browsers.

    Screen Shot 2011-10-07 at 11.25.06 AM.pngScreen Shot 2011-10-07 at 11.31.05 AM.png

    Here's the code I used:

    < / style >

    "" < link href = "... / styles/tcastyles.css" rel = "stylesheet" type = "text/css" >

    < style type = "text/css" >

    {body

    background-image: url (bamboo. (JPG);

    margin left: 150px;

    }

    a: link {}

    color: #600;

    text-decoration: none;

    }

    a: visited {}

    text-decoration: none;

    }

    a: hover {}

    text-decoration: none;

    }

    a: active {}

    text-decoration: none;

    do-family: Verdana, Geneva, without serif.

    do-size: 12px;

    make-weight: bold;

    }

    a {}

    do-size: 12px;

    }

    body, td, th {}

    do-family: Verdana, Geneva, without serif.

    }

    . Container .faqs h2 {}

    line-height: 40px;

    }

    . Container .faqs ul li {}

    text-align: left;

    }

    .footer {}

    Padding: 5;

    position: relative;

    Clear: both;

    }

    < / style >

    < div class = "container" >

    < div class = "header" > < span class = "menutable" > < / span > < img border = "0" src = "navigate_projects.jpg" width = "307" height = "167" well = "#FPMap0" alt = "Conservation agency - project Menu" align = "absmiddle" / > "

    < map name = "FPMap0" >

    < area shape = "rect" coords = "112, 132, 172, 127" href = "asia.htm" alt = "Asia" / >

    < area shape = "rect" coords = "138, 92, 286, 110" href = "west.htm" alt = "Western Hemisphere" / >

    < area shape = "rect" coords = "138, 73, 279, 89" href = "flamingos.htm" alt = "British Virgin Islands" / >

    < area shape = "rect" coords = "131, 55, 249, 72" href = "turkscaicos.htm" alt = "Turks and Caicos" / >

    < area shape = "rect" coords = "121, 35, 244, 52" href = "newengland.htm" alt = "Narragansett Bay" / >

    < area shape = "rect" coords = "103, 17, 306, 32" href = "coyote.htm" alt = "The Coyote Study Narragansett Bay" / >

    < area shape = "rect" coords = "121, 128, 173, 144" href = "pacific.htm" alt = "Pacific" / >

    < / map >

    < / div >

    < div class = "menu" >

    < table width = "100%" border = "0" align = "center" id = "menutable" >

    < b >

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "mission.htm" > Mission < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "pubs.htm" > Publications < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "projects.htm" > project < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "opps.htm" > opportunity < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "sponsors.htm" > Sponsors < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "coyote.htm" > NBCS < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "guana.htm" > Guana < /a > < / strong > < /p > < table > ' "

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "tca.htm" > contact us < /a > < / strong > < /p > < table >

    < td height = "30" align = "center" valign = "middle" > < p > < strong > < a href = "index.htm" > home < /a > < / strong > < /p > < table >

    < /tr >

    < /table >

    < / div >

    < div class = "banner" > study of the Bay of Narragansett Coyote < / div >

    < d/div >

    < div class = "box739" >

    < h3 > what do NBCS? < / h3 >

    < p > since 2004 the Bay of Narragansett Coyote study (NBCS) has developed strategies of coexistence and based management sciences for our most recent top-level predator.  Coyotes, originally a species of Prairie, have successfully colonized all parts of the continental and coastal us over the past 100 years. They reached the islands of Narragansett Bay in the middle of the 1990s. Since then the coyotes have become more and more abundant and problematic in some communities of the island. < /p >

    < p > in our history of cohabitation with the coyotes people constantly tried to eliminate them by hunting, trapping and poisoning. Lethal removal worked for individual problem animals but did not work as a strategy of population control. Why? Coyotes have physiological and behavioural abilities intrinsic to control their own numbers. If the coyotes are removed they increase reproduction and numbers to rebound quickly. The trigger of critical population regulation is competition for food. As long as the coyotes are well fed (with a few coyotes competing for food) their populations will grow. < /p >

    < p > we know also that the opposite effect occurs if the coyotes if the coyotes are stressed by competition for food. If there are too many coyotes competing for the available food coyotes will drop the sustainable level of these resources. < /p >

    < p > understanding of this relationship, the NBCS scientists decided to study the use of the resources of coyotes on two islands of Narragansett Bay, Rhode Island. We used GPS to find out location necklaces where coyotes are spending their time. We have made the assumption that if we could identify food resources important coyote - control - coyotes defray their own numbers. NBCS called & quot; management passive coyote. & quot; < /p >

    < p > since 2005 when we are caught in the trap and to collar our first coyotes on the island that we found continuously as the most important food resources of our study are provided people. This means that they are in our command this means that we can control the coyotes. If we remove anthropogenic resources (human grants) coyote numbers will drop to the sustainable level of natural resources. When the coyotes are fed only natural prey number of coyotes (mice, woodchucks, rabbits, geese and deer) will be lower and they will provide useful pest services. < /p >

    < p > according to our science NBCS generated a set of < has href = ' coyotes/best' practices for Coexistence with Coyotes - 8 Nov 2010.pdf management target = "_new" > best management practices for Coexistence with Coyotes < /a > - essentially a Toolbox for safe and sustainable community management, coyote. We work with the cities in our study area to adopt the CBMPs and be the first community in the nation to successfully and sustainably manage coyotes. We believe also in other cities and towns might be able to use our results as a template if they have problems of coyote. We have barely begun to implement the CBMPs on our islands. We soon hope to have all our implementation of the CBMPs cities - only, then we will see the full impact they make on the coyote numbers and behavior problems. You can follow our progress on this Web site. < /p >

    < / div >

    < div class = "footer" >

    < table width = "100%" border = "0" cellspacing = "5" >

    < b >

    < td > top < table >

    < td > < a href = "mailto: " [email protected] "> [email protected] < /a > < table > "

    < /tr >

    < /table >

    < / div >

    < / div >

    < / div >

    < p > < / p >

    < / div > class iv = "FAQ" >

    < H2 > FAQS < / h2 >

    < ul >

    How can < li > I coyotes control their own population? < /li >

    < li > blah blah blah < /li >

    < /ul >

    < / div >

    < div class = "content" >

    < div class = "Yopougon" >

    < div class = "col1" >

    < h3 > Middletown adopts the CBMPs and passes an order of non-Feeding! < / h3 >

    < / div >

    < div class = "col2" >

    < h3 > driver, Java and the Valley Pack < / h3 >

    <

    And here's the styles:

    . Container {}

    height: 1500px.

    Width: 975px;

    border: 8px solid #660000;

    float: left;

    }

    . Header {}

    float: left;

    height: 170px;

    Width: 975px;

    background-color: #033000;

    }

    .menu {}

    background-color: #FFC;

    float: left;

    height: 30px;

    Width: 975px;

    do-family: Verdana, Geneva, without serif.

    do-size: 9px;

    color: #660000;

    make-weight: bold;

    margin-bottom: 5px;

    }

    .table {}

    do-family: Verdana, Geneva, without serif.

    do-size: 8px;

    make-weight: bold;

    }

    . Banner {}

    float: left;

    height: 100px;

    Width: 739px;

    do-family: Verdana, Geneva, without serif.

    font size: 37px;

    make-weight: bold;

    color: rgba (0,51,0,1);

    background-color: rgba (255,255,204,.7);

    text-align: center;

    line-height: 75px;

    border-radius: 5px;

    padding: 5px;

    margin: 5px;

    }

    {.clearbox}

    float: left;

    height: auto;

    Width: 760px;

    }

    {.box739}

    Width: 739px;

    float: left;

    height: auto;

    background-color: rgba (255,255,204,.7);

    do-size: 12px;

    color: rgba (0,51,0,1);

    border-radius: 5px;

    padding: 5px;

    margin: 5px;

    }

    {.faqs}

    float: right;

    height: 620px;

    Width: 205px;

    do-family: Verdana, Geneva, without serif.

    do-size: 12px;

    make-style: normal;

    line-height: normal;

    overflow: scroll;

    background-color: rgba (255,255,204,.7);

    margin: 5px;

    border-radius: 5px;

    make-weight: bold;

    color: rgba (0,51,0,1);

    text-align: center;

    }

    {.col1}

    float: left;

    height: 500px;

    Width: 359px;

    background-color: rgba (255,255,204,.7);

    do-size: 12px;

    border-radius: 5px;

    color: rgba (0,51,0,1);

    margin: 5px;

    padding: 5px;

    }

    {.col2}

    float: left;

    height: 500px;

    Width: 359px;

    background-color: rgba (255,255,204,.7);

    do-size: 12px;

    border-radius: 5px 5px 5px 5px;

    color: rgba (0,0,0,1);

    padding: 5px;

    margin: 5px;

    }

    .footer {}

    position: relative;

    Clear: both;

    background-color: rgba (255,255,204,1);

    do-size: 12px;

    color: rgba (0,51,0,1);

    }

    From the looks of your screenshot, I'd say it's a path problem.  Are you sure that you downloaded the CSS document when you loaded the page and that the path is correct?  It appears in your second screenshot that there is no style applied so your stylesheet is not included for a wrong path or because it is simply not there.

  • How to transcribe audio streams in real-time text?

    Hello

    Currently, I listen to a live audio stream voice using Communicator Desktop WAVE on Windows XP. I want to use a voice-to-text application to transcribe this audio in Word or Excel in real time. I'm looking to reproduce the same experience as the direct subtitles on TV. I read that Windows is a speech recognition software and there are also 3 application of the part such as Dragon NaturallySpeaking. Is it possible to what I can achieve this?

    Thank you very much

    dambk.

    Hello

    The speech recognition software is not transcribe audio voice to text.

     
    You can search in your favorite search engine for the voice to transcribe text software.
    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    You can also visit these links to learn more:

  • 1545 Dell Webcam Central no audio Solution

    I have a Dell 1545 running with Vista 64 and Dell Webcam Central for the web cam. I experienced a lot of problems with the web cam. The web cam would not work & then wouldn not audio. I would like to record a video & there is no sound. My microphone does not work in the voice, or the cat. If everyone knows this problem... I found a solution that worked for me. The problem is that Dell Webcam Central installs it's own microphone settings on your portable computer called something like Webcam Dell Live!. (the exact name I'm not sure because I removed from my system... but if you follow these steps you will find. Look for something with Live! in the title under MIC) this is not built into the microphone in my laptop, & perhaps not yours. You must change the settings of your computer system & Dell Webcam Central. Go to start > Control Panel > sound > recording... on mine, there is an option for Microphone "High Definition Audio Device"... which is built into the microphone. You who want your default & apply. Then open Webcam Central Dell & option go to the "video recording". In the middle of this is a button orange with a video camera icon. Next to it on the same button is a little arrow pointing down... Click on that. Under micro... Select Microphone "High Definition Audio Device" like the sound option in the Panel. I did & it's completely fixed. I can use my built in mic in the audio/video chat & record videos with sound.

    I hope this can help if anyone has this problem!

    I have dell inspiron 1545, 32 Windows 8

    I need help to Setup built-in webcam & microphone

  • Exception during Audio recording

    Hello

    I am trying to create a screen where the user can start and the voice to stop recording.

    Start button will start the recording of the voice, where as stop stop recording and store the voice record.

    I looked for Ko Javadevelopment and found some code and changed according to my understanding (as the code is available in pieces).

    When I press the Start Recording button, I get an exception "java.lang.ClassCastException.

    Can you please help me to solve the same.

    I'm pasting my entire code here for your reference.

    package comp;
    
    import java.io.IOException;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.container.HorizontalFieldManager;
    import net.rim.device.api.ui.container.MainScreen;
    
    public class myAudio extends MainScreen {
        private ButtonField _startRecordingButton;
        private ButtonField _stopRecordingButton;
        private HorizontalFieldManager _fieldManagerButtons;
        private VoiceNotesRecorderThread _voiceRecorder;
        private LabelField _myAudioTextField;
    
        public myAudio() {
            _startRecordingButton = new ButtonField("Start Recording");
            _stopRecordingButton = new ButtonField("Stop Recording");
            _fieldManagerButtons = new  HorizontalFieldManager();
            _voiceRecorder = new VoiceNotesRecorderThread(5000,"file:///store/home/user/myfile.amr",this);
            _voiceRecorder.start();
    
            myButtonFieldChangeListener buttonFieldChangeListener = new myButtonFieldChangeListener();
            _startRecordingButton.setChangeListener(buttonFieldChangeListener);
            _stopRecordingButton.setChangeListener(buttonFieldChangeListener);      
    
            _fieldManagerButtons.add(_startRecordingButton);
            _fieldManagerButtons.add(_stopRecordingButton);
    
            _myAudioTextField = new LabelField(" Hello..." );
            add(_fieldManagerButtons);
            add(_myAudioTextField);
        }
    
        public void setAudioTextField(String text) {
            _myAudioTextField.setText(text);
        }
    
        class myButtonFieldChangeListener implements FieldChangeListener{
            public void fieldChanged(Field field, int context) {
                if(field == _startRecordingButton) {
                    try {
                        _voiceRecorder.startRecording();
                    } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                    }
                }else if(field == _stopRecordingButton) {
                    _voiceRecorder.stopRecording();
                }
            }
        }
    }
    
    package comp;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    import javax.microedition.io.Connector;
    import javax.microedition.io.file.FileConnection;
    import javax.microedition.media.Manager;
    import javax.microedition.media.Player;
    import javax.microedition.media.control.RecordControl;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.container.MainScreen;
    
    public class VoiceNotesRecorderThread extends Thread
    {
       private Player _player;
       private RecordControl _rcontrol;
       private ByteArrayOutputStream _output;
       private byte _data[];
       private int recordSizeLimit;
       private String recordFileName;
       private myAudio myAudioScreen;
       private FileConnection fileConn;
    
       VoiceNotesRecorderThread(int limit, String filePath, myAudio screen) {
           fileConn = null;
           recordSizeLimit = limit;
           recordFileName = filePath;
           myAudioScreen = screen;
       }
    
       private int getSize()
       {
           return (_output != null ? _output.size() : 0);
       }
    
       private byte[] getVoiceNote()
       {
          return _data;
       }
    
    //  public void run() {
    //      while(true){
    //          synchronized (UiApplication.getEventLock()) {
    //              myAudioScreen.setAudioTextField(" Running Thread...");
    //          }
    //      }
    //  }
    
        public boolean startRecording() throws IOException {
    
            _output = null;
            _rcontrol = null;
            _player = null;
    
            try {
                synchronized (UiApplication.getEventLock()) {
                    myAudioScreen.setAudioTextField(" Start Recording...");
                }                
    
                fileConn = (FileConnection) Connector.open(recordFileName);
    
                if (fileConn.exists()) {
                    fileConn.delete();
                    synchronized (UiApplication.getEventLock()) {
                        Dialog.inform(" File: File is already available" );
                    }
                }
                fileConn.close();
    
                fileConn = (FileConnection) Connector.open(recordFileName, Connector.WRITE );
                fileConn.create();
                _output = (ByteArrayOutputStream) fileConn.openOutputStream();
    
                //Create a ByteArrayOutputStream to capture the audio stream.
                //_output = new ByteArrayOutputStream();
                // Create a Player that captures live audio.
                _player =  Manager.createPlayer("capture:///audio?encoding=audio/amr");
                _player.realize();
    
                synchronized (UiApplication.getEventLock()) {
                    Dialog.inform(" Player is Created" );
                }
                // Get the RecordControl, set the record stream,
                _rcontrol = (RecordControl)_player.getControl("RecordControl");
                _rcontrol.setRecordSizeLimit(recordSizeLimit);
                //_rcontrol.setRecordLocation(pathToRecording);
                _rcontrol.setRecordStream(_output);
                _rcontrol.startRecord();
                _player.start();
                synchronized (UiApplication.getEventLock()) {
                    Dialog.inform(" Player is Started" );
                }
                //_output.reset();
                //_player.addPlayerListener(playerListen);
            }
            catch ( Exception e) {
                if(fileConn != null) {
                    fileConn.delete();
                    fileConn.close();
                }
                synchronized (UiApplication.getEventLock()) {
                    Dialog.inform(" StartRecording: Exception "+ e.toString() );
                }
                return false;
            }
            return true;
        }
    
        public void stopRecording() {
            try {
                synchronized (UiApplication.getEventLock()) {
                    myAudioScreen.setAudioTextField(" Stop Recording...");
                }
    
                if(_rcontrol != null) {
                    _rcontrol.commit();
                }
                else {
                    synchronized (UiApplication.getEventLock()) {
                        Dialog.inform(" _rcontrol is null " );
                    }
                }
                if(_output != null) {
                    //_output.flush();
    
                    if(!(_output.size() >0) ) {
                        synchronized (UiApplication.getEventLock()) {
                            Dialog.inform(" _output buffer empty " );
                        }
                    }
                    _data = _output.toByteArray();
                    _output.close();
                }
                if(!(_data.length > 0)) {
                    synchronized (UiApplication.getEventLock()) {
                        Dialog.inform(" Data gone baby gone " );
                    }
                }
                if(_player != null) {
                    _player.close();
                    _player = null;
                }
            }
            catch (final Exception e) {
                synchronized (UiApplication.getEventLock()) {
                    Dialog.inform(" Stop recording Failed:  " + e.toString());
                }
                return;
                //Dialog.inform(e.toString());
            }
        }
    
        class FieldListener implements FieldChangeListener {
            Object recordButtonField = null;
            Object stopRecordingButtonField = null;
    
            public void fieldChanged(Field field, int context) {
                if(field.equals(recordButtonField)) {
                    try {
                        startRecording();
                    } catch (IOException e) {
                        synchronized (UiApplication.getEventLock()) {
                            Dialog.inform(" Start Button Exception:  " + e.toString());
                        }
                        //e.printStackTrace();
                    }
                    /*recording only occurs during the sleep*/
                } else if(field.equals(stopRecordingButtonField)) {
                    stopRecording();
                }
            }
        }
    }
    

    _player = Manager.createPlayer ("capture://audio?encoding=audio/amr");

    Mark as resolved

    Give us some kudoes

Maybe you are looking for

  • automatic backup via timecapsule eventhough WiFi is disabled?

    How this work? I have the timecapsule connected via cable and wireless. I have most of the time the wireless not enabled. But still, the time machine related backups successfully. Not timecapsule active wireless connection automatically? Thank you Re

  • I have wireless, ethernet on Satellite Pro M30 under Win XP

    I SP30, 2004, I had XP XP2 and installed what is proving to be a full XP SP3 ISO on the superior thinking, that I have been installed only SP3, Well now, I don't have a network, have tried each drivers I find, as well since the site of Toshiba and in

  • Why I can't download Safari on my MacBook Pro?

    I tried several times to downloadSafari without success. Apple web site following me around in circles. I have / had Safari and always have the icon in my taskbar, but nothing happens when I try to open it, so why I am eager to the re - download.

  • Scaling a 2D image without using the zoom factor

    I currently have a large 2D image and several smaller 2D iamges that overlap the magnified image.  The big picture is created with the draw in labview, while smal iamges are created with a png image.  Magnification on the enlarged image is 7, while 2

  • Rejected product key XP

    I bought an OEM of Windows XP Home version to install on a PC, I built.  (The only version I could find was an OEM version). It came with the sticker COST holding the key of activation of five groups.  Installation proceeded to the product key sectio