ULaw and alaw record and play G711

I want to be able to capture and play directly to the a - law and u - law format.  I have read several posts on how to put the reader (capture in my case) in amr and pcm mode.

Capture of AMR and PCM is not a problem, but the correct string of capture to capture the u - law data is unknown to me.

for the record:

capture://audio? Encoding = PCM works, also tried something like:

capture://audio? Encoding = PCMU (does not), also tried to replace with pcmu, ulaw, audio/x-ulaw

capture://audio? Encoding = AMR (works)

When I exit the capture I get supported types:

Device supports capture Type: audio / amr
Device supports capture Type: audio / basic
Device supports capture Type: audio / x - gsm
Device supports capture Type: image / jpeg

To play, I think that I should put the x - wav player and provide good wav header, will try later, but my first concern registers directly as G711.

I'm running on Simulator and device (BB Torch v6) which should be able to support the u-law/a-law.

someone at - there more information on this? It is not possible or should I put the recorder in pcm mode and convert my data on the fly?

Hi James!

Registration is only linear PCM.  The reading can be linear, G711 uLaw and alaw for PCM.  On a BlackBerry audio/basic = audio/pcm.

If you are interested, GSM is GSM6.10 of recording and playback, AMR's locker AMR - NB 12.2 Kb/s (unless you specify voipMode = true in your locator, but I will not go into these details, you can search the forums if you need more information on this) and any mode of AMR - NB valid for playback (only three units I know can also playback AMR - WB and AMR - WB +).

Finally, to save some time there is code attached to this question (if you can connect, related to this thread) who has code to generate headers wav on the Blackberry platform for you.

Tags: BlackBerry Developers

Similar Questions

  • My Sony Handycam DCR-TRV950 flashes a yellow icon, C:31:23 and will not record or play.

    A year ago, the camera suddenly started flashing and beeps a yellow icon in the middle of the screen. C:31:23 flashes in the upper right corner above the minutes from the end. The camcorder will not record or play.

    If I remove and reseat or change the battery, and if I remove and reinsert or pass the minidisk, sometimes it'll save or play for a while before the beeps happen again.

    Sunny in Sun Valley

    Try to check the pin of pinch. Open the container of band and you can see the PIN pinch, is a small black roll about 1/4 in. wide and about 1 inch in height, see if she's down on the stem

  • record and play clicks using LabVIEW

    I want to LabVIEW to save the my mouse click and then it reads. Now, the mouse clicks are not in LabVIEW. For example I am google.com and then I click on maps, then on images and then the books. I want to labview to record and play back like a TI open google and click on the maps and images and so on. Is this possible with LabVIEW or is there another software OR who done it.

    Thanks in advance

    ; Lab

    Hey Lab.

    As mentioned above, you can do this by using the functions of the library windows. Attached you will find two screws Record cursor Position.vi will record the position of the mouse cursor. You need to change the Clicks.vi of mouse clicks to simulate in the reading order. I hope this helps.

    See you soon

    NOR-khil

  • How to record streaming RTP of Wireshark and play using an application called Audacity

    I use dto this regularly a few years ago and used to know all the steps to get the stream RTP of Wireshark and then save to a file and then play using an application called Audacity.

    In my opinion, were the steps that I used to do:

    1 Wireshark - put in place since a file display server to display only the RTP.

    2 then in Wireshark---> statistical sub---> Show all streams---> and analyze---> then save payload as 'gross' or ' to the ' can't remember - forward / reverse / both

    3 then play the file using Audacity.

    I am clearly stating what I need.

    Now when I do the above I can not read the file with Audacity.

    Audacity says:

    Audacity did not recognize the file type. If it is not compressed, try to import using "Import Raw".

    We must continue to use them to remember the steps.

    Any help much appreciated.

    If the RTP stream uses G.711, you can directly use the audio player of wireshark:

    -in Wireshark - telephony - Voip calls

    -Select a call - then click the reader button

    -Click the Decode button

    -Select one or more streams of data and so click on Play

    You can also use RTP analyze tool to record audio in .au format and play with Audacity.

    If you prefer to save the file in .raw format, you can open Audacity and import the file in raw mode and specify the codic law for g.711A so or u - Law codec encoding G.711u and therefore equal to 8000 Hz sampling frequency.

    Kind regards.

  • How to record and play Audio

    Hello

    I want a code example to learn how to record audio and play audio recorded

    Can anyone help me regarding this?

    Thank you

    Pounet

    Try this code, it works for me.

    To record the audio. Note that this code records audio in the device memory. Just change the url to save the code in the sd card.

    try {}
    Reader = Manager.createPlayer ("capture://audio?encoding=amr");
    Player.Realize ();
                
    RC = (RecordControl) player.getControl ("RecordControl");
    BT = new ByteArrayOutputStream();
    rc.setRecordStream (bt);
    FC = (FileConnection)Connector.open("file:///store/home/user/RecordedFiles/audio1.amr");
    {if (!) FC. Exists())}
    FC. Create();
    }
    OT = fc.openDataOutputStream ();
    rc.setRecordStream (ot);
    rc.startRecord ();
    Player.Start ();

    } catch (Exception e) {}
    e.printStackTrace ();
    }

    To stop and play the audio. Copy the following code,

    try {}
    RC.Commit ();
                
    data = bt.toByteArray ();
    BT. Close();
    Player.Close ();
              
                
    BI = new ByteArrayInputStream (data);
                
                
    Player = Manager.createPlayer (bi, "audio/amr");

    Player.Realize ();

    Player.Start ();

    } catch (Exception e) {}
    e.printStackTrace ();
    }

  • Problems with the computer automatically recording of surrounding sounds and play loudly on Windows 10.

    Original title: Sound

    Hey,.

    My laptop records the surrounding sounds and plays loudly and I have no idea how to turn it off.

    I hope someone can help me.

    ASUS X555L, Windows 8

    Hi Felix,.

    Thank you for your response with the current state of the question.

    I suggest you to make pregnant as default device and also keep microphone also disable.

    1. right click on the sound icon that is in the lower left corner of your screen under the system icons.

    2. Select the playback device.

    3. click on the Read tab, and then select a speaker from the list and then click set as default.

    Let us know if you need further assistance on related issues of Windows and we will be happy to help you.

  • CS5 - sub commands Start Recording and play recorded command grayed out

    How can I activate "Start Recording" and "play recorded command? Please and thank you...

    Sorry to be so stupid, the feature has been removed from the latest versions of Dreamweaver. The recoding and reading refers to a macro that you can create to automate tasks within DW.

    Take a look here help Dreamweaver | Task automation

  • anyone successfully recording audio mic and play back on ios?

    Hey all

    I'll have a lot of annoying problems with recording audio microphone and play on the iPhone (same app works perfectly on the desktop and android)

    has anyone of you who successfully done?

    Saar

    OK, I have some answers

    Divij Kumar, thanks for the manual, but I never had the traffic jam of your swf file since the compilation of my own project with "Deployment - Apple App Store" instead of "Quick publication for the device debugging" did the trick.

    Then, the app worked fine.

    fast publication was the problem, at least in my case

    THANK YOU ALL

    BTW, registration starts a little late on my iPhone 3 g - but it's the fault of the iOS - I checked and integrated enforcement "Dictaphone" is also end. I need in my application instant record so I have a record constant buffer and I use the buttons to score points rather than adding and removing SampleEvents listeners as we all have here.

    see you soon

  • How to connect to internet on my xbox so I can access live and play online?

    Original title: unable to connect to live in barracks.

    I am in the Navy and I live in the barracks. To connect to the internet here, whenever we record in us get redirected to a page where we are required to accept a terms of the convention of use until we really connected. On a laptop, all I need is hit access Internet accept button and "poof!" On an xbox, I can't connect at all because there is no way to accept the terms of use beforehand. How to connect to internet on my xbox so I can access live and play online?

    Hello

    Check the link for Xbox support:

    http://support.Xbox.com/en-us/home

    In addition, the link and post your request in the forums of games to help:

    http://forums.Xbox.com/GFW/default.aspx

  • computer is spit back out dvd but will keep and play the game disc

    have a dell studio, he started being silly, it will read and play the game disc. partially, it reads the disks if recording information. but it wen I put it in a dvd takes it turns around inside like its gona read but it spits out back. IV run virous scans and updates and I cheak all system files and every thing seems OK Please help

    Hello

    Check with Dell Support, their online documentation, drivers, diagnostics and ask in their forums
    on the problems known.

    Dell support
    http://support.Dell.com/

    Dell support drivers - product manual & warranty Info (left side) - and much more
    http://support.Dell.com/support/index.aspx?c=us&l=en&s=DHS

    Dell forums
    http://en.community.Dell.com/forums/

    ----------------

    Having too many CD/DVD programs can cause strange problems, especially if they're loading of parts of
    themselves at the start because they will be competing for resources. This does not mean that this issue has been
    caused by those, however, it's a possibility depending on which and how many you have installed.

    You have disk problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD burning and)
    Playback of CD and DVD). So it is not unusual for parts from 1 or 2 to not work so that others do
    correctly.

    Burning at low speed, or by using the master could help. A CD/DVD cleaner might help.

    Brand of the CD or DVD drive can also be the problem. Low quality (cheap brands) are always problematic.

    CD/DVDs have a tolerance + - and your can read/write on the edge outside these discs
    tolerances. They may be delivered, but it is generally more economical to replace the disk.

    Several good info here:
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Notes on the troubleshooting and repair of readers of compact disks and CD-ROM Drives
    http://www.repairfaq.org/repair/F_cdfaq7.html#CDFAQ_014

    -------------------------------------------------------------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================================

    After the foregoing:

    References to Vista also apply to Windows 7.

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The DVD player does not work after installing Windows 7
    http://support.Microsoft.com/kb/975270/

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error during Windows Vista
    Setup after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and the
    correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even the exact registry settings for your
    CD/DVD drive someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays
    all devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to install and use a plug-and-play mini dvr/camera in windows xp?

    Forgive me, I have very little computer knowledge. I need step by step instructions on how to use a mini-dvr/camera "plug and play" in windows xp. How do I connect my dell d600 laptop? How to play what I recorded on it?  Thank you in advance for any help rendered.

    Hi, Fred Flintstone786,.

    ·         Have you tried to plug in the device?

    ·         The unit get recognized by the computer?

    Please see the following articles for more information on the Plug-and-Play devices:

    Overview of plug-and-Play

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/pnp_overview.mspx?mfr=true

     

    Installation overview of devices

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/hardware_installing_overview.mspx?mfr=true

     

    Get the Plug and Play device driver support

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/pnp_driver_support.mspx?mfr=true

     

    To reinstall a Plug-and-Play device

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/devmgr_reinstall_device.mspx?mfr=true

    Hope this information helps.

  • Newby Question about downloading Podcasts and play on music video more

    I get my new podcasts from a variety of sites of English radio (six or seven), including CBC, BBC, NPR, etc..

    I use MS Vista with FLOW RSS to download.

    I noticed that some of the podcasts automatically from one to the other on my video play, and I noticed that some of them are grouped in the other subdirectories, and I have to fix each subdirectory to play these. What I understand reading this Sansa community site, my camera Clip done automatically for me.

    On my very old mp3 player, he would like to download all my podcasts in a directory and I play a podcast to the next, non-stop. For me, it was easy and without violin.

    I discovered, yesterday, that if I had used entered MS Vista the-properties of the mp3 files downloaded and selected the 'details' and them selected "remove properties and personal information", as all the podcasts would change and liquidate showing them in two folders on my Clip 1. 2 podcasts. Records

    I have two questions;

    1. I lose all the features on the Clip, when I do this? I noticed, that he still remembered when I left a podcast before the end, and I want back to him

    2. is there an easier way for me to get all the podcasts in one place, so I can not listen to stop without changing the records? and without having to delete the properties and each of them?

    Help is very appreciated. Thank you

    "Not all of them appear in the directory"Podcast"on the Clip. All except a show in the directory "Folder" on the Clip. "

    If they are in the folder podcast on the player, they should all be available in the submenu of podcast. Some may be listed as unknown though, if their title tag is missing. When you navigate using the submenu podcast, this is done using the title tag. Why edit tags that may be missing or in error is a good idea.

    You could use the navigation in the files and play them all if there are no subfolders.

    However, the best idea is to group the podcasts in albums (with each file in an album with the same tag to album). Then you can read the album of podcasts as a series. The advantage of this is that if you read some files from podcast in the series, music, then turn off the player, when you return to the submenu podcast, the reader will remember what podcast file is changed during playback.

  • Blue screen: Plug and Play detected an error, probably due to a bad driver?

    Get a Blue Screen of Death: Plug and Play detected an error, probably due to a bad driver?

    I'm running on Windows Vista Home Basic. I don't know what happened, but this morning when I turned on my laptop Dell Inspiron 1420, the blue screen of death appeared saying that "Plug-and-Play detected an error, probably due to a faulty driver. She also asked me to 'Disable the BIOS memory options such as caching or shadowing the' but I don't know how to do this, because it does not appear on my BIOS settings. In addition, the message suggested that I go on safe mode, but whenever I try to go on Safe Mode, the Blue Screen of Death keeps re-appearance, so I can not go on Safe Mode or the other. And one other weird thing is that when I press F8 (press the key to early startup options) I get to select an operating system to start: Microsoft Windows XP Embedded which is weird, because as I said, my OS is Windows Vista and I don't have any other OS installed in my laptop. How can I solve this problem?

    Hi,                                                      Part 1 of 3
    (There is a 4 part added)

    These methods as well as those in the next 2 posts to troubleshoot BlueScreens. You
    can also post information that you store in a message in these forums.

    You can solve this a bit on yours with these little free programs.

    1. use BlueScreenView read minidumps and note the BCCode or stop codes, the Cause and
    the time.

    2. run MyEventViewer and search the entries at the time or a second (or) more before the BCCode
    or stop the BlueScreenView Codes.

    3. look for the code on FaultWire - ago usually excellent solutions.

    0x00000000 to 0x00000003F
    http://www.faultwire.com/solutions_index/fatal_error-1.html#IssueList

    0 x 00000040 to 0x0000007F
    http://www.faultwire.com/solutions_index/fatal_error-2.html#IssueList

    0 x to 0x000000BF 00000080
    http://www.faultwire.com/solutions_index/fatal_error-3.html#IssueList

    0x000000C0 to 0x000000FF

    0x00000100 or higher
    http://www.faultwire.com/solutions_index/fatal_error-5.html#IssueList

    4. position the BCCode or stop Codes, settings, the Cause and related information in a message
    detailed in this forum for assistance.

    ---------------------------------------------------------------------------

    It is an excellent tool for displaying the blue screen error information

    BlueScreenView scans all your minidump files created during 'blue screen of death' crashes, and
    Displays information about all accidents of a table - free
    http://www.NirSoft.NET/utils/blue_screen_view.html

    MyEventViewer can be verified at the time of the blue screen (BSOD) within a second or so of the
    time of the BSOD to provide more information about the possible cause - see TIP)

    MyEventViewer - free - a simple alternative in the standard Windows Event Viewer.
    TIP - Options - Advanced filter allows you to see a period of time instead of the whole of the record-
    Set it for a bit before and after the time of the BSOD.
    http://www.NirSoft.NET/utils/my_event_viewer.html

    =============================================

    Here is the example of the usefulness of BlueScreenView - it is small and automatic so very easy to use.
    With time MyEventViewer TRICK is very simple to check when the BSOD.

    Partial screenshot of BlueScreenView (first 1/2 page)

    ============================================

    Partial Screen Shot of BlueScreenView (second 1/2 page)

    =======================================================

    Double-click the line to dump high component file or file - properties with it highlighted.

    =======================================================

    Double click on the bottom panel line of file name or file - properties with it highlighted.

    Right-click on a line - report HTML Selected Items.

    List of crash - created using BlueScreenView

    Dump File Crash Time Bug Check String Bug check code Parameter 1 Parameter 2 Parameter 3 Parameter 4 Caused by the driver Caused by address Description of the file Name of the product Company Version of the file Processor Name of the computer Number of processors Major version Minor version
    041110-22218 - 01.dmp 2010-04-11 22:42:11 NTFS_FILE_SYSTEM 0 x 00000024 00000000' 001904fb fffff880'065a7bd8 fffff880'065 has 7430 fffff800'02c7c0c4 NTFS.sys NTFS.sys + 213d8 NT file system driver Microsoft® Windows® operating system Microsoft Corporation 6.0.6000.16386 (vista_rtm.061101 - 2205) x 64   2 15 7600

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • I would like to know if the IPOD Nano is able to connect and play the music of my Time Capsule Machine. Thank you

    I would like to know if the IPOD Nano is able to connect and play the music of my Time Capsule Machine. Thank you

    N ° iPod nano can play that media that is loaded on it.

    TT2

  • Is possible to install and play a game that requires an older version of the software?

    Is possible to install and play a game that requires an older version of the software? I get the message "cannot open the application because the classroom environment is no longer supported.

    It does not say "classic environment is no longer supported", by chance?

    If that means he needs OS9 or earlier, or possibly 10.5.8 which has Rosetta, a Classic emulator.

    What is the name of the game?

Maybe you are looking for

  • copy playlist from iPod to iPhone

    How can I copy a playlist from my iPod Mini to my iPhone 5?

  • using the keyboard and pencil and iPad pro

    When you use iPad Pro with the pencil and the keyboard how to use the keyboard to add notes and numbers on a chart on the screen for a professional slide?

  • site Advisor

    Just installed FireFox 15. Received message than no add on to McAfee Site Advisor. Really like this security guard. It will be available with FireFox 15 in the future? When?

  • Cooling fan runs very often on my Sat M40

    HelloI bought my computer 2 weeks ago. I have problem with cooling fan, it runs about 2 minutes and stop 40 seconds :/ (He lights 51 degrees Celsius and off at 46 degrees celsius). No programs running in the background and the load of the processor i

  • Simplification of Code

    Hello! I have this snippet, with shift registers, attracts intrigue last 20 on the same graph you see on the botton of the image. Any of you have an idea how to make this more compact code? Or someone has a solution to make it scalable, for example i