mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-06 13:09:15 +01:00
audio works! can hear the sound of videos on jack just sometimes the audio jumps a little, must check that buffers are tight
17 lines
245 B
JavaScript
17 lines
245 B
JavaScript
|
|
audio = new AudioJack("freej", 1024, 44100);
|
|
|
|
animation_file = "/home/jaromil/Movies/TheRevolutionWillNotBeTelevisedGilScottHeron.mp4";
|
|
|
|
anim = new MovieLayer(animation_file);
|
|
|
|
anim.activate(true);
|
|
|
|
add_layer(anim);
|
|
|
|
audio.set_layer(anim);
|
|
|
|
|
|
|
|
|