Stream sound without playing it outloud
Is there a way to stream music through FME without the sound being played through the streaming computer's speakers? I've got it set up with Window's Stereo Mix, so it does play sound, but in order for the sound to be played through the stream it has to be turned up on the computer I'm streaming from. Is there a way to get the sound turned off on my computer but still allow it to be heard through the stream?
If it helps, it's a laptop so I can't just turn the sound off. A low-tech solution might be to simply put a stereo jack that leads to nothing in the laptop but that seems crude...
The tick counter has a resolution of 1 ms. Resolution, accuracy, and the responsiveness of the OS are three different things. The issue is that OS latency can be 10s of milliseconds or occasionally longer. If the OS decides to index the hard drive between the time you read the tick count and send the start audio command, your tone could be quite late. Sending the TTL pulse is a third call to the OS. So you have two latency times for each trial. Unless you have a real-time operating system, this latency issue will introduce randomness into your data.
Try sending TTL pulses of 50 ms duration every 200 ms, software timed, for a few minutes and look at the variation in the edge timing. Then try it again with tones thrown into the mix and see if the variation changes.
That is where hardware timing and synchronization pays off.
Lynn
Similar Messages
-
Flash animation with stream sound not playing in mac
Dear all,
I have made a 5 min animation with stream sound. Its playing perfectly in PC. But in mac, its not playing. Stream sound starts from frame 60. So mac plays the swf plays till 60 frame, after that it pauses. I tried importing different sound format (wav, aif, mp3) and tried with all sound export setting but the problem remain same; its playing only till 60. When i removed the sound, it played till end. Even with event sound, it plays till end. But with stream sound, the problem. The problem is only in mac; in pc its perfect.
I am using VMware Mac OS x leopard in window xp for testing purpose. I tested it in laptop with mac; but the problem is same. What could be the solution?
Thanks in advance. Waiting for solution.
Bhushan Pradhan
spherenepal.comDear all, I solved the problem myself. The problem was with the sound driver of mac. After installing sound driver, the problem is gone. Bhushan
-
StopAllSounds vs. new Streaming Sound not playing
In my timeline, I'm using a stopAllSounds action (because the
user could be coming from anywhere in the movie and I need to stop
whatever narration might be playing), then, in the next frame, I'm
trying to stream a new sound. My problem is that the streaming
sound doesn't play. I've tried adding a few frames between the
stopAll Sounds action and the start of the streaming sound, but
that doesn't seem to be the problem. Any ideas would be greatly
appreciated.
- BillGI was about to try your suggestion, but after sending a few more test emails, I discovered that it does in fact play the sound sometimes. I sent about 20 test emails, and they were all received using the "idle" command, with about 75% of them playing the sound. There was a 5-10 second delay between the messages being received and the sound playing that I don't remember from Snow Leopard, but I'm not positive about that.
It shouldn't be the actual sound that is the issue, being that it is played sometimes, but I still don't know why it's not playing every time. I tried receiving messages with the app running in the background, with it minimized, and with it as the active window, but I couldn't find any specific instance that caused it to not play the sound.
I wasn't having this issue in Mail 4. It didn't start until I installed Lion, which I did a clean install of, if it matters.
I'm still open to thoughts on this, and thank you for your help. -
Streaming Sound File Playing Early
I'm creating a presentation in Flash v8. It's the very same
presentation I created in v5 last month but now I'm recreating it
from scratch in v8 and something's happening now that didn't happen
then.
It's a simple Flash document with multiple scenes and no
Actionscript. I'm starting a new .wav sound file (narration) at the
start of each scene. When I play each scene individually in the
Flash environment, the sound synchs fine with the events in the
presentation. But when I run the presentation as a .swf or .exe,
the sound file on scene 2 begins playing before scene 1 has
finished playing. The sound file from scene 3 begins playing before
scene 2 has finished, etc. This didn't happen in the same
presenation I created in v5. Is there something new that I haven't
figured out yet?Its doing this to me too....
Same thing - a series of scenes - each with sound streamed on
its own layer.
as soon as one sound ends, the next scene's sounds starts -
The sounds are synched correctly in edit mode - its just when
I play the SWFs.
I'm publishing a MENU movie as a projector - this menu calls
the other SWFs.
Dave -
Hp stream 13 buzzing sound when playing music and watching videos/movies.
I recently bought my HP Stream 13 and everything was fine. Suddenly, whenever I watch or listen to music online and offline, I get this buzzing sound from my speaker. Even through my headphones and when I connect to a TV Monitor through HDMI. It's really gettting annoying. Please help.
Hi @21coldones ,
Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP Stream 13 buzzing sound when playing music. Have you restarted the Notebook without the headphones and external HDMI removed?
Here is a link to resolve headphone and speaker issues in Windows 8. Using the Microsoft troubleshooting tool to be the most helpful.
Please make sure your updates have been done on the Notebook. In the device manager under sound right click and update the driver. Here is another step to try.
1. Right click the Speaker icon in the bottom right corner by your time.
2. Click Playback Devices.
3. Click Speakers/Headphones.
4. Click Properties.
5. Click the Advanced tab on the Properties window.
6. Change the Default Format drop-down to the highest quality.
7. Apply the properties.
8. Click OK to close the properties window.
9. Click OK to close the Playback Devices.
Here is a link to the HP Support Assistant if you need it. Just download and run the application and it will help with the software and drivers on your system at the time of purchase.
Hope this helps with the sound.
Thanks.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2) this happens with other music apps too. Please I need help!
You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
Try again to see if the problem persists. If it doesn't work, there isn;t much anyone here can do for you. It may be a physical problem with your speakers. -
Hi there,
I'm a new member in Java Developer forums, I hope that I'll be an effective member..
for now I need help with java sound , multimedia
I'm developing a program that part of it is to play array of sounds (Not JApplet) I tried to use the function AudioClip(getClass().getResources("soundName.wav"); but it works only with JApplet
I want to play the sound without JApplet
I found that there is a package called javax.swing.sound.*;
but syntax error occured in my program.. that this package does not exist..
Please help me..I am also having the same problem. I couldn't get sound to work with the applet based one. I have the below code, it compiles and when you run the program it runs the length of the audio file but there is no sound? Is there something missing?
import sun.audio.*; //import the sun.audio package
import java.io.*;
public class sound{
public static void main (String args[])
try
InputStream in = new FileInputStream("cows2.au");
AudioStream as = new AudioStream(in);
AudioPlayer.player.start(as);
AudioPlayer.player.stop(as);
catch (Exception e)
System.out.println("Failed");
} //end classMessage was edited by:
Lisa_g -
on my ipad 2 video streaming stops after a few seconds, only sound is playing .what could be the reason and how to solve this problem.
I have a feeling that it may have started after upgrading to ios6.Hi,
Is this failing with Error 20 ?
Sometimes in a the router or modem if you use Port Forwarding then you are your Buddy may be missing the Screen Sharing Port.
The Screen Sharing part uses a different port to the Audio port.
As the port for Audio (And therefore Video) are known and can be port Forwarded it is the random Screen Sharing port that can be the problem.
iChat 3 info http://support.apple.com/kb/HT1507 that includes Bonjour and Jabber info
iChat 4 info http://support.apple.com/kb/HT2282
If you are not using (or your Buddy) UPnP then I would change the method of opening the port to that.
6:14 PM Saturday; June 20, 2009 -
My iPhone wont play sound without headphones in
My iPhone wont play any sound without headphones in the volume
Buttons work but won't change sound my speaker won't play any sound at alli had the same problem and used a very small screwdriver, inserted carefully into the heaphone socket, to very gently push the microswitch at the bottom of the socket. i did this a couple of times and suddenly the sound works again.
i think the button down there can get stuck and cause this problem, or maybe it was just a fluke... try it anyway- it worked for me! -
Event when streaming sound is ready to play
Hello,
I'd like to know, when a streaming sound has preloaded enough
and would
start to play.
Since I have also to preload some images and xml files, I
load a
streaming sound, stop it immediately and when everything has
enough
buffer, I want to start them all manually...
How can I do this?
jospHi josp,
I have the same question and I'm wondering--did you ever
figure it out?
Thanks,
mew -
Why do i hear no sound when playing songs with headphones and without?
all of a sudden i can't hear any song i play, using the headphones and not using the headphones. I've done the hard reboot three times, turned on and off my itunes icloud, then back on. Still no sound when playing music.
Any solution?i wish it were that simple (mute button)
Everyone I work with is having the same problem, presently Apple's Music Match is not working.
I certainly hope they will be able to fix this as soon as possible. -
Problem streaming sound only to Apple TV
Apple TV with the latest software of of Nov 23
Macbook Pro with Retina Display running 10.10.1
- I can see my itunes lib through home sharing and is able to play movies, see photos without any issue.
- I can mirror my desktop using airplay and play movies and music without any issues.
The issue comes when I try to stream sound only on to Apple TV. I have the ATV connected to my audio player and stream Spotify. The sound is choppy and broken. Going against my instinct I purchased a new router (Asus RT-AC68U) which obviously was not the issue since airplay was working on when I mirror my desktop.
After a couple of hours with apple support, I saw on the forum that some people has issues with bluetooth. I TRIED TURNING OFF BLUETOOTH AND IT FIXED THE SOUND STREAMING TO ATV. I have an apple blue tooth mouse.
I tried both shortcuts, from preferences - sound - output and Apple TV and using Option + Sound Icon to select Apple TV instead of internal speakers. Both have the same problem.
I hope its a software issue rather than a hardware one and it can be updated soon.A Follow up on this issue , bluetooth also stops AirPlay from working reliably.
-
is it possible to stream mp3 without using FMS? how would I
do it? All the examples I could find and the examples in the book I
bought show streaming done via rtmp and a flash server. My website
is located on a shared webserver, so I'm not sure I can install
FMS.
I'm trying to write an embedded mp3 player that can play a
song. when a link is clicked the link should pass the song name so
the player will play the correct song. for example: when
http://mysite.com/player.php?value=songname.mp3
is clicked, the player will play songname.mp3
thanks.I'm surprised that no one has answered this. Is this question
too simple or something?
Anyway, I've been trying to load an mp3 at runtime but I'm
getting some errors:
Error: Could not resolve <mx:Sound> to a component
implementation.
<mx:Sound id="bgm" source="01.mp3"/>
how can i implement loading the sound file?
here's what i've currently put together... I know there's a
lot of mistakes, but that's why it's not compiling right? :-) hope
someone can give me a hand with this.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml">
<mx:Style>
Button {
color: blue;
.play {
color: black;
upSkin: Embed("playup.png");
overSkin: Embed("playover.png");
downSkin: Embed("playdown.png");
.stop {
color: red;
upSkin: Embed("stopup.png");
overSkin: Embed("stopover.png");
downSkin: Embed("stopdown.png");
</mx:Style>
<mx:Panel id="panel" width="450" height="64">
<mx:Button styleName="play" label="Play"
click="bgm.play()"/>
<mx:Button styleName="pause" label="Pause"
click="bgm.pause()"/>
<mx:Button styleName="stop" label="Stop"
click="bgm.stop()"/>
</mx:Panel>
</mx:Application> -
Hi.
Now, I made a music player for a website. When I tested
(previewed) it in flash it did not play with sound. However,
through the exterior swf player it played with sound as designed.
So I uploaded it onto the server, and as you might guess it didn't
work. It isn't part of the main .swf, the music player is loaded on
a level above it. The weird thing is when I type in the .swf name
into the browser, loading it by itself, the sound works. Can anyone
help?Based on a quick look at your site, I would say the problem
has to do with the scope of your sound objects, but it's hard to
say without looking at your code... Some quick tips:
1. Be conscious of where you are defining your sound objects:
var song1_sound = new Sound(target);
target needs to be a movie clip (it can refer to the clip
where your sound is defined by using the this keyword). Where the
sound object is defined and target both need to be kept track of
2. When you call the sound object, make sure you are
referencing the correct scope. Say you defined your sound in the
root movie clip but called it from a loaded movie clip. you would
need to refer to it as _parent.song1_sound (if the loaded clip was
a child of the root clip) or _root.song1_sound (make sure _lockroot
property of loaded clip is undefined or false). Simply calling
song1_sound will not work in this example.
3. Make sure enough of your sound has loaded before the
player is activated, otherwise, you may hear nothing. Use the
onLoad handler:
// define sound
var song1_sound = new Sound(this);
// define onLoad handler
song1_sound.onLoad = function(success) {
if (success) {
// activate player
// load sound; note that the false parameter means the sound
is an event sound, not a streaming sound
song1_sound.loadSound("song1.mp3", false);
Good luck,
Albee -
I recently dropped my ipod 4G into water. Whenever i try to play music outloud or hooked up to headphones, it won't play. How do i fix it?
What do y mean by still works? No sound from speaker or headphones ro all apps? If try then it really does not work.
Apple will exchange your iPod for a refurbished one for $199 for 64 GB 4G and $99 for the other 4Gs. They do not fix yours.
Apple - iPod Repair price
Maybe you are looking for
-
Show font command crashes application
I recently posted a complaint that Show font (cmd-T) reproducibly crashes Mail. I have been trying to find out which line in my Mail preferences is responsible for this, when suddenly I discovered that the same behavior occurs in Textedit ! Clearly m
-
I need urgrnt help in working with JasperReports
I just want to know how can I pass a query to a JasperReport. I've just gone thru the JasperReports.sourceforge.net but couldn't make it. Please if someone can make it. Thanx for the interest.
-
Vendor return of rejected materials
Dear experts, I have one issue related with vendor returns. My client have almost 45 purchased materials of different quantities in legacy system which are rejected in quality.then all those rejected materials were uploaded in SAP by 561 movements.No
-
Why no option to backup catalog on closing Lightroom?
Hi there, I was wondering why Adobe have not given the option to backup your catalog on closing Lightroom? The harddrive failed in my computer. I installed a new hardrive etc, reloaded all the Lightroom files that I had dilligently backed up to a ext
-
Hi, I'm a beginner in DW so please bear with me! I'm getting used to DW by learning to create HTML emails. I've made my first 'test' email (by going File > Preview in Browser > IExplorer..... then in Explorer, I went Page > Send Page by Email). It