Today's essay is designed for in-ear stereo headphones, so it is not suitable for desktop speakers or earphones that are not in-ear headphones, because they cannot achieve 'the one on the left, I'm on the right '.
Sound objects in flash can be configured with sound channel balancing, So I think of an interesting thing-let the Left and Right headphones put different songs, in fact, this effect is very easy to achieve, if a player has the following functions:
1. You can set sound channel balancing without changing the system sound channel settings;
2. Multiple windows or playback scenarios can be opened;
Flash can be achieved as follows:
Create two video clips and set their frames respectively.
(E:/my music/Bandari/1.mp3and 2.mp3 are changed to your own music file storage location ):
Movi1_1:
S = new sound (); S. loadsound ("E:/my music/Bandari/1.mp3", true ); S. setpan(-100 ); |
Movi1_2:
S = new sound (); S. loadsound ("E:/my music/Bandari/2.mp3", true ); S. setpan (100 ); |
Then F11 dragged them from the library to the home scene to test playing.
OK. As I mentioned earlier, only players with the above two functions can achieve 'sound exclusive between the left and right. So I would like to give another example. More fun-storm video:
Enable the multi-window function first: After the player is turned on, view the -- option in the menu. For more information, see the annotation settings below.
After confirming, you can open another window. Before playing the video, you need to set the audio channel, or in the options, set the audio adapter in the two windows:
Now, the two of them can watch their favorite movies with one headset, though it's cool. However, it is a pity that a player should be set up every time such a scene appears.
I have never tried to use a divider and two headphones at the same time -- in that case, the settings in the audio switch will be changed. If a friend tests, I hope you will tell me in the comment.