Real Time - Capture sound signal from Mic then store to memory.

Hi people,
I wish to do a real time program that capture the data (+the ADC discrete digitized sound data+) from mic then store the data in memory...
Then my program retrieve the data continuously from the memory (as long as there are captured data from mic)
But i have no idea how JAVA deal with real time program that use memory to store the captured data.
i do know that JAVA do have class INPUTSTREAM to deal the real time thing that fetch the byte of data to program. But still wish to get more reference from here (never use this class before).
Please advise how can i start from "signal" the mic to store the captured data to memory and my program able to retrieve the data from memory then work my algorithm on it.
Or can correct me how actually i should store the captured data... i should store the data in memory or store the data as a variable?
MANY MANY MANY MANY thanks!!! Very appreciate for the advise and i will give my attempt :-).

I m sorry..
I was intend to ask the correct way to store the digitized data from microphone.
As all my previous work were storing the keyboard input as an declared variable or store in local server database.
But this time i wish to store the captured and quantized sound data from mic and no idea where should i start from...
Please give me some advise please.
I dun wish to save what i captured as a .wav file then only process the .wav file data.
But wish to process the data that was captured at instant.
I m very appreciate for your advise here.

Similar Messages

  • The only time the sound/speaker and mic don't work is when I answer or make a call

    The only time the sound/speaker and mic don't work is when I answer or make a call. They both work fine for everything else. This has been going on for over a month. AT&T said it's Apple and Apple said it's AT&T. I've been around that cycle twice. 
    When I dial a call, I can see the status words on the screen but can't hear the ringing. If the person I'm calling answers, my screen will show the call was connected and the call timer will begin but I can't hear anything and they can't hear me. If one of us doesn't end the call, the timer keeps going and I'm being 'charged' for dead air. (Of course, one of us disconnects so mins/cost isn't an issue, I'm just adding the info in case it helps solve the problem.) If they don't answer, the call will go to their greeting but I can't hear it and wouldn't be able to leave a message anyway because my voice isn't going through. However, they will get a voice mail alert and see that I called but no message was recorded.
    If some one tries to call me they will hear ringing but when I answer, they can't hear me and I can't hear them. If I don't answer, they will hear my greeting and can leave a message. I can retrieve and hear my voice mail. Trying speaker phone and headsets didn't change anything for calls out nor for calls in. 
    I have 4.3.3 and have synched, reset, rebooted, turned things on and off and off and on and took the SIM card out of the phone and out of it's tray and put it back in. I've done all that several times in just about every combination and order possible. 
    Hopefully the following will provide good clues:  On only about three of the many attempts I've made to get it to work correctly that included taking out the SIM card, I could make and/or get one or two calls with no trouble but then the problem comes back. Also, when I swapped the SIM card with another iPhone4 on my plan, the other phone would work with my SIM card but my phone still would not work with the other SIM card. The last fact makes me think it is an Apple issue. I'll go to an Apple store (genius) this weekend. Will I be wasting my time and gas? Anybody have any experience with this problem?

    Let me try and address some of your questions.  I'm only on a pc, so a few of these answers might be slightly different on a Mac, but not too different (such as control click rather than right click).
    First, when you buy something on your phone, be it apps or music, it's transferred from your phone to your Mac when you sync your phone.  So those apps should now be in you iTunes library. ( IF for some reason you can't find them there, you should be able to download them again, either onto your phone or through iTunes.  On your phone, go to the App Store > Updates and you'll see a "Purchased" link at the top of the page, you can view all purchased apps here and redownload them.  In iTunes, you can go to Store > Check for available downloads. )
    Whenever you plug your phone in, it should create a backup of everything you have on the phone.  This is how, provided restoring your phone as a new device doesn't fix the issue (more on this later), you can put all of your music and apps onto the new phone.  You can always plug your phone into your Mac and the first thing it should do when it syncs is create a backup.   If you want to be sure, you can right click on your device in iTunes (on a pc) or I assume control click on a Mac and select "backup".
    The genius will take care of the sim card and setting up your phone, however you will have to put all of your music and apps on it, unless you ask the genius, I've never bothered since I know how to do this.
    You should have no problems restoring from a backup if they give you a new phone.  However, it's probably safest to try and create a backup of your last phone backup before you restore it as a new device.   I suggest you refer to http://support.apple.com/kb/ht1414 for more information about that.
    I've had no problems with my new phone so far.
    I'll try to keep checking this thread if you have any other questions or need more clarification.
    Edit: I should say we never did figure out what exactly was wrong with my phone.  The only thing I can think of was that it got a lot hotter than the phone it replaced, and also the phone I just got yesterday to replace the malfunctioning one.  But otherwise they saw no problems with the hardware, but acknowledged it must have been the hardware since we tried everything else.  Also I would go with a list of all the things you tried with this phone, for your own reference and the genius's, especially if you're not confident in your tech skills Showing the genius that you've tried: different sim cards, updating the software, restoring it from a backup, and now restoring it as a new device, should convince them that you've done everything you could, and the only other answer is hardware problem.
    Also if you don't already have one, make a genius appointment ASAP.  Most stores are very busy and their appointments fill up fast.  I always suggest making an appointment as early as possible, hopefully before the retail store hours when they've only got techs there because they usually are less stressed and have a bit more time to spend with you.  The easiest way to make an appointment is to download the Apple Store app.  It detects the closest Apple store from you and makes it quite easy to schedule a genius.
    Message was edited by: deddinty

  • I m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me. thanks ravi

    i m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me.
    thanks
    ravi
    <Email removed by Host>                                                                                                                                                                                                                                       

    sounds more like Bluetooth rather than moue, but w/o knowing w/o posting mac model type/year we... will... not... know... what you have
    All computers are personal computers, a PC though is also "non-Apple" in common usage.
    Mac also is platform and OS.
    Very confused reading what you are trying to tell us.

  • How to split left and right sound signal from SI READ Stereo?

    How to split left and right sound signal from SI READ Stereo?
    I want to display the left and right sound signal in two graph separately,what shall I do?
    That is how to split 2D arry to two 1D arry?

    Hello,
    Here's another trick...although the "Index Array" suggestion will work, you should investigate using the "Delete from Array" function...you can tell it to delete one of the columns (or rows), leaving one column (or row)...the function will output both the resulting array AND the deleted array, which happens to be the other row/column...this method might not be as intuitive, but it only makes one copy of data in memory, while the Index Array method makes two copies.
    I hope this suggestion helps. I only found out about this trick with "Delete from Array" the other day.
    Have a great weekend!
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Labview real-time and simpowersystems toolbx from matlab

    Hello,
    I have a simulink model built with SimPowerSystems toolbox. I want to run this model on a RT target which is a desktop ETS in this case. I follwoed the instructions on how to create and deploy the DLL. There are two problems I am facing--
    1. The host screen grays out even though the mapping is correct. (This is verfied by using a similar working file.)
    2. The RT target hangs and then the connection is lost. I don't get any error message and after some time as there is no communication, I get error 66/63 etc network related error.
    The questions are:
    1. Is SimPowerSystem toolbox supported in SIT? ( I read that the SimMechanics is not supported.)
    2. Is there any limitation on how many nodes I can use so that the RT system can run the model without getting hung up.
    The versions I'm using are:
    LabView 8.2, SIT 3.0.2
    Matlab R2006b, SIMULINK 6.5, Real-time workshop 6.5
    microsoft visual C/C++ 6.0
    Please let me know ASAP if anyone has faced this problem before or if someone can answer my questions.
    Thanks,
    Gayatri

    Signals also can be removed when the code is generated and compiled due to optimizations.  Right clicking on a signal and making it a testpoint forces RTW to include that signal in the compiled code signal list.  The appropriate discussion is posted below.
    Models Using Signal Storage Reuse, Block Reduction Optimization, or Virtual Blocks
    Mappings might appear invalid if the model uses either Signal Storage Reuse or Block Reduction Optimization. These items are options you can set in the Simulink application software to reduce the memory footprint of the model. Disabling these options for the entire model makes all signals available for probing but increases the memory footprint of the model. You can mark individual signals as test points to maintain a reduced memory footprint while keeping certain signals available for probing. To make this change, load the model in the Simulink application software and perform the following actions:
    For The MathWorks, Inc. MATLAB® application software release 13, right-click a signal and select Signal properties from the shortcut menu. Place a checkmark in the SimulinkGlobal(Test Point) checkbox and click the OK button to save changes.
    For the MATLAB® application software release 14 and later, right-click a signal and select Signal properties from the shortcut menu. Click the Logging and accessibility tab, place a checkmark in the Test point checkbox, and click the OK button to save changes.
    Note  If you previously converted this model to a model DLL, you must convert the model to a model DLL again after marking signals as test points.
    Similarly, you might not be able to probe signals from Virtual Blocks such as Mux, Demux, Bus Selector, and so on. Marking signals from these blocks as test points makes the signals available for probing.
    Refer to the Simulink documentation for information about Signal Storage Reuse, Block Reduction Optimization, Virtual Blocks, and test points.
    Models Using Inline Parameters
    You might not be able to manipulate model parameters if that model uses the Inline parameters option in the Simulink application software. This option writes a constant value to each model parameter. You must launch the Simulink application software and disable this option so the Simulation Interface Toolkit can manipulate the model parameters.
    Refer to the Simulink documentation for information about inline parameters.
    Models Containing Linked or Masked Subsystems
    You can create mappings to parameters and signals of masked subsystems. However, if a subsystem is linked, or linked and masked, any mappings to parameters and signals of that subsystem appear invalid. Refer to the Simulink documentation for information about linked and masked subsystems.
    Subsystems without Parameters or Signals
    If a model contains a subsystem that does not have any parameters or signals, that subsystem appears in the model tree when you create mappings. However, you cannot create mappings to/from that subsystem.
    <SCRIPT type=text/javascript>
    if (typeof(Print_Link)=="function") {
    Print_Link();
    </SCRIPT>

  • Real-Time Capture in Final Cut Express

    Hi All -
    I own a music venue, and we're considering adding video recording services (current we just offer audio). To reduce labor, I'm planning on a fixed mounted camera (brand/model TBD) from one of our lighting trusses (on the ceiling). We'd like to stream the video footage into a PowerMac and/or PowerBook in real time (presumably via a long firewire cable), thus avoiding the use of tapes, etc... So two questions:
    1- Can Final Cut Express handle direct capture of video in Real Time? If so, are there any constraints, such as 7200 RPM harddrive, no HD, etc..., that I need to be aware of?
    2- We plan to capture audio separately so that we can mix it in 16-track format in our ProTools HD studio. Will FCE work with a time code (SMTPE, etc...), or are there other prefer methods of keeping the sources in synch?
    Any other thoughts from concert film masters would be appreciated! We're a small venue (150 person capacity) and will be using this mostly for student recitals and local bands - thus we need to be frugal and minimize the number of people needed to run it.
    Thanks!
    Raja
    Red House Studios
    www.redhouselive.com

    1. There are limitations to the length of FireWire cable data can be streamed. You might want to check up on this. FCE captures DV in realtime. You'll need a fast drive either in the computer or an external FW drive at least 7200rpm with 8MB cache.
    2. No.

  • Real Time Report Placed in iFrame and then Within a Web Applet

    Real-Time Reports built and executed BI tool retrieve real-time updates. However, when report URL is placed within an IFRAME and that is then placed in a Web Applet and the Web Applet is placed within a Page Layout Section, the real-time report no longer retrieves real-time updates.
    Do you have any ideas as to why?

    Hi Don,
    Thanks for the reply.  I had downloaded a set of samples from SAP and I have looked through a few of the set you supplied.  I am worried that I'm going to have some trouble because the samples have the reports loaded as part of the solution but I was looking to create a more generic viewer.  I don't want to have to reprogram for each and every report that is created.  That is why I was trying to use the generic parameter dialog.  After the Report Load Failed dialog comes up, it does bring up the parm dialog and hits SQL Server just fine.  Yes...the reports are passing Parms to Stored Procs in SQL Server.  The report has default parameter values. 
    What I am trying to do is search thru the application folder and gather the names of the reports located there and fill the combo box with the names of the reports.  Then the user should just be able to select a report and run it.  I can't save the data in the reports because they must be ran per the requester's date range and other desired parameters.
    Does this seem valid or am I going to have to program for EVERY single report and reprogram/recompile for every report added?  Not particularly what I want to hear.   I would have used the standard Crystal Report Viewer and had the users use that but it doesn't seem to allow you refresh the data from the viewer.
    Thanks for your help,
    Chris

  • What are the different between Netflow protocols and Real Time Capture

    Hi Gurus,
    Let me know, if you have a link will be excelent, the different if we capture traffic in Real Time (using Spam Port) or export traffic by Netflow protocol.
    When I capture traffic and analysis it (using Wireashark or TCPDump) in Real Time I see in detail all data, but in Netflow I see statistic?
    Any other tip or link where could explian in detail, please?

    Capturing packets via a span port and inspecting with Wireshark or   any pcap analysis tools is looking at actual datagrams - the details are   much more indepth and detailed and you are not missing anything. You  see the actual IP conversations.
    NetFlow captures the  header information from each of the IP conversations  traversing your  networking device and allows for flow analysis tools to  decipher them  and display the results. With NetFlow, each IP  conversation is  represented in a flow with information about its source  and destination  IP Address, port numbers, protocol, ToS, etc. Now  remember, NetFlow is  not all sampled - It captures all the IP  conversation information.  There is also sampled NetFlow like Seb stated  in the previous reply,  but not all NetFlow is sampled. You can enable  sampling to capture 1 in  100 packets or 1 in x packets.
    A  simpler way to put it  is, consider a phone call. Packet capture is like  knowing who called  whom, how did they call, what did they use, when did  they call and also  get to know what did they talk about.
    NetFlow  is like your phone bill - you know who called  whom, when it happened,  how long they talked, etc., but you do not know  what did they talk  about.
    If you have a resource intensive network, capture NetFlow from all the nodes and do spanning from the most important interfaces.
    Regards,
    Don Thomas Jacob
    http://www.solarwinds.com/netflow-traffic-analyzer.aspx
    NOTE: Please rate and close questions if you found any of the answers helpful.

  • How often in the real time projects extract data from flat files n process

    I am going thru teh BODS data integrator, and trying to understand the demand of ETL services extract data from a flat file, is that really impt in teh real time jobs.
    Thank you very much for the helpful info.

    Hi,
    As per the inputs given by you guys i started loading data from flat file.
    I try to load 28 files from i which i was able to load 24 files succesfully.For the other 4 i got this error messages
    1) Error 'Enter period in the format __.YYYY...' at conversion exit CONVERSION_EXIT_PERI6_INPUT (field CALMONTH record 1, value DUMYTRA)
    Message no. RSDS012
    2)  a) Error 'The argument '1,008.00' cannot be interpreted as anumber' on assignment field QUANT_B record 11714 value 1,008.00
    Message no. RSDS013
       b) Error 'The argument '1,110.00' cannot be interpreted as anumber' on assignment field QUANT_B record 15374 value 1,110.00
    Message no. RSDS013
    3) a) Error 'The argument '1,140.00' cannot be interpreted as anumber' on assignment field QUANT_B record 1647 value 1,140.00
    Message no. RSDS013
       b) Error 'The argument '2,028.00' cannot be interpreted as anumber' on assignment field QUANT_B record 4625 value 2,028.00
    Message no. RSDS013
    4) Error 'The argument '1,151.00' cannot be interpreted as anumber' on assignment field QUANT_B record 7808 value 1,151.00
    Message no. RSDS013
    I'am unable to trace out what is the error exactly.
    I checked this values in files they are perfect.
    can anybody please guide me on this issue.
    With Regards,
    Pradeep.B

  • Call web service from OBI dashboard to show real-time data alongside data from DW

    Hello,
    OBI = 11.1.1.7.0
    We have a requirement to pull in real-time data from an external, secure web service (WS) into an OBI report.  The OBI report also contains data from the data warehouse (DW) along with a calculation that is derived from multiplying the DW and WS data .  In theory, the behavior that were looking for is similar to the Action Link "Invoking a web service" whereby the call is made to the web service for each row of data.  How would it be possible to achieve this result on an OBI report?
    Desired Result of OBI Report
    Product.......Qty.........Price........Potential Revenue
    TV..............100...........$500..........$50000
    VCR.............22............$75...........$1650
    DVD..........2500............$20..........$50000
    Breakdown of the data source for each column on the OBI report
    Product.......Qty.........Price........Potential Revenue
    DW............WS...........DW..........Calculated_on_the_fly_(qty*price)
    DW............WS...........DW..........Calculated_on_the_fly_(qty*price)
    DW............WS...........DW..........Calculated_on_the_fly_(qty*price)
    Thank you,
    Mike

    Does anyone know if it's possible to call a webservice from an OBI report to populate a column's value?  Thank you for your input.

  • Get input sound level from mic

    I'm trying to find out how ( if possible ) to get the input sound level from the microphone.
    Example : if someone screams into the mic it would return that it is loud or on a scale of 1 to 10 it would be a 10; and the opposite if someone was whispering.
    Any help would be great!
    -Rob

    Digital audio is stored as a series of samples, where each sample is the amplitude of the sound wave being recorded. The volume of the sound is the same as the amplitude of the sound, therefore, each individual sample is simply encoded as the volume of the sound.
    So you break the mic input down into a list of samples (based on the sample size / number of channels) and keep a running average to determine the sound level.

  • Problem with sound delay from mic to speakers with quickplay on HP Pavilion dv5-1145ev

    I have an HP Pavilion dv5-1145 ev. When I try to use karaoke with HP's quickplay there is a significant sound delay from the microphone to the speakers. I also noticed the same delay, even when I am recording my voice with other programs such as audacity. There is a voice delay too. I have windows vista and I have tried to change the settings of the sound from control panel, without any luck. Any suggestions please?

    I have an HP Presario CQ61 that I bought to record my own music in tracks and it's useless to me because I have about a second delay from the mic to my recording program and headphones. You would think that with all the brainy knowlage Bill Gates and the computer industry has someone can come up with a downloadable fix for this problem. If I knew I would have this problem before I bought the thing I wouldn't have wasted my money.  If anyone finds a fix for this please let me know.

  • Independent 7 Year LabView (3.0-7.1) and Real-Time Programmer w/ Signal Analysis and Audio/Video/Imaging Background

    I have been a LabView programmer since version 3.1 and now into version 7.1 - including the Real-Time platform. I also have developed database connectivity in Perl/CGI/HTML in conjunction with this experience.
    I also have over a decade of experience in Audio, Video and Imaging technology as a systems designer and production engineer. I am currently a part-time employee and an independent contractor. My company name is The Oakland Group. I am available for both short-term full-time and long-term part-time projects.
    I look forward to discussing any LabView project with you.
    Tom Held
    [email protected]
    414-964-0518

    Please see my attached resume.
    Tom Held
    Attachments:
    resume-scada.pdf ‏43 KB

  • Recording and playing sound input from mic simultaneously in iphone/ipad

    I want to simultaneously record and play the sound from a mic in iphone. As thecricket commentory application.
    Please provide me a solution for this.
    Is this possible in iOs.

    This probably isn't going to sound very helpful, for which I apologise in advance, but I'm afraid it's the truth...
    The only way you stand any way of doing any of this is by using ASIO4ALL, which can aggregate different drivers from multiple devices. But I don't rate your chances too highly, I'm afraid - USB mics have long been the problem child of computer-based audio. On top of that, you are trying to get sounds in and out of a separate device at the same time - not only that, but it's a Creative Labs gamer's device and they are second only to USB mics in terms of the 'difficult' stakes - search this forum!
    A much, much better way to attempt to do this would be to use a sensible ASIO external device with sufficient inputs, and a mic that plugs into it, not a USB one. That way you could route the inputs and outputs appropriately, and use the device's monitoring so that you could monitor what you need to. I wouldn't attempt to do anything like this any other way, I'm afraid. Another approach (which can be made to work well) is to use an external mixer to do most of the work - often it's easier to set up the monitoring on these. You can get mixers with the appropriate interface built-in, and they don't cost a fortune either. Mackie and Behringer make suitable devices.

  • Logic not taking signal from mic

    i'm using a rode nt-1a through a firebox, and logic isn't responding. the preference for both system and for logic show the firebox as the audio input source. any ideas?

    +*Lets start with your hardware first. Lets assume all your connections are correct and cables are in good working order:*+
    Is there anyway to verify that signal is getting to the Firebox from your mica such as an LED VU/db meter and is the preamp level set appropriately on the firebox? No signal here means no signal into Logic.
    Can you hear any playback from Logic and the Firebox? Are there any other working inputs on the firebox such as SPDIF or Line Level 1/4 input? If so, it may be a bad input channel
    +*Possible Software Issues:*+
    If the Firebox is setup as the default audio device for your MAC, deselect in the OSX System Preferences. The system may be taking priority of this device even though Logic recognizes it. This is usually not a problem on most systems however because most of professional audio devices are full duplex and can be accessed by multiple program at once.
    When you create a track to record this microphone signal, are you not seeing or hearing anything with the input monitoring button engaged? Sometime you have to engage the record button first, to engage the the track. It's a strange bug that occurs on my system.

Maybe you are looking for

  • Retrieving checkbox values from JSP

    In my program I have an 'ADD' form. In that form I ask the question "Do you have a car?" with a single checkbox for reply. The code I use is below. Can anyone tell me how to set the checkbox to 'ticked' or 'unticked' in my main jsp by sending paramte

  • Repeated crashing of Safari 5.1.7 on OS X Lion after replacing a failed Hard Drive

    I just replaced my hard drive after it failed and upon first use after repair Safari repeatedly failed to launch. It has shown different process failures but here's the most recent report: Process:         Safari [770] Path:            /Applications/

  • Please Help Urgent:Fast Search returning wrong result sets

    Hi All, We are facing below issue with fast search. Currently in My project  when  we are searching  for a phrase it is returning wrong result sets. For example if we search for "Endura", It is returning documents related to Endura  as well as Centur

  • Java.lang.NoClassDefFoundError: oracle/i18n/text/OraCollator

    I'm transforming XSLT as below and I got the below error. Do you know what it means? Thanks import oracle.xml.parser.v2.DOMParser; import oracle.xml.parser.v2.XMLDocument; import oracle.xml.parser.v2.XMLDocumentFragment; import oracle.xml.parser.v2.X

  • ITunes won't let me edit the song titles

    I click on a song title, and click the Get Info and it won't let me edit the song. The text is light gray instead of being black. When it's black I know I can edit it. I don't know how this happened... can someone please help me??