the problem is how could i play AVI or MPEG or any video format file with sound only?? i need trigger out the amplitude of the sound wave and draw it with a time line.....
thanks a lot!!!
Code: Select all
m$="c:\movie.mpg"
If OpenWindow(0,0,0,352,240,#PB_Window_ScreenCentered,"test")
OpenWindow(1,0,0,0,0,#PB_Window_Invisible,"hidden")
InitMovie() : LoadMovie(0,m$) : PlayMovie(0,WindowID(1))
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf