Help: sound difficulties with Class AudioClip
I'm still a beginner in java, but I know the basics. Still, forgive me for any misuse of terminology. In order to learn more in a fun way, I'm currently creating a crude game. In this game, there needs to be several sound clips playing simultaneously-
as in this case, background music and a sound each time a button is clicked in the GUI. However, when 3 or more sounds are initiated, the sound clips halt thus easily ceasing the background music. Here is the code I use for each sound file:
AudioClip song = Applet.newAudioClip(this.getClass().getResource("yayforsongs.wav"));
song.loop();
The other sounds are initiated identically in the actionPerformed method. I suppose it just can't handle too many sound files in action at the same time. But if you can think of an alternative or see something I'm doing wrong, please let me know! Thank you very much.
-Ryan
Thanks for the replies.
I can still play sounds outside of Java, and was even able to load one of the sound files I was trying to play in Media Player and that worked. I don't get any errors, and it even claims to be loading the sound properly... the String conversion of the AudioClip looks exactly the same when the sound is and isn't working.
The machine is a compaq using an internal speaker, so that shouldn't be a problem.
Similar Messages
-
I am new to JAVA and I am trying to open a CLASS file up with the studio, but its not able to read it. I am not familiar with Java all that well. Dreamweaver reads the PHP file better than the studio 11.
Any takers for why this is??
Lost and well get more lostOpps, I didn't use the proper tags on my last post. Forgive me.
<HTML>
<HEAD>
<TITLE>Java Connection to The Dating Game</TITLE>
</HEAD>
<BODY>
<P>
<A HREF=http://www.joot.com>Powered by JOOT!</A>
</P>
<HR>
<!-- This configures and launches the Terminal Emulator
The 5's must be at least 5. There is a glitch in some browsers that
causes them to crash if the applet's width and height are smaller than
5 pixels. -->
<APPLET CODE=Telnet.class WIDTH=5 HEIGHT=5>
<!-- When running the Terminal Emulator as an applet, and without
using the Proxy Server software, the value of the host you
place here must be the same as the server name shown in the
URL to download the applet. That is, if the URL for this
page was "http://www.suprachat.com/~palace", then you would
replace "web.server.com" with "www.suprachat.com".
If you are using this applet to connect up to a Unix shell,
then the same steps as above applies, plus you will need to
change 5000 to 23.
If you are using this software as an application, then the
contents of this file will be ignored. -->
<PARAM NAME="HOST" VALUE="trogdor.talker.com">
<PARAM NAME="PORT" VALUE="5959">
<!-- DEFAULT APPLET CONFIGURATION OPTIONS -->
<!-- Does the user type in the main screen, or in a special place
that doesn't interfere with the text displayed on the screen?
This option is best left ON for chat systems, but OFF if used
for shell access. -->
<PARAM NAME="TypingBar" VALUE="on">
<!-- What font size should the applet come up in? -->
<PARAM NAME="FontSize" VALUE="12">
<!-- Timing, in milliseconds, that the cursor uses for blinking.
These options are currently ignored. -->
<PARAM NAME="BlinkingCursor" VALUE="off">
<PARAM NAME="BlinkOnTime" VALUE="500">
<PARAM NAME="BlinkOffTime" VALUE="250">
<!-- For any parameter involving colour, the possible choices are:
Black, Green, Yellow, Red, Blue, Magenta, Cyan, White, Lightgray,
Lightgrey, Dark Green, Dark Yellow, Dark Red, Dark Blue,
Dark Magenta, Dark Cyan, Dark Gray, and Dark Grey.
Caveat: The spelling of Colour in all the PARAM tags is British.
"CursorColor" would be ignored, for example. Don't change the
spelling, and no problems will ensue. -->
<!-- Different types of cursor shapes:
block a cursor filling up an entire character width
underscore a cursor that sits below the characters
hollow a block cursor that isn't filled
vbar a vertical line
This option is currently ignored (only block cursor). -->
<PARAM NAME="CursorType" VALUE="hollow">
<!-- What's the default cursor colour? -->
<PARAM NAME="CursorColour" VALUE="Black">
<!-- Colour of the applet's background. If you change the background
colour of this page (BODY BGCOLOR tag), you may wish to change
the colour here to match. -->
<PARAM NAME="AppletColour" VALUE="Black">
<!-- Default foreground and background colours for the text. -->
<PARAM NAME="ForegroundColour" VALUE="Lightgrey">
<PARAM NAME="BackgroundColour" VALUE="Black">
<!-- Some systems know the user has pressed Enter when they get a
carriage return followed by a line feed. If things don't
happen when you press enter, change the "on" to "off", and
the emulator will send a CR/LF pair when enter is pressed,
instead of just sending a line feed. -->
<PARAM NAME="EnterSendsCRLF" VALUE="on">
<!-- Some systems send out a line feed to drop the cursor to the next
line, but don't send a carriage return to tell the cursor to
move to the beginning of the next line!
This causes the screen
to look very jagged, and difficult to read.
For example, the
screen may have text that appears like this.
If this happening,
then try setting this option to "on".
Or else people will
complain they can't read a thing! -->
<PARAM NAME="LFtoCRLF" VALUE="off">
<!-- If set to "off", the screen will flash white instead of making
a sound. If set to "on", the program will attempt to make the
computer beep. -->
<PARAM NAME="Beep" VALUE="on">
<!-- Does the window get closed when the user disconnects from the
site? If set to "on", the window will close. If set to "off",
the window will remain open (allowing users to reconnect). -->
<PARAM NAME="DisconnectCloses" VALUE="on">
<!-- Default web page the browser will show after the applet has
loaded. Comment this line out if no URL should be shown.
<PARAM NAME="SHOW_URL" VALUE="http://www.joot.com/download/emulator.html"> -->
<!-- Message displayed if the browser cannot run Java applets. -->
You need a <A HREF=http://www.netscape.com/>Java-enabled Web Browser</A>
in order to connect.
</APPLET>
</BODY>
</HTML>I hope that this is better for everyones eyes. Thanks for the advice and have a wonderful evening. -
Plz help me out with class loader problem
hai forum members,
I have a code which loads class files from local disk.
It works fine with some classes ,
But i get this exception when i am selecting certain other class files
I am using jdeveloper.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Filter (wrong name: project1/Filter)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.jutframe.JavaUnitTester.selectClass_actionPerformed(JavaUnitTester.java:449)
at com.jutframe.JavaUnitTester$7.actionPerformed(JavaUnitTester.java:338)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
JFileChooser jfilechooser=new JFileChooser();
Filterclass filter=new Filterclass();
//Set selection mode for file chooser
jfilechooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
//set file filter
jfilechooser.setFileFilter(filter);
int returnVal = jfilechooser.showOpenDialog(this);
if(returnVal == JFileChooser.APPROVE_OPTION)
try
String str = jfilechooser.getSelectedFile().getName();
String parent=jfilechooser.getSelectedFile().getParent();
// Create a File object on the root of the directory containing the class file
File file = new File(parent);
// Convert File to a URL
URL url = file.toURL();
URL[] urls = new URL[]{url};
// Create a new class loader with the directory
ClassLoader cl = new URLClassLoader(urls);
StringTokenizer st = new StringTokenizer(str,".");
String s = st.nextToken ();
Class c = cl.loadClass(s); //ERROR IS SHOWN IN THIS PARTICULAR LINE
Object instance=c.newInstance();
--------------------------------------------please help me trace my mistake.
thank you all.i think the problem that i have set a particular class path for my class files and my application loads files from that alone.
So plz tell me if theres any way to access the class path of a particular file dynamically?
regards -
Sound difficulties with MacBook Air running 10.9
I have a MacBook Air running 10.9 OS X Mavericks, everything was going fine after the update. Except now after my MacBook goes to sleep for a couple of minutes the next time it is turned on sound in both the built-in speakers and headphones doesn't work. It only comes back on if I reboot my MacBook, and then works fine until I accidently let it go back to sleep and have to do it over all again. Do you know of anything that would cause this? Or how I can fix it?
Plug in the headphone and remove it
1. Reset PRAM. http://support.apple.com/kb/PH4405
2. Reset SMC. http://support.apple.com/kb/HT3964
Choose the method for:
"Resetting SMC on portables with a battery you should not remove on your own".
Remove the logitech mouse receiver if you have one. -
Help - Difficulties with transate()
Hi, I am having some weird difficulties with the translate method. I am trying to reposition one of layers by using X and Y values from a CSV file. I tried to access the variables various ways. One was using part[5], (with 'part' as the variable'). Then tried setting variables for each value (as shown below). The dubber doesn't report any errors. The weird thing about it is that the code is supposedly executed, but the translate function is somehow 'ignored'. When I stop the script, I can see that it exists in the history panel. I get no errors during run time either. Can someone please help. I have no idea what is going on with this strange problem.
Also: I am working two documents. In my script I have it open an image that has a dpi of 266. The script duplicates the single layer of that file into a 72 dpi document and repositions the layer according to the x and y values defined in my CSV file. I tried setting both to 72 dpi, however nothing different happens. The only time something changes is if I put a constant number for x and y. By doing that, it doesn't even move to the spot it is suppose to. It repositions, but it is placed so far off the canvas.
//Duplicate unprocessed mugshot in its proper layer level, all-in-one step
app.documents[2].layers[0].duplicate(documents[1].layerSets[0].layerSets[part[3]].layerSet s[part[4]].artLayers[0], ElementPlacement.PLACEAFTER);
//Close unprocessed mugshot after duplicating
app.documents[2].close();
//Resize mugshot layer using a percentage
app.documents[1].layerSets[0].layerSets[part[3]].layerSets[part[4]].artLayers[1].resize(70 .7, 70.7, AnchorPosition.MIDDLECENTER);
//Reposition the image according to x and y values defined in CSV file
var x = part[5];
var y = part[6];
app.preferences.rulerUnits = Units.PIXELS;
app.documents[1].layerSets[0].layerSets[part[3]].layerSets[part[4]].artLayers[1].translate (x, y);
//Create mask clipping from mugshot layer
var desc3 = new ActionDescriptor();
var ref2 = new ActionReference();
ref2.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
desc3.putReference( charIDToTypeID('null'), ref2 );
executeAction( charIDToTypeID('GrpL'), desc3, DialogModes.NO );I've reworked your code a bit to use intermediate variables. This makes it
easier to read (for me, at least) and also perform better.
The translate() function is really a 'moveRelative' not a 'moveAbsolute'
function. The x and y parameters are deltas from the layers current location, so
that has to be taken into account as I've done below. BTW, I may have the terms
reversed where I compute x and y. I normally make an ActionManager-type call to
Transform to do the resize and move in one step.
-X
var doc1 = app.documents[1]
var doc2 = app.documents[2];
var ls0 = doc1.layerSets[0];
var ls3 = ls0.layerSets[part[3]];
var ls4 = ls3.layerSets[part[4]];
//Duplicate unprocessed mugshot in its proper layer level, all-in-one step
doc2.layers[0].duplicate(ls4.artLayers[0], ElementPlacement.PLACEAFTER);
//Close unprocessed mugshot after duplicating
doc2.close();
var layer = ls4.artLayers[1];
//Resize mugshot layer using a percentage
layer.resize(70.7, 70.7, AnchorPosition.MIDDLECENTER);
var bnds = layer.bounds;
//Reposition the image according to x and y values defined in CSV file
var x = part[5] - bnds[0].value;
var y = part[6] - bnds[1].value;
app.preferences.rulerUnits = Units.PIXELS;
layer.translate (x, y);
//Create mask clipping from mugshot layer
var desc3 = new ActionDescriptor();
var ref2 = new ActionReference();
ref2.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'),
charIDToTypeID('Trgt') );
desc3.putReference( charIDToTypeID('null'), ref2 );
executeAction( charIDToTypeID('GrpL'), desc3, DialogModes.NO ); -
hi, i'm having great difficulties with my safari on my laptop it will not open at all and has been doing this for quite a long time now, can anybody help??!!!
What laptop? What operating system? What version of Safari?
-
Have sound only with headphones after apple latest iOS install, any help out there?
http://support.apple.com/kb/TS2802
-
My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?
Hi Venkata from NZ,
If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article -
If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
Thanks for using Apple Support Communities.
Best,
Brett L -
No TV sound - Problem with Pulseaudio and Gnome
Hi Community!
Since January 2013 I got big problems with the sound of my tvcard. The card is a Sundtek Media TV Pro. But after all the problems have nothing to to with the card itself!
So far I found out, that the problem is with Pulseaudio.
- Sound works under Windows on same PC.
- Sound don't work under Arch - not with tvtime, not with vlc, etc.
- Problem occurs even on a new installed system with the Arch-2013-02-01 install medium.
cat /etc/mediasrv.log
[1033] Pulseaudio connect reported an error (6 - Connection refused)
[1033] select error() in audio processor (can be caused because of pulseaudio) (Interrupted system call)
After setting up a new Arch installation with just xorg-server, gnome, tvtime and the sundtek driver from AUR I run journalctl -b:
Feb 10 16:25:15 hightower pulseaudio[636]: [pulseaudio] pid.c:
Daemon already running.
With sudo journalctl | grep 'Feb 10 16:2' I get the following output:
Feb 10 16:25:01 hightower rtkit-daemon[489]: Successfully made thread 488 of process 488 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
Feb 10 16:25:14 hightower rtkit-daemon[489]: Successfully made thread 606 of process 606 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Feb 10 16:25:15 hightower rtkit-daemon[489]: Successfully made thread 636 of process 636 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Feb 10 16:25:15 hightower pulseaudio[636]: [pulseaudio] pid.c: Daemon already running.
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument:""): initialization failed.
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] socket-server.c: bind(): Die Adresse wird bereits verwendet
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed.
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] main.c: Module load failed.
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] main.c: Module load failed.
Feb 10 16:28:55 hightower pulseaudio[1000]: [pulseaudio] main.c: Konnte Daemon nicht initialisieren.
Feb 10 16:28:55 hightower pulseaudio[997]: [pulseaudio] main.c: Start des Daemons fehlgeschlagen.
So, if I understand right, pulseaudio is alreade started by the rtkit-daemon and gnome couldn't start it again.
At https://bugs.archlinux.org/task/30926 I found a hint concerning /etc/xdg/autostart/pulseaudio.desktop and /etc/xdg/autostart/pulseaudio-kde.desktop.
After removing them from /etc/xdg/autostart and running journalctl -b there are no more errors.
With sudo journalctl | grep 'pulseaudio' I get:
sudo journalctl | grep 'Feb 10 17:4' | grep 'pulse*'
Feb 10 17:41:42 hightower rtkit-daemon[485]: Successfully made thread 484 of process 484 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
Feb 10 17:41:55 hightower rtkit-daemon[485]: Successfully made thread 625 of process 625 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
In my opinion all looks ok! I also checked the channels with the alsamixer and it looks good, too.
So I ran vlc v4l2://:dev=/dev/video0:width=720:height=576:tuner-frequency=510750:adev=/dev/null:standard=255 - but still no sound.
With cat /var/log/mediasrv.log I checked the drivers logfile:
2013-02-10 17:48:55 [343] SETTING DVB-C
2013-02-10 17:48:55 [343] switching to analog TV
2013-02-10 17:48:56 [343] SETTING PAL/SECAM
2013-02-10 17:48:58 [343] invalid audio input selected: 2
2013-02-10 17:48:58 [343] Setting frequency: 510750000
2013-02-10 17:48:58 [343] Using settings for Europe
2013-02-10 17:48:58 [343] Set Pixelformat: 0 YUV 4:2:2 (YUYV)
2013-02-10 17:48:58 [1033] Starting audio processor (PID 1033)
2013-02-10 17:48:58 [1033] initializing audio in audio processor
2013-02-10 17:48:58 [1033] loaded local pulseaudio driver
2013-02-10 17:48:58 [1033] select error() in audio processor (can be caused because of pulseaudio) (Interrupted system call)
2013-02-10 17:48:59 [1033] Pulseaudio connect reported an error (6 - Connection refused)
2013-02-10 17:48:59 [1033] select error() in audio processor (can be caused because of pulseaudio) (Interrupted system call)
2013-02-10 17:48:59 [1033] Pulseaudio connect reported an error (6 - Connection refused)
I started tvtime again. This time I ran rm -rf ~/.config/pulse/ and killall pulseaudio to kill the Pulseaudio server. I instantly got a loud noise out of my speakers.
I closed tvtime and re-opened it. And there it was: TV SOUND OUT OF MY SPEAKERS!
But now, when I run pavucontrol I get:
Connection to PulseAudio failed. Automatic retry in 5s.
In this cas this is likely because PULSE_SERVER in the Environment/X11 root Windows Properties or default-server in client.conf is misconfigured.
This situation can also arrise when PulseAudio crashed and left stale details in the X11 Root Windows.
If this is the case, then PuseAudio should autospawn again, or if this is not configured you sould run start-pulseaudio-x11 manually.
I got the information from Sundtek, that Pulseaudio should not be started as system service. Instead, every user should have an own Pulseaudio daemon and that PA was concepted this way. But they don't know how it is implemented in ArchLinux.
I also don't know it exactly. So the question to all you ArchLinu pro's:
How is PA implemented in Arch? And how can I sustainable solve my problem?
Thank you for your time and help!
DuragThere is just one more thing I found out.
After logging into Gnome and running ps aux | grep pulse I get:
rebel 727 0.7 0.2 444316 10288 ? S<l 03:02 0:00 /usr/bin/pulseaudio --start --log-target=syslog
rebel 731 0.0 0.0 71236 2652 ? S 03:02 0:00 /usr/lib/pulse/gconf-helper
rebel 843 0.0 0.0 17396 1184 pts/0 D+ 03:03 0:00 grep pulse
To get the sound to work I run:
rm -rf .config/pulse/
killall pulseaudio
killall -9 pulseaudio
I again run ps aux | grep pulse
rebel 4016 4.2 0.2 510124 11528 ? Sl 03:06 0:02 /usr/bin/pulseaudio --start --log-target=syslog
rebel 4020 0.0 0.0 71368 2700 ? S 03:06 0:00 /usr/lib/pulse/gconf-helper
rebel 4046 0.0 0.0 19456 1216 pts/0 R+ 03:07 0:00 grep pulse
I can recognize that the STATs have changed. Maybe this can help to solve the problem? -
I am experiencing sound issues with my MacBook Pro. I am using a headset and when I am on a skype calsl I have a hard time hearing the other person, the sound is coming in and out and sounds digitized. This issue only started recently, the sound had been working fine for years before this issue.
I do not use Skype, but may be information from the below linked article helpful.
https://support.skype.com/en-us/faq/FA10992/Why-can-t-I-hear-the-other-person-in -Skype-for-Mac-OS-X
Best. -
Sound problems with vista 32 bit on xfi xtremegamer
hi im havin sound issues with my sound blaster xfi fatality xtremegamer on vista 32 bit. the sound will sound like a skippin cd or sound like it is stuterin for a few seconds than it will play fine than do it again later on. i was wounderin if its a driver issue with vista or my sound card has broke? i had it runnin on xp and had no problems. can anyone help me please as my card is only abot 8 months old so if it could be faltiy i am still covered by warrinty.
I don't know if it's the driver that's causing a problem or if it's one of your components that's causing a problem. All I know is that the X-Fi is working great on my system, both in XP Pro and Vista Business. I'm not 100% sure about this, but I think I installed the driver first and then the software from the leaked Vista Suite that I downloaded from a link in a post on this forum. Never had a problem with any of the previous drivers either, but on the other hand this system was built in november/december last year, so the hardware was fairly new at the time.
-
Help , sound blaster audigy ga
I have format my computer and lost my cd's and i have problem to find my true drivers
I connect the sound blaster with coxial cable to my souround syster 5. and even in dvd and in the surround mixer on test only the front speakrs are working...
please help me...That's normal for stereo material but you should be able to get all output in DVD. Ensure that SPDIF Passthrough or similar option is selected for the DVD playback software and also disable the sound card AC3 decoding. If you do not have the driver, then you can get the driver here. To configure your sound card, run ctpanel.exe. To find this file, I would suggest to search for it (Start - Search - For Files or Folders).
JasonMessage Edited by Jason-CL on 04-9-2005 08:09 AM -
I am having difficulties with distributing a PDF Form. Acrobat X pro
I am having difficulties with distributing a PDF Form. When I click the distribute button I choose the "Manually collect responses in my email inbox option" then press next, I select the "Save a local copy and manually send it later and then I specify it's location, then press next. I then press finish. Then a little black box pops up that says creating response file and nothing is happening. Can anyone help me?
[discussion moved to PDF Forms forum]
-
I've been stuck with this VI that's supposed let the user set the frecuency and volume of an audio file, and play it.
I managed to get the frecuency part working with Play Waveform, but that doesn't let the volume be modified (or the playback to be stopped before it finishes, as far as I know). So I tried writing it directly into the sound card with the other Sound VIs, but I've only managed distortion with continuous samples, or silence and crashes with finite ones, which are what I understand I should be using.
I've been trying to figure this out for hours, and I think most of my problems come from my lack of understanding of how the Sound VIs work, despite reading their help and support pages several times.
I've attached my latest VI. The playback doesn't work at all and it may crash your computer if it's anything like mine, but as long as you don't try to play anything it should be safe.
Attachments:
Frecuency and Volume modification.vi 48 KBHi. I'm sorry for the late reply.
In the end, I managed to get the VI working by mofifying the program entirely. I'm still no sure what kept causing the crashes, but I'll try to figure it out at a later time using your advice.
I'm very thankful for your reply, it made me realize there's a lot of tools in LabView that I've been ignoring because I never received proper instruction on the program. -
I want to use the sound card with LabView
Hi. Who can help me, I want to use the sound card with LabView, I have found the function but I can't use it. Thanks.
Christi,
In LabVIEW 6.1 I found some examples they use those sound VIs. They are located in \examples\sound folder. Those examples should give you a good overview how to use the VIs.
Hope this helps
Roland
Maybe you are looking for
-
ICloud does not update emails in Mail on my MacBook Pro unless Mail app is open
Hi, looking for some advice Up to a few days ago whenever I started up Mail in my MacBook Pro the e-mails I had received on my iPhone/iPad were pushed through and were visible as read. Only now unless I have the MacBook runnig with the Mail app open
-
How to get the pull path name from a file upload window
Hello everyone! I have encountered the following problem with the following JSP code: <form method="post" action="filename.jsp"> Upload JAVA program: <input type=file size=20 name="fname" accept="java"> <input type=submit value="go"> </form> <% Strin
-
Upgrade BusinessObjects XI R2 to BusinessObjects Eneterprise XI 3.1
I am trying to upgrade BusinessObjects Xi Release 2 to BusinessObjects Enterprise Xi 3.1 on solaris. Scenario is like i want to use same CMS database instance that i am using for BusinessObjects Release 2 as CMS database instance for BusinessObjects
-
How can I access JSP variables from a JavaScript function in a JSP page?
Respected sir How can I access JSP variables from a JavaScript function in a JSP page? Thanx
-
Problem with matchcode/selection screen
Hello, When i press the matchcode of a parameter of the selection screen it has to show the values depending of the values of other parameter: Ex: Parameter A: 2 Parameter B: press matchcode (values 5,6,7) Parameter A: 3 Parameter B: press matchcode