Voice over program

When I turn on my voice over program voice States" voiceover on speech off" how do I turn speech on?

Oh sure, blame it on the cat.....
GB
BTW - Command + F5 will toggle it off (or back on again - you may want to keep that info from the cat)

Similar Messages

  • How can the voice over icon be removed?

    I unfortunately followed the advice of someone who really didn't understand OSX 10.8.X and inadvertantly launched the Voice Over program. Now I can't seem to be able to clear the icon. Can anyone help?

    Thanks to Zlig I was able determine that after going to System Preferences I needed to go to Accessability and from there Speakable Items and then I could switch it off. The icon went POOF! Thank you Zlig.

  • Voice chat program

    After a few days work, I have completed the mian voice chat program. I know there are so many people like me that wants that. I post these program. i will complete gui work later. and there is a problem in the program. if the speaking one do not speak for a while, the listening client will hear noise. Can some one help me.
    package com.longshine.voice;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class Server
    // The ServerSocket we'll use for accepting new connections
    private ServerSocket ss;
    // A mapping from sockets to DataOutputStreams. This will
    // help us avoid having to create a DataOutputStream each time
    // we want to write to a stream.
    private Hashtable outputStreams = new Hashtable();
    final int bufSize = 16384;
    //current speak_man
    private int speakman=-1;
    // Constructor and while-accept loop all in one.
    public Server( int port ) throws IOException {
    // All we have to do is listen
    listen( port );
    private void listen( int port ) throws IOException {
    // Create the ServerSocket
    ss = new ServerSocket( port );
    // Tell the world we're ready to go
    System.out.println( "Listening on "+ss );
    // Keep accepting connections forever
    while (true) {
    // Grab the next incoming connection
    Socket s = ss.accept();
    // Tell the world we've got it
    System.out.println( "Connection from "+s );
    // Create a DataOutputStream for writing data to the
    // other side
    DataOutputStream dout = new DataOutputStream( s.getOutputStream() );
    // Save this stream so we don't need to make it again
    outputStreams.put( s, dout );
    // Create a new thread for this connection, and then forget
    // about it
    new VoiceServer( this, s );
    // Get an enumeration of all the OutputStreams, one for each client
    // connected to us
    Enumeration getOutputStreams() {
    return outputStreams.elements();
    // Send a message to all clients (utility routine)
    void sendToAll( byte[] voice ,Socket socket) {
    // We synchronize on this because another thread might be
    // calling removeConnection() and this would screw us up
    // as we tried to walk through the list
    synchronized( outputStreams ) {
    // For each client ...
    for (Enumeration e = outputStreams.keys(); e.hasMoreElements(); ) {
    // ... get the output stream ...
    Socket tmp=(Socket)e.nextElement();
    if(!tmp.equals(socket))
    try {
    DataOutputStream dout = new DataOutputStream(tmp.getOutputStream());
    // ... and send the message
    dout.write(voice,0,44096);
    dout.flush();
    } catch( IOException ie ) { System.out.println( ie ); }
    // Remove a socket, and it's corresponding output stream, from our
    // list. This is usually called by a connection thread that has
    // discovered that the connectin to the client is dead.
    void removeConnection( Socket s ) {
    // Synchronize so we don't mess up sendToAll() while it walks
    // down the list of all output streamsa
    synchronized( outputStreams ) {
    // Tell the world
    System.out.println( "Removing connection to "+s );
    // Remove it from our hashtable/list
    outputStreams.remove( s );
    // Make sure it's closed
    try {
    s.close();
    } catch( IOException ie ) {
    System.out.println( "Error closing "+s );
    ie.printStackTrace();
    // Main routine
    // Usage: java Server <port>
    static public void main( String args[] ) throws Exception {
    // Get the port # from the command line
    int port = Integer.parseInt( args[0] );
    // Create a Server object, which will automatically begin
    // accepting connections.
    new Server( port );
    package com.longshine.voice;
    import java.net.*;
    import java.io.*;
    import java.sql.*;
    import java.io.*;
    import java.net.*;
    public class VoiceServer extends Thread
    // The Server that spawned us
    private Server server;
    final int bufSize = 16384;
    // The Socket connected to our client
    private Socket socket;
    // Constructor.
    public VoiceServer( Server server, Socket socket ) {
    // Save the parameters
    this.server = server;
    this.socket = socket;
    // Start up the thread
    start();
    // This runs in a separate thread when start() is called in the
    // constructor.
    public void run() {
    try {
    // Create a DataInputStream for communication; the client
    // is using a DataOutputStream to write to us
    DataInputStream din = new DataInputStream( socket.getInputStream() );
    byte[] voice=new byte[44096];
    // Over and over, forever ...
    while (true) {
    // ... read the next message ...
    // int bytes = din.read(voice,0,44096);
    int bytes = din.read(voice);
    // ... and have the server send it to all clients
    server.sendToAll(voice,socket);
    } catch( EOFException ie ) {
    // This doesn't need an error message
    } catch( IOException ie ) {
    // This does; tell the world!
    ie.printStackTrace();
    } finally {
    // The connection is closed for one reason or another,
    // so have the server dealing with it
    server.removeConnection( socket );
    package com.longshine.voice;
    import java.io.*;
    import java.net.*;
    public class Client {
    private String host="";
    private String port="";
    private Socket socket;
    private DataOutputStream dout;
    private DataInputStream din;
    private Capture capture=null;
    private Play play=null;
    public Client(String host,String port) {
    this.host=host;
    this.port=port;
    public void init()
    try
    socket = new Socket( host, Integer.parseInt(port));
    din = new DataInputStream( socket.getInputStream() );
    dout = new DataOutputStream( socket.getOutputStream());
    capture=new Capture(dout);
    play=new Play(din);
    catch(Exception e)
    e.printStackTrace();
    public static void main(String[] args) {
    Client client = new Client("172.18.220.176","5678");
    client.init();
    if(args[0].equalsIgnoreCase("say"))
    client.capture.start();
    if(args[0].equalsIgnoreCase("hear"))
    client.play.start();
    package com.longshine.voice;
    import java.io.*;
    import java.util.Vector;
    import java.util.Enumeration;
    import javax.sound.sampled.*;
    import java.text.*;
    import java.net.*;
    public class Play implements Runnable {
    SourceDataLine line;
    Thread thread;
    String errStr=null;
    DataInputStream in=null;
    AudioInputStream audioInputStream;
    final int bufSize = 16384;
    int duration=0;
    public Play(DataInputStream in)
    this.in=in;
    public void start() {
    errStr = null;
    thread = new Thread(this);
    thread.setName("Playback");
    thread.start();
    public void stop() {
    thread = null;
    private void shutDown(String message) {
    if ((errStr = message) != null) {
    System.err.println(errStr);
    if (thread != null) {
    thread = null;
    public void createAudioInputStream() {
    if (in != null ) {
    try {
    errStr = null;
    java.io.BufferedInputStream oin = new java.io.BufferedInputStream(in);
    audioInputStream = AudioSystem.getAudioInputStream(oin);
    } catch (Exception ex) {
    ex.printStackTrace();
    } else {
    public void run() {
    // reload the file if loaded by file
    if (in != null) {
    // createAudioInputStream();
    // make sure we have something to play
    // if (audioInputStream == null) {
    // shutDown("No loaded audio to play back");
    // return;
    // reset to the beginnning of the stream
    // try {
    // audioInputStream.reset();
    // } catch (Exception e) {
    // shutDown("Unable to reset the stream\n" + e);
    // return;
    // get an AudioInputStream of the desired format for playback
    AudioFormat format = getFormat();
    audioInputStream=new AudioInputStream(in, format, AudioSystem.NOT_SPECIFIED);
    AudioInputStream playbackInputStream = AudioSystem.getAudioInputStream(format, audioInputStream);
    if (playbackInputStream == null) {
    shutDown("Unable to convert stream of format " + audioInputStream + " to format " + format);
    return;
    // define the required attributes for our line,
    // and make sure a compatible line is supported.
    DataLine.Info info = new DataLine.Info(SourceDataLine.class,
    format);
    if (!AudioSystem.isLineSupported(info)) {
    shutDown("Line matching " + info + " not supported.");
    return;
    // get and open the source data line for playback.
    try {
    line = (SourceDataLine) AudioSystem.getLine(info);
    line.open(format, bufSize);
    } catch (LineUnavailableException ex) {
    shutDown("Unable to open the line: " + ex);
    return;
    // play back the captured audio data
    int frameSizeInBytes = format.getFrameSize();
    int bufferLengthInFrames = line.getBufferSize() / 8;
    int bufferLengthInBytes = bufferLengthInFrames * frameSizeInBytes;
    byte[] data = new byte[bufferLengthInBytes];
    int numBytesRead = 0;
    // start the source data line
    line.start();
    while (thread != null) {
    try {
    if ((numBytesRead = playbackInputStream.read(data)) == -1) {
    break;
    int numBytesRemaining = numBytesRead;
    while (numBytesRemaining > 0 ) {
    numBytesRemaining -= line.write(data, 0, numBytesRemaining);
    } catch (Exception e) {
    shutDown("Error during playback: " + e);
    break;
    // we reached the end of the stream. let the data play out, then
    // stop and close the line.
    if (thread != null) {
    line.drain();
    line.stop();
    line.close();
    line = null;
    shutDown(null);
    public AudioFormat getFormat() {
    AudioFormat.Encoding encoding = AudioFormat.Encoding.ULAW;
    String encString = "linear";
    float rate = Float.valueOf("44100").floatValue();
    int sampleSize = 16;
    String signedString = "signed";
    boolean bigEndian = true;
    int channels = 2;
    if (encString.equals("linear")) {
    if (signedString.equals("signed")) {
    encoding = AudioFormat.Encoding.PCM_SIGNED;
    } else {
    encoding = AudioFormat.Encoding.PCM_UNSIGNED;
    } else if (encString.equals("alaw")) {
    encoding = AudioFormat.Encoding.ALAW;
    return new AudioFormat(encoding, rate, sampleSize,
    channels, (sampleSize/8)*channels, rate, bigEndian);
    } // End class Playback
    package com.longshine.voice;
    import java.io.*;
    import java.util.Vector;
    import java.util.Enumeration;
    import javax.sound.sampled.*;
    import java.text.*;
    import java.net.*;
    public class Capture implements Runnable {
    TargetDataLine line;
    Thread thread;
    String errStr=null;
    DataOutputStream out=null;
    AudioInputStream audioInputStream;
    final int bufSize = 16384;
    int duration=0;
    public Capture(DataOutputStream out)
    this.out=out;
    public void start() {
    errStr = null;
    thread = new Thread(this);
    thread.setName("Playback");
    thread.start();
    public void stop() {
    thread = null;
    private void shutDown(String message) {
    if ((errStr = message) != null) {
    System.out.println(errStr);
    if (thread != null) {
    thread = null;
    public AudioFormat getFormat() {
    AudioFormat.Encoding encoding = AudioFormat.Encoding.ULAW;
    String encString = "linear";
    float rate = Float.valueOf("44100").floatValue();
    int sampleSize = 16;
    String signedString = "signed";
    boolean bigEndian = true;
    int channels = 2;
    if (encString.equals("linear")) {
    if (signedString.equals("signed")) {
    encoding = AudioFormat.Encoding.PCM_SIGNED;
    } else {
    encoding = AudioFormat.Encoding.PCM_UNSIGNED;
    } else if (encString.equals("alaw")) {
    encoding = AudioFormat.Encoding.ALAW;
    return new AudioFormat(encoding, rate, sampleSize,
    channels, (sampleSize/8)*channels, rate, bigEndian);
    public void run() {
    duration = 0;
    audioInputStream = null;
    // define the required attributes for our line,
    // and make sure a compatible line is supported.
    AudioFormat format = getFormat();
    DataLine.Info info = new DataLine.Info(TargetDataLine.class,
    format);
    if (!AudioSystem.isLineSupported(info)) {
    shutDown("Line matching " + info + " not supported.");
    return;
    // get and open the target data line for capture.
    try {
    line = (TargetDataLine) AudioSystem.getLine(info);
    line.open(format, line.getBufferSize());
    } catch (LineUnavailableException ex) {
    shutDown("Unable to open the line: " + ex);
    return;
    } catch (SecurityException ex) {
    shutDown(ex.toString());
    return;
    } catch (Exception ex) {
    shutDown(ex.toString());
    return;
    // play back the captured audio data
    int frameSizeInBytes = format.getFrameSize();
    int bufferLengthInFrames = line.getBufferSize() / 8;
    int bufferLengthInBytes = bufferLengthInFrames * frameSizeInBytes;
    byte[] data = new byte[bufferLengthInBytes];
    int numBytesRead;
    line.start();
    try
    while (thread != null) {
    if((numBytesRead = line.read(data, 0, bufferLengthInBytes)) == -1) {
    break;
    if(data.length>0)
    out.write(data, 0, numBytesRead);
    out.flush();
    catch (Exception e)
    e.printStackTrace();
    // we reached the end of the stream. stop and close the line.
    line.stop();
    line.close();
    line = null;
    // stop and close the output stream
    try {
    out.flush();
    out.close();
    } catch (IOException ex) {
    ex.printStackTrace();
    } // End class Capture

    After a few days work, I have completed the mian voice chat program. I know there are so many people like me that wants that. I post these program. i will complete gui work later. and there is a problem in the program. if the speaking one do not speak for a while, the listening client will hear noise. Can some one help me.
    package com.longshine.voice;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class Server
    // The ServerSocket we'll use for accepting new connections
    private ServerSocket ss;
    // A mapping from sockets to DataOutputStreams. This will
    // help us avoid having to create a DataOutputStream each time
    // we want to write to a stream.
    private Hashtable outputStreams = new Hashtable();
    final int bufSize = 16384;
    //current speak_man
    private int speakman=-1;
    // Constructor and while-accept loop all in one.
    public Server( int port ) throws IOException {
    // All we have to do is listen
    listen( port );
    private void listen( int port ) throws IOException {
    // Create the ServerSocket
    ss = new ServerSocket( port );
    // Tell the world we're ready to go
    System.out.println( "Listening on "+ss );
    // Keep accepting connections forever
    while (true) {
    // Grab the next incoming connection
    Socket s = ss.accept();
    // Tell the world we've got it
    System.out.println( "Connection from "+s );
    // Create a DataOutputStream for writing data to the
    // other side
    DataOutputStream dout = new DataOutputStream( s.getOutputStream() );
    // Save this stream so we don't need to make it again
    outputStreams.put( s, dout );
    // Create a new thread for this connection, and then forget
    // about it
    new VoiceServer( this, s );
    // Get an enumeration of all the OutputStreams, one for each client
    // connected to us
    Enumeration getOutputStreams() {
    return outputStreams.elements();
    // Send a message to all clients (utility routine)
    void sendToAll( byte[] voice ,Socket socket) {
    // We synchronize on this because another thread might be
    // calling removeConnection() and this would screw us up
    // as we tried to walk through the list
    synchronized( outputStreams ) {
    // For each client ...
    for (Enumeration e = outputStreams.keys(); e.hasMoreElements(); ) {
    // ... get the output stream ...
    Socket tmp=(Socket)e.nextElement();
    if(!tmp.equals(socket))
    try {
    DataOutputStream dout = new DataOutputStream(tmp.getOutputStream());
    // ... and send the message
    dout.write(voice,0,44096);
    dout.flush();
    } catch( IOException ie ) { System.out.println( ie ); }
    // Remove a socket, and it's corresponding output stream, from our
    // list. This is usually called by a connection thread that has
    // discovered that the connectin to the client is dead.
    void removeConnection( Socket s ) {
    // Synchronize so we don't mess up sendToAll() while it walks
    // down the list of all output streamsa
    synchronized( outputStreams ) {
    // Tell the world
    System.out.println( "Removing connection to "+s );
    // Remove it from our hashtable/list
    outputStreams.remove( s );
    // Make sure it's closed
    try {
    s.close();
    } catch( IOException ie ) {
    System.out.println( "Error closing "+s );
    ie.printStackTrace();
    // Main routine
    // Usage: java Server <port>
    static public void main( String args[] ) throws Exception {
    // Get the port # from the command line
    int port = Integer.parseInt( args[0] );
    // Create a Server object, which will automatically begin
    // accepting connections.
    new Server( port );
    package com.longshine.voice;
    import java.net.*;
    import java.io.*;
    import java.sql.*;
    import java.io.*;
    import java.net.*;
    public class VoiceServer extends Thread
    // The Server that spawned us
    private Server server;
    final int bufSize = 16384;
    // The Socket connected to our client
    private Socket socket;
    // Constructor.
    public VoiceServer( Server server, Socket socket ) {
    // Save the parameters
    this.server = server;
    this.socket = socket;
    // Start up the thread
    start();
    // This runs in a separate thread when start() is called in the
    // constructor.
    public void run() {
    try {
    // Create a DataInputStream for communication; the client
    // is using a DataOutputStream to write to us
    DataInputStream din = new DataInputStream( socket.getInputStream() );
    byte[] voice=new byte[44096];
    // Over and over, forever ...
    while (true) {
    // ... read the next message ...
    // int bytes = din.read(voice,0,44096);
    int bytes = din.read(voice);
    // ... and have the server send it to all clients
    server.sendToAll(voice,socket);
    } catch( EOFException ie ) {
    // This doesn't need an error message
    } catch( IOException ie ) {
    // This does; tell the world!
    ie.printStackTrace();
    } finally {
    // The connection is closed for one reason or another,
    // so have the server dealing with it
    server.removeConnection( socket );
    package com.longshine.voice;
    import java.io.*;
    import java.net.*;
    public class Client {
    private String host="";
    private String port="";
    private Socket socket;
    private DataOutputStream dout;
    private DataInputStream din;
    private Capture capture=null;
    private Play play=null;
    public Client(String host,String port) {
    this.host=host;
    this.port=port;
    public void init()
    try
    socket = new Socket( host, Integer.parseInt(port));
    din = new DataInputStream( socket.getInputStream() );
    dout = new DataOutputStream( socket.getOutputStream());
    capture=new Capture(dout);
    play=new Play(din);
    catch(Exception e)
    e.printStackTrace();
    public static void main(String[] args) {
    Client client = new Client("172.18.220.176","5678");
    client.init();
    if(args[0].equalsIgnoreCase("say"))
    client.capture.start();
    if(args[0].equalsIgnoreCase("hear"))
    client.play.start();
    package com.longshine.voice;
    import java.io.*;
    import java.util.Vector;
    import java.util.Enumeration;
    import javax.sound.sampled.*;
    import java.text.*;
    import java.net.*;
    public class Play implements Runnable {
    SourceDataLine line;
    Thread thread;
    String errStr=null;
    DataInputStream in=null;
    AudioInputStream audioInputStream;
    final int bufSize = 16384;
    int duration=0;
    public Play(DataInputStream in)
    this.in=in;
    public void start() {
    errStr = null;
    thread = new Thread(this);
    thread.setName("Playback");
    thread.start();
    public void stop() {
    thread = null;
    private void shutDown(String message) {
    if ((errStr = message) != null) {
    System.err.println(errStr);
    if (thread != null) {
    thread = null;
    public void createAudioInputStream() {
    if (in != null ) {
    try {
    errStr = null;
    java.io.BufferedInputStream oin = new java.io.BufferedInputStream(in);
    audioInputStream = AudioSystem.getAudioInputStream(oin);
    } catch (Exception ex) {
    ex.printStackTrace();
    } else {
    public void run() {
    // reload the file if loaded by file
    if (in != null) {
    // createAudioInputStream();
    // make sure we have something to play
    // if (audioInputStream == null) {
    // shutDown("No loaded audio to play back");
    // return;
    // reset to the beginnning of the stream
    // try {
    // audioInputStream.reset();
    // } catch (Exception e) {
    // shutDown("Unable to reset the stream\n" + e);
    // return;
    // get an AudioInputStream of the desired format for playback
    AudioFormat format = getFormat();
    audioInputStream=new AudioInputStream(in, format, AudioSystem.NOT_SPECIFIED);
    AudioInputStream playbackInputStream = AudioSystem.getAudioInputStream(format, audioInputStream);
    if (playbackInputStream == null) {
    shutDown("Unable to convert stream of format " + audioInputStream + " to format " + format);
    return;
    // define the required attributes for our line,
    // and make sure a compatible line is supported.
    DataLine.Info info = new DataLine.Info(SourceDataLine.class,
    format);
    if (!AudioSystem.isLineSupported(info)) {
    shutDown("Line matching " + info + " not supported.");
    return;
    // get and open the source data line for playback.
    try {
    line = (SourceDataLine) AudioSystem.getLine(info);
    line.open(format, bufSize);
    } catch (LineUnavailableException ex) {
    shutDown("Unable to open the line: " + ex);
    return;
    // play back the captured audio data
    int frameSizeInBytes = format.getFrameSize();
    int bufferLengthInFrames = line.getBufferSize() / 8;
    int bufferLengthInBytes = bufferLengthInFrames * frameSizeInBytes;
    byte[] data = new byte[bufferLengthInBytes];
    int numBytesRead = 0;
    // start the source data line
    line.start();
    while (thread != null) {
    try {
    if ((numBytesRead = playbackInputStream.read(data)) == -1) {
    break;
    int numBytesRemaining = numBytesRead;
    while (numBytesRemaining > 0 ) {
    numBytesRemaining -= line.write(data, 0, numBytesRemaining);
    } catch (Exception e) {
    shutDown("Error during playback: " + e);
    break;
    // we reached the end of the stream. let the data play out, then
    // stop and close the line.
    if (thread != null) {
    line.drain();
    line.stop();
    line.close();
    line = null;
    shutDown(null);
    public AudioFormat getFormat() {
    AudioFormat.Encoding encoding = AudioFormat.Encoding.ULAW;
    String encString = "linear";
    float rate = Float.valueOf("44100").floatValue();
    int sampleSize = 16;
    String signedString = "signed";
    boolean bigEndian = true;
    int channels = 2;
    if (encString.equals("linear")) {
    if (signedString.equals("signed")) {
    encoding = AudioFormat.Encoding.PCM_SIGNED;
    } else {
    encoding = AudioFormat.Encoding.PCM_UNSIGNED;
    } else if (encString.equals("alaw")) {
    encoding = AudioFormat.Encoding.ALAW;
    return new AudioFormat(encoding, rate, sampleSize,
    channels, (sampleSize/8)*channels, rate, bigEndian);
    } // End class Playback
    package com.longshine.voice;
    import java.io.*;
    import java.util.Vector;
    import java.util.Enumeration;
    import javax.sound.sampled.*;
    import java.text.*;
    import java.net.*;
    public class Capture implements Runnable {
    TargetDataLine line;
    Thread thread;
    String errStr=null;
    DataOutputStream out=null;
    AudioInputStream audioInputStream;
    final int bufSize = 16384;
    int duration=0;
    public Capture(DataOutputStream out)
    this.out=out;
    public void start() {
    errStr = null;
    thread = new Thread(this);
    thread.setName("Playback");
    thread.start();
    public void stop() {
    thread = null;
    private void shutDown(String message) {
    if ((errStr = message) != null) {
    System.out.println(errStr);
    if (thread != null) {
    thread = null;
    public AudioFormat getFormat() {
    AudioFormat.Encoding encoding = AudioFormat.Encoding.ULAW;
    String encString = "linear";
    float rate = Float.valueOf("44100").floatValue();
    int sampleSize = 16;
    String signedString = "signed";
    boolean bigEndian = true;
    int channels = 2;
    if (encString.equals("linear")) {
    if (signedString.equals("signed")) {
    encoding = AudioFormat.Encoding.PCM_SIGNED;
    } else {
    encoding = AudioFormat.Encoding.PCM_UNSIGNED;
    } else if (encString.equals("alaw")) {
    encoding = AudioFormat.Encoding.ALAW;
    return new AudioFormat(encoding, rate, sampleSize,
    channels, (sampleSize/8)*channels, rate, bigEndian);
    public void run() {
    duration = 0;
    audioInputStream = null;
    // define the required attributes for our line,
    // and make sure a compatible line is supported.
    AudioFormat format = getFormat();
    DataLine.Info info = new DataLine.Info(TargetDataLine.class,
    format);
    if (!AudioSystem.isLineSupported(info)) {
    shutDown("Line matching " + info + " not supported.");
    return;
    // get and open the target data line for capture.
    try {
    line = (TargetDataLine) AudioSystem.getLine(info);
    line.open(format, line.getBufferSize());
    } catch (LineUnavailableException ex) {
    shutDown("Unable to open the line: " + ex);
    return;
    } catch (SecurityException ex) {
    shutDown(ex.toString());
    return;
    } catch (Exception ex) {
    shutDown(ex.toString());
    return;
    // play back the captured audio data
    int frameSizeInBytes = format.getFrameSize();
    int bufferLengthInFrames = line.getBufferSize() / 8;
    int bufferLengthInBytes = bufferLengthInFrames * frameSizeInBytes;
    byte[] data = new byte[bufferLengthInBytes];
    int numBytesRead;
    line.start();
    try
    while (thread != null) {
    if((numBytesRead = line.read(data, 0, bufferLengthInBytes)) == -1) {
    break;
    if(data.length>0)
    out.write(data, 0, numBytesRead);
    out.flush();
    catch (Exception e)
    e.printStackTrace();
    // we reached the end of the stream. stop and close the line.
    line.stop();
    line.close();
    line = null;
    // stop and close the output stream
    try {
    out.flush();
    out.close();
    } catch (IOException ex) {
    ex.printStackTrace();
    } // End class Capture

  • Video and sound stutters in imovie project, made up entirely of stills with voice-over and music. I'm using iMovie 9.0.4 on a PowerBook 2GHz running 10.6.8 with 274 GB of space free. Size of project is 588 Gb.

    This particular project is made up entirely of still photos with Ken Burns moves and dissolves between each photo. As I got further into the project, the voice over audio started stuttering, and now it hardly plays at all with a motorboat sound when it does play. I've also started added music with the dsame audio problem. I'm running on a Mac PowerBook 2GHz using System 10.6.8. I have IMovie version 9.0.4. The project file size is 588 Mb. I have 274 Gb of hard disc space left. I have shut off all other running programs and even disconnected from the internet, but nopthing seems to help. I acts like it's a memory problem of some sort, but all other applications run fine.

    This particular project is made up entirely of still photos with Ken Burns moves and dissolves between each photo. As I got further into the project, the voice over audio started stuttering, and now it hardly plays at all with a motorboat sound when it does play. I've also started added music with the dsame audio problem. I'm running on a Mac PowerBook 2GHz using System 10.6.8. I have IMovie version 9.0.4. The project file size is 588 Mb. I have 274 Gb of hard disc space left. I have shut off all other running programs and even disconnected from the internet, but nopthing seems to help. I acts like it's a memory problem of some sort, but all other applications run fine.

  • How can I record a voice over and save as MP3?

    Good morning! I do voice overs. In my studio I STILL have a PC and use adobe audition. For my day to day business I know have a MAC BOOK PRO. I am going on vacation and need to record on my MacBook Pro with Garage Band.
    I have successfully set up my Mic(studio Projects C1) and my travel PreAmp (MAudioDuo) to record in Garage Band. All I need is dry voice. I have recorded a track but need to save is as an MP3. The test track I recorded is about 15 seconds long but yet plays for 30 seconds...I have deleted everything after the voice but it still seems like the track is longer. I have to put in MP3 format. How do I do this? This is a nice program but looks like it is too much for what I need it to do. So, any other recommendations on more appropriate software is appreciated if needed.
    Message was edited by: suesmac

    yet plays for 30 seconds.
    move the end of project marker to the 15 second mark:
    http://www.bulletsandbones.com/GB/GBFAQ.html#eos
    I have to put in MP3 format.
    when you "share" it, tick the Compress checkBox
    any other recommendations on more appropriate software
    any audio editor could be used as well:
    http://www.bulletsandbones.com/GB/GBFAQ.html#audioeditors

  • Can I add narrative, voice over or dub in voice to a slideshow created in Aperture 3?

    Can I add narrative, voice over, or dub in voice to an Aperture 3 slideshow?

    The only way to do that in Aperture would be to create the voice over in some audio program and import it into the audio browser and ten apply it to the sideshow. You can record directly in Aperture.
    So you would first make the visual part of the sideshow, then play it back in Aperture and you record your voice over. Then import the voice over and add it to the sideshow.
    Should work but you might find it easier to do it in somthing like iMovie or Final Cut. Export the sideshow from Aperture, import it into iMovie and do the recording there.

  • I have a new MacBook Pro. While getting rid of voice over I ended up with a black box with icons in it and I cannot get rid of it and I can't get off the home screen

    I have a brand new MacBook Pro . I got into voice over and then figured out how to stop that but now have a black box in the middle of the home screen and that box has a bunch of icons .....(Keyboard, pointer etc) I cannot get it to close and I'm not able to go past the home screen.  Help

    If you click on that window, the menu bar should change to whatever program that is. Then click the program name and click Exit.
    If that doesn't work, click the Apple icon, then Force Quit. Look for something that says Not Responding and quit it.
    Last... if nothing else works reboot and see if that does it.

  • My new voice-over software won't read Adobe PDF files

    I am using Adobe Reader X 10.1.10 and the Latest Voice Over software on my new Mac Mini!  I use Voice-Voice-over software to help me read faster and the earlier adobe and voice-voice-over software worked great.  The voice-over software is working with every software program I have except Adobe Reader.  Help, please! 

    Sounds like something you should ask the makers of that software...

  • HT2529 This morning Voice Over started running on my computer, but when I go to SYSTEM PREFERENCES/INTERNATIONAL ACCESS the Voice Over option is off, so I turned it on and then off, but it's still on.  What else can I do to make it stop?

    This morning Voice Over started running on my computer when I turned it on.  I did not turn Voice Over.  Could I have hit a combination of keys on the keyboard that accidentally turned it on?  When I went to System Preferences and chose Internation Access it showed that Voice Over was not even on.  I turned it on and turned it off to reset it, and it is still running.  How is this possible, and how to I get rid of it?
    Trumpeter

    I went to System Preferences, Universal Access, and then VoiceOver for the fiftieth time after you said to check VoiceOver Utility to see if I saw anything odd.  On The VoiceOver screen it was actually saying that VoiceOver was on.  All day the VoiceOver option was off, and the computer talked to me everytime I logged in.  I tried turning it on and off and it still talked to me.  Now the VoiceOver option was on, so I turned it off again. Weird! I had tried several combinations of keys again and again as the tech instructed me to do, but we couldn't turn it off, but I have to admit that after my phone went dead I tried everything I could imagine; so maybe in trying to turn the talking off I turned the VoiceOver Option on. Anyway, somewhere along the way it quite talking to me.
    Let me ask you a couple of questions.  When I clicked on VoiceOver Utility, after turning VoiceOver off, the screen message says: Speak the following greeting after login:  Welcome to Mac OSX.  VoiceOver is running. I was assuming that it meant VoiceOver was running.  That is what it is saying right now.   It's not talking to me anymore, but the screen says this whether the VoiceOver icon is on or off.  What is this all about.  Is it telling me that Voice Over is still running when I see this, or what?  After all, even when the OFF icon was chosen the computer still spoke to me when I hit each key upon logging in.  After you read the rest of this you will understand why I am asking if it is still running even though it's not talking to me.
    There is a box that appears and says "Portable Preferences for (Jane Doe) have been detected on (JaneDoe).  Would you like to use them?    Always Use   /  No  /   Yes      What does that mean?
    Last but not least. I was looking around and was clicking on Application, Documents, etc.  When I clicked on Documents, only four things came up even though there are tons of documents on my computer.  All four of them have to do with VoiceOver, and they were labeled as documents.  One of the documents had this in it:
    SCRConfiguration Cursor Tracking KBToVO
    SCRConfiguration Cursor Tracking VOToTXT
    SCRConfiguration Cursor Tracking VOToKB
    I'm not a computer genius, so maybe I just don't know what I'm looking at.  Is it normal for something like this to be found under documents?  All of these were dated today, and the problems started today. I haven't gone to bed yet, so even though it's after midnight it's still the same day to me.  Anyway, none of the documents were dated before this problem started.  On top of that, I have tons of documents on my computer, but when I clicked on Documents, those four are the only ones that showed up.  After trying to decipher the programming language on them, I went to click on Applications and hit Documents again, and all the documents came up.  I scanned the list and didn't see them, but there are so many documents on here that I haven't had time to slowly go over them to see if I missed those four documents somehow. Since then I haven't been able to get just those four to appear by themselves again.
    Now, is it possible that I still have a hacker and he knows through a key logger everything I am communicating to you and the Apple Store,  Maybe he did made a mistake and accidentally caused this problem, and through logging every key I have typed he has learned about his mistake and fixed it.  He could still be key logging me now without me knowing it; or maybe he removed the keylogger, because he know I'm taking it in to the Apple Store and can tell them now exactly what to look for.
    It is either a hacker, or I have a very vivid imagination.  What do you think? 

  • Error 1603 Voice Over Kit

    I can´t install Voice Over Kit in my fith iPod nano. The computer said error unknow (1603). What I can do?
    Message was edited by: Fco Javier

    Hello user i had the same problem, it is actually very easy to resolve the problem. The problem is that a problem with the installation occurs with iTunes and the file "iPodVoiceOver.dll" when installed in any way forgotten. To do this you must restore the file ( "iPodVoiceOver.dll"), download and add to the program folder of iTunes: - "+C: / program / iTunes+" -. Here's the download link for the missing file. Here you can download the missing file.
    iPodVoiceOver.dll : http://ul.to/8qqbhx
    I hope it has solved your problem. With friendly greetings James I.

  • Voice Over Help-How do I stop unwanted scrolling?

    Okay so I've just discovered the voice over feature a few days ago and I've already learned the controls and have been using it for reading fanfiction on Safari because I'm too lazy to read it myself. My problem is that everytime I lock my screen or my battery runs low and it gives me a warning, **** even if I go to another tab or try to have a word defined for me, after I'm done the screen will annoyingly scroll to the top of the **** page! Leaving me to do that annoying three finger scroll thing to get all the way back to where I was. I've checked my setting to see if there was a way to make it stop but I couldn't find anything. I already searched it on the internet but most-**** if not all of the questions regarding the voice over is how to turn it off.
    So can somebody please tell me there is a way to make it stop scrolling to top of the screen everytime I divert from the page I was originally on? I fear that there isn't and I'm going to but stuck with this annoying feature forever. Seriously why would the programmers program for that to happen? It has no usefulness that I can think of, if I wanted to scroll to the top of the page I would do so by using the two finger flick up.

    Well that's good enough for me, I'm not as agitated as I was before about it. I actually found a way to stop it from scrolling up by quickly tapping the screen before it's to late. It's worked for everything except when I go to a new page and come back. I assume voice over was meant for a blind person and not a lazy person like me.
    Thanks for taking the time to answer my question.

  • Problem in adding voice over presentation

    Ok so I want to do a voice over narration on my keynote presentation
    I go through the steps of adding audio to my presentation, on the recording screen
    the red button is not blinking and my voice is not recording onto the presentation can anyone help pls
    Ogay

    This is my recommendation.
    Step 1) Create your Keynote presentation.
    Step 2) Record your speaking part (separately) with an audio recording program.
    I recommend Audacity. It's a great free application. You can download Audacity from www.sorceforge.com among other places. You'll also want to get the Audacity LIB file that is needed to export your audio recording to .mp3.
    3) From the Keynote Inspector, under the Document tab, go to the audio section and add your new voice recording file to the Soundtrack.
    4) From Keynote, go to File, Record Slideshow.
    While the audio plays, click through your slides. This is getting the slide change time down.
    5) From Keynote, go to File, Export. Make sure to have the following settings:
    Playback Uses: Recorded Timing
    Include audio (sound files, movie audio): NOT SELECTED
    Include the slideshow soundtrack: NOT SELECTED
    Include the slideshow recording: SELECTED!!!
    Click next and your Keynote presentation should export to a .mov file (keep in mind, this .mov file has no audio. we'll take care of that in the last steps).
    6)Open the new .mov Keynote presentation in Quicktime Pro.
    7) Open the original .mp3 sound file in Quicktime Pro.
    8) Select All of the .mp3 file and then click CTRL + C to copy it.
    9) Go back to the .mov Keynote file and Select All. Then go up to Edit > Add to Movie.
    This adds your sound and movie file together.
    10) Finally click on File > Save As. Select, Save As A Self-Contained Movie and you're done.
    I Hope This Helps!

  • Voice over Recording

    I want to record voice-overs (VO) in soundbooth. I have watched the Prem Pro and Soundbooth tutorial at Lyndia .com. I can successfully record a VO recording, but nowhere in the tutorial do they tell you how to import the prem pr timeline. All tutorials already had timelines imported. I have an edited timeline that I want to import into soundbooth, so I can watch the timeline while I record my VO. Do I have to somehow convert the timeline to a different format than the timeline currently is? My sndbth workspace is set up to show the video window. How do I import the timeline or can I record VO directly to the PremPro timeline? Thank you for any help, as I am relatively new to these programs. I have version CS4. Jean Matusik

    Thanks for the info Jarrod. I successfully recorded a VO in PP CS4 a couple of days ago. Then, I processed the VO file in the timeline. Thanks though. Jean Matusik

  • Voice over comes out very fast

    I have CS5.5 and everything works smoothly except for voice overs. when I record a voice over  (audio track 2) the level indicators don't show anything but the voice over is recorded. However when played back it is running at something around Alvin & the Chipmunks speed. I usually get it to slow down and at that point the level indicators work but I have no idea what I have done actually fixes it. I am using the same microphone and sounds system that worked fine in CS5 and works fine in here when I get the playback slowed down. If I restart CS5.5 and go back to the project I worked on earlier the old voice overs play back fine but the new recording are fast again, until I click enough stuff and it slows down for some reason!
    What could I be doing wrong? I can't find anything obvious in the settings or preferences.

    Well, with VO work, the trick is to get someone with a good baritone voice, and have them not speak too quickly...
    OK, let's actually look at the problem. Having material at a vastly different Sample-Rate can cause problems, but you should not have this happening, as you are recording to a Project/Sequence that is set up properly. Scratch one thought.
    With AV work, having a really slow HDD can cause issues and those are often first seen in Audio. You are using the same gear, and sometimes it works, while other times it does not. Scratch the second thought.
    Now, you probably need to slow down, as you "click through things," and chart exactly what you are clicking on, and what finally works. You are doing something that fixes the situation, but you, and we, do not know what that is. You need to find out what you are changing, that does make it work. Then, perhaps you can make that change going in, and get things to behave properly. Only you can do that, as we'd just be guessing, and probably run you in too many circles.
    With Audio, there are also a ton of settings for playback, for hardware, or recording, and then for playback, many more at the OS and hardware levels. This is but a guess, but I'd say that there is some setting that differs in your PrPro CS5.5 installation/setup, that was correct in your CS5. I would pour over ALL Audio, Audio Hardware, and then Project/Sequence settings, looking for anything that might be different.
    What often happens, when one upgrades, is that when they installed and set up their original program, they step thorugh all the settings in Preferences and elsewhere, and get things tuned just right. Along comes an upgrade, and they now install it, assuming that everything will work, just as with the previous version, but now, "right out of the box." If the installation defaults do work 100%, then all is well, but if the user had made custom choices in Preferences, or elsewhere, then the defaults do not cut it.
    It appears that in your process of solving this problem, you ARE making a change in settings along the way, and that might well be the FIX that you need.
    Good luck,
    Hunt

  • What microphone for voice over?

    I am having a wonderful time with iMovie. I think I have figured out how to upload to YouTube, but it requires that I use Quick Time to do so. I would much prefer to upload directly from iMovie, but I think that may take a while to master. What I am trying to do with the movie that I have uploaded to YouTube is to do a voice over the sound track that was recorded when I did the clip. I would like to provide a description of what is being seen. I have tried two microphones that I know are good microphones, but they do not work with iMovie. The mics are Labtec AM22 microphones with 600 ohms impedance. Is there a specific microphone I need to use to do the voiceover in the iMovie program?
    Thank you.

    Just to let you know, I have purchased the Blue "Snowball" usb mic, and it has solved my problems. Not inexpensively, but it works great!

Maybe you are looking for

  • I changed a setting and now my nano only plays one song at a time over and over again.  What and Where to I need to change

    I must have changed a setting because the nano will only play one song and then repeat the one song.  How do I change it back so it will play all the songs on the list?

  • Supplier Registration Process

    Hi, I am trying to configure Supplier Registration and preselection process in EBP. 1. Supplier is filling Registration form and sending the same. 2. This data is appearing in preselect supplier screen with option to accept and reject or set to NEW.

  • Re: (forte-users) How do you change the font color onwindow.StatusText

    Hi Richard, In the init method insert the line <_StatusLine>.PenColor = C_BLUE ; This sets the pen color for the widget. StatusText is an attribute on the Window class that holds the value of the text. This value is then displayed in the specified da

  • Drop down in the selection for the field from the table

    Hi. i want to put the drop down for the field from the table fo which i dont know the number of entries for the field zregion1 of the table zbwcntry. please tell me how to use the function module and what could be the line of codes. the drop down is

  • My next laptop...

    Hi guys (and girls), I'm starting college soon in multimedia and I need a computer for homeworks. At school, we'll use both Windows PCs and Mac (not sure yet about which models). So I taught I'd be better buying a Mac so I can run both OS X and Windo