Is it possible to get the current output level??

Is it possible to get the audio output level of a stream (in this case a mic input going through GSM compression to an RTP socket).
I would like a couple of volume bars in my application so people can see how loudly they are talking.
If anyone has any ideas on how to achieve this it would be much appreciated!
Thanks,
Dex

You want a volumeter, i am also interesting in it

Similar Messages

  • DSC Alarms: how to get the current alarm levels / setpoints

    I have a VI that can get the alarm levels for shared variables as they are set in the project library.
    But I have programmatically changed the values for the alarm levels, so the Distributed System Manager shows different levels as compared to what my VI displays.  I want the updated or current alarm levels - the ones that are retrieved by Read Alarms (called setpoints).
    I could use Read Alarms, but that only shows the shared variables that are in alarm.  I want all the shared variables in a process that is currently deployed.
    Any suggestions?
    BTW, is Distributed System Manager the same tool as Shared Variable Monitor?  I can't find the Shared Variable Monitor on my system.
    G

    Hi Gretchen,
    To answer your second question first, Shared Variable Monitor was the old name for what became Distributed System Manager. There was also some added functionality beyond just shared variables with DSM, so the name got changed. 
    As for suggestions regarding your application, I could use a little bit of clarification. I understand you're programmatically changing the alarm values and you want to display the values of your shared variables and their respective alarm states, correct? Also, when you're running your VI DSM does not update with the new alarm values (what happens when you hit the refresh button?). 
    I found a couple examples that may be useful moving forward Example 1, Example 2. These cover using shared variables and DSC's alarming features.
    Tim W.
    Applications Engineering
    National Instruments
    http://www.ni.com/support 

  • How can I get the current user and the current page?

    Hi everyone
    Question..
    It is possible to get the current user (from the user's database on apex) and the current page? (I mean, if I'm in page 4 be able to query a variable / function or something which could give me the current displayed page)
    Thank you very much... I'd been researching without success :-S so I'll appreciate your help
    Regards,
    Fury

    Fury,
    If the user has authenticated, :APP_USER is the name that was used. The current page id is in :APP_PAGE_ID.
    Although I showed bind variable notation for those, & substitution format and v() notation are also available for referencing developer-defined items or built-in names. See the User's Guide for more details.
    Scott

  • I want to get the current Cursor row number

    Hello!
    Is it possible to get the current row number of a cursor in a cursor loop?
    for c_1 in cursor_1
    loop
    dbms_output.put_line(c_1. ???) --> this should show: 1 in the first loop ,2,3,...
    endloop
    best regards,
    wolf

    SQL> declare
      2  cursor c is
      3  select * from emp;
      4  begin
      5  for r in c loop
      6    dbms_output.put_line(c%rowcount);
      7  end loop;
      8  end;
      9  /
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    PL/SQL procedure successfully completed.Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/02/07/aggiornare-una-tabella-con-listruzione-merge/]

  • Getting the current row in a datatable

    Hi,
    I am using datatable. How do I get the current row in the datatable
    and use it for my processing in the JSP page
    or I want to just output that value with out using any jsf tags.
    Examples
    <h:dataTable styleClass="dataTable" id="table1" border="0"                    value="#{myTrainingHandler.myMediaTraining}" var="dataIt">
    <h:column id="column1">
    <f:facet name="header">
    <h:outputText styleClass="outputText" value="Course Name"id="text1"></h:outputText>
    </f:facet>
    <!---------------------------------------------- how do I get the value of #{dataIt.name} and use it in the JSP way
    Reason: I just want to output the value. If I am using h:outputText then it inserts <span>... </span>
    or, I want to transfer that value to another another attribute in the session or something like that.
    ---------------------!>
    <h:outputText styleClass="outputText" id="text2" value="#{dataIt.name}"></h:outputText>
    </h:column>
    </h:dataTable>
    -Aswath

    It looks like good idea!Unfortunately this is just workaround. Indeed your
    suggestion is real JSF-feeling solution but due to the
    bug (or rather pure design of RI implementation???) it
    is dangerous.
    I had some doubt about is it bug or my incompetence.
    Unfortunately this seems is really bug.
    Hope this problem will be solved in the next releases.from blueprints catalog:
    Component bindings (e.g. <h:inputText binding="#{MyBean.lastNameComponent}" />) should always be stored in request scope since their value is no longer valid after a request has been processed anyway. The component tree is reconstituted during each incoming request, changing the physical instances these component bindings will point to.
    as you see there is really problem in using session backing bean with component binding
    so that means idea with parameter looks better now because we don't need to use table binding.
    Or probably we can define some kind of pattern like couple of beans with request scope and session scope.
    for example:
    Catalog - session scope
    CatalogView - request scope
    Catalog will keep session data and CatalogView will provide some presentation logic (including some stricly visual oriented data) and access to business methods of Catalog class.
    I will send you example by e-mail (on friday) if you not mind.
    >
    Thank you for your suggestion!
    Probably I will use your idea in my application.
    By the way I'm from Kiev also.Hello from Kiev :-)
    I have one suggestion.
    I'm working on JSF form that suppose to add, editand
    delete records from table.
    Also I wanna to use scrolling by page and sorting.
    I'm trying to make this form somehow clean and
    universal as much as possible.Seems I have same tasks for now.Great! I will send some code soon.
    And maybe we can discuss every aspect how to do good JSF based application including config oriented information and utilities classes.
    -how do you work with tables without primary keyI dont' have tables without primary key :)
    -how do you make pagination by universal wayWe need just make good component for that.
    We already started in this direction.

  • Getting the current time and comparing it to a time in the future

    Hello,
    I am seeing in my research some debate on the best way to get the time. I am reading that just using the Date class and calling getTime() is not the most reliable way to do things. Overall, I am trying to get the current time down to the millisecond. I then want to add 5 seconds to that time and then store that value. FInally, when the current time is greater or equal to this stored value, I want to continue on in my program. Can anyone point me in the right direction on how to calculate the time variable? Any help would be much appreciated. I am new to the JAVA world.
    Thanks,
    Tim

    To store the current time, simply use new java.util.Date(). Yes, there might be slight inconsistencies and it might not be the most accurate time possible, but without significant additional effort (perhaps a native O/S call or the use of another time library), you will not do much better. Calendar won't help in this instance either. The easiest way to get five seconds in the future is to do the following:
    Date now = new Date();
    Date future = new Date(now.getTime() + 5000);To store and retrieve the value, it depends on what you are doing. You can place it in the database via JDBC (BTW, if you trust the database timestamp more than Java's you can use something like Oracle's SYSDATE instead of Java's date in your SQL query). You can place it in the filesystem. You can store it in the user's session.
    - Saish

  • How to get the current date in standby display?

    My N73 ( 3.0705.1.0.31 ) displays the current date/day only in the general profile. When I switch to any other profile, that place is taken over by the profile name.
    Is it possible to get the date/day displayed in a non general profile?
    If it is otherwise, the 240x320 display is of little use...
    V 4.0727.2.2.1
    04-07-2007, RM-133
    (C) Nokia N73 (Z5.01)

    That's the way it goes. In addition you see the date/time on the screensaver with every/any profile.

  • Get the current status of IDOC

    Hi,
    I want the current status of IDOC.
    Is there any function module through which i can get the current status of IDOC?

    Hi,
    Use function module "FTR_IDOC_READ", Output structure "PE_IDOC_STATUS" holds the current status of IDOC number
    Regards
    Vinod

  • Get the current time

    Hi I was wondering how I can get the current time and use is to compare it e.g. in a IF sentence.

    Hi I was wondering how I can get the current time and
    use is to compare it e.g. in a IF sentence.This might help. I'm not exactly sure what you are asking for but I use this type of code to compare the current time to my start time in my program, specifically for my loggerformatter. The output shows the seconds and the remainder in milliseconds. The efficiency is probably suspect, but it might give you some ideas... Joel
    import java.util.Date;
    import java.text.NumberFormat;
    import java.util.GregorianCalendar;
    import java.text.SimpleDateFormat;
    class TimeDiff {
        private static NumberFormat nf08 = NumberFormat.getInstance();
        private static GregorianCalendar calStart = new GregorianCalendar();
        private static GregorianCalendar calEnd  = new GregorianCalendar();
         *  Constructor
        public TimeDiff() {
            calStart.setTimeInMillis(System.currentTimeMillis());
         * Calculate the elapsed time in seconds
        private static long calcSsElapsed(GregorianCalendar calBegin, GregorianCalendar calEnd) {
            return((calEnd.getTime().getTime() - calBegin.getTime().getTime()) / 1000);
         * Calculate the elasped time milliseconds
        private static long calcMsElapsed(GregorianCalendar calBegin, GregorianCalendar calEnd) {
            return((calEnd.getTime().getTime() - calBegin.getTime().getTime()) % 1000);
        public static void main(String[] args) {
            try {
                TimeDiff td = new TimeDiff();
                Thread.sleep(5100);
                calEnd.setTimeInMillis(System.currentTimeMillis());
                System.out.println("Seconds="+calcSsElapsed(calStart, calEnd));
                System.out.println("Milliseconds="+calcMsElapsed(calStart, calEnd));
            catch (Exception e) {
                System.out.println("something went terribly, terribly wrong");
    }

  • Get the current client-user password

    Hello,
    I implement the following code:
      IWDClientUser user = WDClientUser.getCurrentUser();
      String name = user.getFirstName() + " " + user.getLastName();
    that works without any problems.
    But I need also the password of the current client-user.
    Is it possible to get the password?
    Patrick

    Patrick,
    you mean a "login"? the hash-value won't help you, because as Dominik already mentioned: it's a <b>one-way</b> has, that means you can derive the hashcode from the password and not vice versa.
    your solution would be e.g. to implement a saplogonticket authentication in your second web-server.
    kr, achim

  • GregorianCalendar - getting the current date

    Hi,
    Have any of the Calendar classes been changed in version 1.5. I'm trying to get the current date and time in an application, to add to filenames when they are backed up. In java 1.4 the following code was sufficient to get the information required:
    GregorianCalendar cal = new GregorianCalendar();
    filename = "C:\\Program Files\\Apache Group\\Apache2\\www\\test\\htdocs\\backups\\";
    filename += theFile;
    filename += "=" + getUser() + "=" + cal.get( Calendar.HOUR_OF_DAY ) + "_" +
         cal.get( Calendar.MINUTE ) + "=" + cal.get( Calendar.DAY_OF_MONTH ) + "_" +
         ( cal.get( Calendar.MONTH ) + 1 ) + "_" + cal.get( Calendar.YEAR );
    I'm writing another app using the same code and SDK 1.5, but it's returning the same values every time.
    Cheers
    Matt

    I wrote a small program to test the Calendar object on my system:
    import java.util.*;
    import java.awt.event.*;
    import java.awt.*;
    public class Tester extends Frame implements ActionListener
         public Tester()
              javax.swing.Timer timer = new javax.swing.Timer( 1000, this );
              timer.start();
              setSize( 400, 400 );
              show();
              addWindowListener(
                   new WindowAdapter()
                        public void windowClosing( WindowEvent e )
                             System.exit( 0 );
         public void actionPerformed( ActionEvent e )
              Calendar cal = new GregorianCalendar();
              System.out.println( "Time: " + cal.HOUR + ":" + cal.MINUTE + ":" + cal.SECOND );
         public static void main( String args[] )
              Tester t = new Tester();
    This repeatedly outputs:
    10:12:13
    I tried this with Calendar and GregorianCalendar. Both of them do not seem to work. I'm not using the same Calendar object, or outputing in the same second....

  • How do I get the current ios for ipod

    my iPod touch has ios 4.2.1 and it keeps telling me I have the most up to date software. How do I get the current version?

    It sounds like you may have a 2nd generation iPod Touch, in which case 4.2.1 is the highest possible iOS. Please check the model number on the back, A1288 is 2nd generation.
    Stedman

  • How to get the current filename and & or path

    How can I get the current path or filename?
    I didn't really find any answers in the net. this.path or app.path were suggested but I couldn't get it to work.
    Thanks in advance for your answer!
    Livecycle Designer ES 8.2.1.3144.1.471865

    Hi,
    event.target.path.toString();  will give the full path including the filename.
    event.target.documentFileName.toString();  will give the filename only.
    Good luck,
    Niall

  • How to get the current path of my application in java ?

    how to get the current path of my application in java ?
    thanks

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

  • I've recently been given a macbook pro from uni, with lots of adobe software on. I want to pair it with my iMac which has music etc and is it possible to get the software to the imac and the files to the macbook?Giving me the best of both :-)

    I've recently been given a macbook pro from uni, with lots of adobe software on. I want to pair it with my iMac which has music etc and is it possible to get the software to the imac and the files to the macbook?Giving me the best of both :-)

    You would need the original installation disks or files for the Adobe software to get it onto your iMac, and having it on two computers may not be allowed by your university's licensing. Talk to whoever issued the MacBook.
    As to the music, just copy it over to the MacBook, either via Home Sharing, file sharing, or an external storage medium (hard drive, USB flash drive, etc.).
    Regards.

Maybe you are looking for

  • Re contract not all going through

    Hi all, bit of a long one but I'll give the abridged version. I was contacted by BT on the 29th January and put through to a very helpful chap called Zach, we came up with a package that included Multi room and a new BT YouView + box  that I was happ

  • Poor quality of background movie

    Can someone please help. I created a 30 second clip with text in After Effects and rendered it out as a QT file at the highest resolution. I then brought that into DVDSP and placed it as a background movie for my menu. The quality of the movie is jus

  • JNI - core dump - internal error on linux after calling Java method

    I'm getting a core dump after calling athe main statric method using JNNI. On linux. I can get the class id correcttly but when I attempt to call the method it craches with an internal error , anyone know why it would crash instead of just not work.

  • Copy clip.  Edit copied clip w/o changing original

    This should be easy....but I'm having trouble. I want to take a clip (in this case a title) and copy it. I can do this part. I then want to change the copied clip (ie change text) but without changing the original clip. Everytime I change the copied

  • Medication for Ongoing Conditions

    How does one list medications for ongoing conditions? The "obvious" thing to me would allow having multiple prescriptions for a single medication entry. For example, if I am on a medication, same dosage, same instructions, everything, for a years, an