Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User cjguajardo's Avatar
    Join Date
    Apr 2011
    Posts
    4
    Hi, I'm making a Silence counter for a personal project, the main idea is count the silences from a monotone sound captured by cellphone mic (or a audio file).
    My problem is just i don't know how to recognize the silence in the stream.

    Is there any other form to get the silences on an audio stream?

    This project is mainly for my Nokia C5.

    Well thanks in advance.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Sorry, cannot help you in detecting the silent periods.

    One related note though. In general in Java ME it is not possible to start reading/analyzing the recorded audio stream, unless you stop recording that stream (that used to be a problem in the past and and I haven not heard that the implementations have changed in that regard - I might wrong though..)
    So you need to record for a short period of time, stop recording, start analyzing that recorded stream while you start recording a new piece of audio in another thread.

    Hartti

  3. #3
    Registered User cjguajardo's Avatar
    Join Date
    Apr 2011
    Posts
    4
    Quote Originally Posted by hartti View Post
    So you need to record for a short period of time, stop recording, start analyzing that recorded stream while you start recording a new piece of audio in another thread.
    That is the idea, sorry i didn't specify much about.
    The idea is record a short piece about 10 and 30 seconds, and then analize the recorded audio for search two silences.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Ok, just wanted to make sure that you are not expecting to be able to analyze the stream on-the-fly :-)

    Hartti

  5. #5
    Registered User cjguajardo's Avatar
    Join Date
    Apr 2011
    Posts
    4
    I'm trying to find a way, i've been searching on the web, but i didn't get it.
    There are many threads on the web with the same question and no solution.
    I found a few code line that i don't know what means, because the code is not complete, and i don't know in which form was readed the file. I tried to read the file for myself, trying many forms, but it appears some like random data.

    There is a form, because exists applications that have this functionality, but i wonder if it's very difficult to implement or what??


    So if somehow knows the answer to my question, please tell me how to do it, i don't expect that resolve all the problem, but i want to know how to recognize silence on a monotone wav file.

    Thanks.

  6. #6
    Registered User cjguajardo's Avatar
    Join Date
    Apr 2011
    Posts
    4
    there is a way to read a wav file and from the data obtained extract or find peaks or silences?? or audio level

Similar Threads

  1. Mobile Bomb Detector
    By shubhendra in forum Python
    Replies: 16
    Last Post: 2011-08-26, 14:07
  2. Mobile with Bomb detector
    By vprakashttm in forum General Development Questions
    Replies: 2
    Last Post: 2010-05-03, 11:20
  3. Long Tap Detector vs List
    By tamhanna in forum Symbian User Interface
    Replies: 3
    Last Post: 2009-04-20, 09:46
  4. Implementing motion detector
    By phishboh in forum Mobile Java General
    Replies: 2
    Last Post: 2007-01-26, 16:36
  5. Silence phones with bluetooth
    By marklyon in forum Bluetooth Technology
    Replies: 2
    Last Post: 2002-11-12, 00:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved