alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Son , Sound Sat 27 Jan - 10:31 | |
| - peter le cochon wrote:
-
1_ Yes, mp3 as a movie texture works.
2_ mp3 as an audio clip works on some vrml viewers too (not blaxx)
3_ movie texture can't be spatialized, nor can it's volume be controlled by script (may be the pitch can, but dunno)
4_ neither audioClip nor movieTexture can reproduce streaming audio/video
Ne pas mettre les mp3 en Audioclip , - Code:
-
DEF Sound1 Sound { intensity 1.000 priority 0.000 minBack 10.000 minFront 10.000 maxBack 500.000 maxFront 500.000 source DEF AClip_Sound1 AudioClip { url [ "Satie.mp3" "http://site.voila.fr/isa37/Satie.mp3" ] pitch 1.000 loop FALSE startTime -1 stopTime 0 } } ] } mais en MovieTexture : - Code:
-
Shape { appearance Appearance { material Material { diffuseColor .6 .6 .6 } texture DEF diams MovieTexture { url "diamsparamour.mp3" loop FALSE } } geometry Box { size .01 01 01} } } ROUTE Sensor1.touchTime TO diams .startTime ex : http://dumenieu.free.fr/vrml/zik/diamsparamour.wrl | |
|