Thread: Sound meter

  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    2

    Sound meter

    Im developing some c code for a csr bluetooth chipset connected to a board with various components, one of them being a microphone.


    What id like to do is be able to read the sound level (decibels) from the mic. I know how to do this in objective c, in a simple iphone app but im not really sure how to do this in plain c. In the iphone i just import the audio framework and access the various methods required. The library provided by csr however does no include any support for mic/audio that i can see.


    Are there certain imports in c that i would need? Are there any tutorials i could see. I really dont know how to go about this so any pointers would be great thanks.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I think you are confusing a programming language with what we would call a framework. objective-c is a language. cocoa is a framework. C has a standard library, but it has nothing related to sound or bluetooth. there are sound processing frameworks and libraries for C, but they are, of course, platform dependent. considering you use words like "import," I suspect that you do not actually know C. have you tried searching google? I'm sure there's loads of information.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #3
    Registered User
    Join Date
    Jul 2013
    Posts
    2
    Hi Elkvis,

    Thanks for the quick reply.

    Im knew to C, my background is Java and Objective C. I've searched google but found nothing, its actually very hard to find anything related to C in google. All i find is C++ or C#.

    As i said, im coding for a CSR bluetooth chipset, which comes with its own SDK (framework) but does not have anything related to sound. So what i was wondering is if there was any libraries that i could use.

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    you're asking a very specific question about a very specific piece of hardware on a very general forum. this forum is typically for questions about the C language and its standard libraries.

    several pertinent questions:

    1. what architecture? (x86, x64, arm)
    2. what operating system? (linux, windows, android)
    3. what made you decide that C was the correct language to use in this case? is it possible to use another language?
    4. exactly what have you actually searched for, and what did it find for you? please be specific.

    it's not hard to find C-related stuff on google. you just need to be more careful with your search parameters.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 06-18-2013, 12:31 AM
  2. Weird issue with energy meter using modscan
    By zenniz in forum C Programming
    Replies: 2
    Last Post: 03-26-2013, 12:49 PM
  3. Replies: 3
    Last Post: 02-23-2012, 02:31 PM
  4. HTTP traffic meter
    By Carlos in forum Windows Programming
    Replies: 3
    Last Post: 10-02-2003, 04:27 PM
  5. Progress meter color
    By Echidna in forum Windows Programming
    Replies: 3
    Last Post: 11-29-2002, 03:30 AM

Tags for this Thread