Hi Dw I want to record video with audio, the current program has two forms of which one form record external video and the other form record internal so I've reduced the size of an external video capture to lower right hand corner of my screen and set it to always be top because the internal video record is the one that record and save video to disk but now I want to include audio. Any idea of how I can include audio to a video? I do have another program that can record external audio from built-in mic and …

Member Avatar
Member Avatar
+0 forum 4

Hello All. I am having 2 problems here with my code. I will start off with the video code first. The video code should capture 20 seconds of the screen at 50fps, however, when I generate it, it generates a 1 minute 7 second video, and I am not sure why. The math adds up. I have tried lowering the FPS, but the time is still longer than 20 seconds. The is as follows: import java.awt.*; import java.awt.image.BufferedImage; import java.util.concurrent.TimeUnit; import com.xuggle.mediatool.IMediaWriter; import com.xuggle.mediatool.ToolFactory; import com.xuggle.xuggler.ICodec; public class TestScreenRecord { private static final double FRAME_RATE = 50; private static final …

Member Avatar
Member Avatar
+0 forum 6

It seems to me that the Audio object can not be easily played inside a JavaScript callback when running on a mobile device. The code below shows an onload function which, on a PC, plays the sound when the web page is loaded, but on Android phones plays nothing. My uninformed guess is that the callback returns before the Audio object starts to play, and thus, for some deep reason, dies. Is there any way over this? In the full version the JavaScript would read the sound to play from the URL. <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Play …

Member Avatar
Member Avatar
+0 forum 1

This simple code changes sounds in firefox, IE, safari, and chrome but will not switch in Opera. Any thoughts? <div id="playlist"style="position: absolute; z-index:10001; top: 0px; width: 100%; height: 100%;"> <button id="one" onclick="song1();">Mello</button> <button id="two" onclick="song2();">Its Time</button> <button id="three" onclick="song3();">Its on now</button> <div id="hideme" style="width: 392px"> <audio id ="audio" controls loop> <source id="oggSource" src="sounds/Starset.ogg" type="audio/ogg"> <source id="mp3Source" src="sounds/Starset.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> </div> </div>

Member Avatar
Member Avatar
+0 forum 1

I recently re-installed windows 7 onto my pc and was redownloading and installing all my old programs when I noticed I wasnt getting any sound from my headphones. I've looked at other forums and posts and tried them but no success. I was able to get sound to play though. I tested this by recording a few seconds then sending it to my older pc to listen and I did hear what I should have if audio was playing. I use windows 7 and via hd audio deck. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

I have a problem with this... import javax.swing.*; import sun.audio.*; import java.awt.event.*; import java.io.*; public class PikaPlatformer { //----------------------------------------------------------------- // Creates and displays the application frame. //----------------------------------------------------------------- public static void main (String[] args) { JFrame frame = new JFrame ("Direction"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add (new PikaPlatformerPanel()); frame.pack(); frame.setVisible(true); } } How would I insert sound into this I just want music to play in my game. Any suggestions?( this is just the jFrame)

Member Avatar
Member Avatar
+0 forum 16

I'm probably doing this wrong, because there has to be a way to do this. Here is my current code: import javax.sound.sampled.*; public class soundHandler{ soundHandler() { } public void newSound(String sound) { new soundThread(sound).start(); } } class soundThread extends Thread { String soundName; Clip clip = null; soundThread(String i_soundName) { soundName = i_soundName; } public void run() { try{ try{ try{ AudioInputStream stream = AudioSystem.getAudioInputStream(ClassLoader.getSystemClassLoader().getResource(soundName)); DataLine.Info info = new DataLine.Info(Clip.class, stream.getFormat()); clip = (Clip)AudioSystem.getLine(info); clip.open(stream); }catch(Exception e){System.out.println("err= soundThread_errorLoadingSound ("+soundName+")");} clip.start(); }catch(Exception e){System.out.println("err = soundThread_errorPlayingSound ("+soundName+")");} Thread.sleep(150); //wait for it to finish, then close while(clip.isActive()){} clip.close(); }catch(Exception e){System.out.println("err= soundThread_error");e.printStackTrace();return;} } …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, I progress step by step my problem, one step is passed -now I can send string datas -text messages- here another step is I want to record some audio sounds by using microphone in first android emulator assume phone1 and send to second android emulator-phone2-. I found whole class about capturing and recording into audio file so I only ask to you that how I can send these recorded sound file -example and assume that I have a file named myFirst.wav in sdcard of first android emulator 5554 **but not in android emulator 5556** what classes in java …

Member Avatar
Member Avatar
+0 forum 6

Hey there, I have invisible internet windows and audio ads going on in the background of my task manager in the processes tab, I did do some of my own virus scans and did remove some viruses by I still have it, can I get some help here please. Malwarebytes Anti-Malware 1.62.0.1300 www.malwarebytes.org Database version: v2012.07.21.05 Windows XP Service Pack 3 x86 NTFS Internet Explorer 8.0.6001.18702 Administrator :: HP27611278601 [administrator] 7/21/2012 8:33:30 PM mbam-log-2012-07-21 (20-33-30).txt Scan type: Full scan (C:\|) Scan options enabled: Memory | Startup | Registry | File System | Heuristics/Extra | Heuristics/Shuriken | PUP | PUM Scan …

Member Avatar
Member Avatar
+0 forum 5

I'm in serious need of help getting a sound driver installed on my mother-in-law's computer! I had to reinstall Windows XP and after I did, the sound did not work. I have downloaded Intel Chipset Device Software and installed it and it says "Setup is complete." Then nothing happens and I can't find the software anywhere on the computer. I have rebooted the computer a couple of times and still no audio device. I need the Intel Chipset 910/915 family but when I try to find the driver to download I either hit deadends or somebody wants to sell me …

Member Avatar
Member Avatar
+0 forum 11

how can I get audio(music) automatically playing on my web site when you open it.

Member Avatar
Member Avatar
+0 forum 2

OK so I am not getting any sound on my computer right now - it is a Dell Latitude D630 and running XP service pack 3 (I believe). Point is, right now my computer does not recognize that I have any sound devices whatsoever. I had been messing with asio4all software and may have changed some settings that have now messed up my regular sound - I tried uninstalling the asio4all to hopefully force it to go back to normal, but of course it did not. I also tried re-downloading the driver, but it just told me that the hardware …

Member Avatar
+0 forum 0

Hello, kind citizens of DaniWeb! I beg your assistance in the solution of my problem! I was trying to create a simple audio player using Tkinter and pygame, pygame being the best library that included audio playback I could find (by the way, DO NOT USE SNACK!!). Anyway, I was trying to install pygame when I recieved this: [CODE] >>> import pygame Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import pygame File "C:\Python32\lib\pygame\__init__.py", line 95, in <module> from pygame.base import * ImportError: DLL load failed: %1 is not a valid Win32 application. [/CODE] I've looked around …

Member Avatar
Member Avatar
+0 forum 2

I have had to format our computer (eMachines W6409) and reinstall Windows XP but I cannot find the correct audio driver. I have gone to the eMachines support website and used their program to detect the driver on the computer. I downloaded the one they said but it did not work. I've been to the Intel website and download one from there but it did not work either. I tried a couple of programs to scan the computer and find the correct driver but they seemed more scam than helpful. Does anyone know what the correct driver is and where …

Member Avatar
Member Avatar
+0 forum 1

hi friends.. i need to know that is there any method to allow someone to access a file just one time,and delete that file itself.I just wanted to send some audio file to my friend and doesn't want to keep evidence of it..Is there anyway.... thanx in advance.

Member Avatar
Member Avatar
+0 forum 11

Hello everyone! i need a bit of help... can you convert my picture drag and drop code so it drag and drops audio files? (.wav) My code: Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() InitializeComponent() End Sub Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub Private components As System.ComponentModel.IContainer Friend WithEvents pb As System.Windows.Forms.PictureBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Me.pb = New System.Windows.Forms.PictureBox Me.SuspendLayout() Me.pb.Dock = System.Windows.Forms.DockStyle.Fill Me.pb.Location = New System.Drawing.Point(0, 0) Me.pb.Name = …

Member Avatar
Member Avatar
+0 forum 3

Hello everyone, i need a bit of help. On a click of a button i want to pay an audio file.... here is my code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox2.Text = "1" Then TextBox2.BackColor = Color.LawnGreen C:\Users\Nick\Desktop\good_work.play now for some reason it says syntax error? help me!!!

Member Avatar
Member Avatar
+0 forum 4

Hi, I don't know if this is the right place to post this question but here is my problem, I would like to take an audio wave file and convert it to a data file, (.csv, .txt etc). I would like to do some signal analysis on the file but I need it in the form of raw numbers. Is there any way to accomplish this using software? Basically just a "software" A/D converter that decomposes the wave file into numeric data! Thanks, Sam

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm a newbie............ Sorry, if I violate any norms. Is it possible to copy any audio file or image file using C language? I think it is possible. If anyone knows it please guide me. If you know the code, that 'll be helpful.

Member Avatar
Member Avatar
+0 forum 9

Just because I was bored one day I looked on the net for an app that would let me use my RockBand ps3 drum kit on the PC. There was a fancy direct X app out that turned out to be very buggy, slow, and annoying to use. I set out to write my own and within 40 minutes I had a simple working system. But I ran into a problem with sound quality and speed. I need to be able to load the sound clips into memory, so not to read the files from the disk a million times. …

Member Avatar
Member Avatar
+0 forum 3

The End.