REVO2700SOUND utility - cross fade1@] on scrollbarDrag N set playLoudness of player 1 to N set playLoudness of player 2 to (100 - N) end scrollbarDrag $  ULucida Grande UVerdanaUVerdana WLucida GrandeWLucida Grande UAmerican TypewriterUAmerican TypewriterWAmerican Typewriter cREVGeneralscripteditorvscroll0breakpointconditions breakpointsbreakpointstatesstackfileversion2.7 @ Player1)`HH movie1.movr  cREVGeneral revUniqueID 1273843640432Player2)`Fl movie2.mov  cREVGeneral revUniqueID 1273843655671scripteditorvscroll0PlayMpon mouseUp -- set the files sources set the filename of player "player1" to "movie1.mov" set the filename of player "player2" to "movie2.mov" -- set the start set the currentTime of player "player1" to the round of the startTime of player "player1" set the currentTime of player "player2" to the round of the startTime of player "player2" -- start start player "player1" start player "player2" end mouseUp FJ4R cREVGeneralscripteditorvscroll0 revUniqueID 1273843703100scripteditorselection288 Field(@BD cREVGeneral revUniqueID 1273843859168  A simple test trial to see how it is possible to cross fade the sound of two players, following a discussion on Nabble about audio limitations of runrev and a suggestion by Scott Rossi. g1) Prepare two .mov files named movie1.mov and movie2.mov and put them in the directory of this stack. z2) PLAY : It does work... Stop and experiment with CrossFade. I added two parameters to play with and test smoothiness! Limitations ; ...so long you do not expect a precise synchronisation between files. Because start time of both sounds are not exactly timed (there is a specific nabble topic on that point), and reactivity depends on each precise hardware... 4...and you must use player and not internal sounds. Robert Maniquant 14 th may 2010 Field*H@: ) cREVGeneral revUniqueID 1273845208856  SOUND in RunRev - crossfadeStopMpJon mouseUp stop player "player1" stop player "player2" end mouseUp J4P cREVGeneral revUniqueID 1273846409195scripteditorvscroll0scripteditorselection73  CrossFadeMpon mouseUp stop player "player1" stop player "player2" set the filename of player "player1" to "movie1.mov" set the filename of player "player2" to "movie2.mov" -- set the crossFade duration in seconds if field "duration" is empty then put 5 into crossfadeDuration else put field "duration" into crossfadeDuration end if -- position the players put (the duration of player "player1"/the timeScale of player "player1") into playerOneSeconds put (the duration of player "player2"/the timeScale of player "player2") into playerTwoSeconds -- put "playerOneSeconds" & playerOneSeconds & cr into msg -- put "playerTwoSeconds" & playerTwoSeconds & cr after msg set the currentTime of player "player1" to the round of (playerOneSeconds-crossfadeDuration)*the timeScale of player "player1" set the currentTime of player "player2" to the round of startTime of player "player2" -- start it up start player "player1" start player "player2" -- set the crossfade interval if field "steps" is empty then put 10 into steps else put field "steps" into steps end if put (crossfadeDuration/steps)*1000 into waitInterval -- in milliseconds put 100/steps into loopStep -- put "waitInterval="&waitInterval&cr after msg -- put "loopStep="&loopStep&cr after msg -- cross fade loop (for 10 seconds) can be improved!! set the playLoudness of player "player1" to 100 set the playLoudness of player "player2" to 1 repeat with i=1 to 100 -- smoothness of the audio mix requires any interface stuff to take place before the wait interval add loopStep to i set the thumbPosition of scrollbar "mixbar" to i wait waitInterval milliseconds -- runs quite smoothly -- set the playLoudness of player "player1" to (100-i) -- set the playLoudness of player "player2" to i end repeat end mouseUp J4R cREVGeneralscripteditorvscroll800 revUniqueID 1273846605553scripteditorselection1905debugParametersdebugEntryHandler M,mouseUp mixbarqon scrollbarDrag n set the playLoudness of player "player1" to (100-n) set the playLoudness of player "player2" to n end scrollbarDrag D*)1100 cREVGeneral revUniqueID 1273849654904scripteditorvscroll0scripteditorselection78 steps)`H cREVGeneral revUniqueID 1273853051528  50  duration)`H cREVGeneral revUniqueID 1273853059840  10  Label Field : cREVTable currentviewcrossfade duration in seconds: cREVGeneral revUniqueID 1273853079022 crossfade duration in seconds:  Label Field zx cREVTable currentviewNumber of steps: cREVGeneral revUniqueID 1273853084285 Number of steps: revOnline | RunRev