Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Recording sound in Java

  • 05-03-2003 5:25pm
    #1
    Closed Accounts Posts: 741 ✭✭✭


    I'm recording from a Microphone in Java 16 bit format with JMF2 on J2SE 1.4 as part of a project. It goes into a ByteArrayOutputStream which then can be converted to a Byte array. It sounds fine when played back but my problem is when I graph these Byte values, it looks like they are being truncated after being put into 8 bit Bytes. It's not the graph method because this takes Ints which are 4 Bytes. Does anyone know if this is correct and/or a way to record 16 bit samples differently albeit correctly? Thanks in advance.


Advertisement