j'ai trouvé !!!
en fait il n'y a pas de bug !!
pour le oggvorbis il faut 1er bien indique le debut et la LONGUEUR
et deuxiement si l'on utilise plusieur son a integrer il FAUT mettre
DataSection et endDataSection c'est OBLIGATOIRE sinon ça marche pas
voici l'extrait de mon programme "Purenoide !"
voici comment il faut integrer du OggVorbis !!
la seule diference avec le wav
c'est la specification de la longueur de l'échantillon , qui dans le cas du Wav n'est pas obligatoire !!
par contre la doc n'indique pas le " EndDataSection " !!!!!!!!
et effectivement l'utilisation des includes devrai etre indiqué dans la partie
relatif a DataSection---------EndDataSection
voici comment ça marche chez moi !!
si l'on retire les DataSection---------EndDataSection
cela ne marche plus !!!!
j'en deduit que pour plusieur son a integrer il faut utiliser les
DataSection---------EndDataSection
Code : Tout sélectionner
CatchSound(#son_lasergun, ?sonlaser,?fin_sonlaser-?sonlaser)
CatchSound(#son_LONG, ?sonlong,?fin_sonlong-?sonlong)
CatchSound(#son_PING, ?sonping,?fin_sonping-?sonping)
CatchSound( #son_alien_meurt, ?son_alien_meurt,?fin_son_alien_meurt-?son_alien_meurt)
CatchSound( #son_COURT, ?soncourt,?fin_soncourt-?soncourt)
CatchSound( #son_engine, ?sonengine,?fin_sonengine-?sonengine)
CatchSound( #son_EXPLODE1, ?sonexplode1,?fin_sonexplode1-?sonexplode1)
CatchSound( #son_HITBALL, ?sonhitball,?fin_sonhitball-?sonhitball)
CatchSound( #son_WHIP, ?sonwhip,?fin_sonwhip-?sonwhip)
CatchSound( #son_THUMP, ?sonthump,?fin_sonthump-?sonthump)
CatchSound( #son_Select, ?sonselect,?fin_sonselect-?sonselect)
CatchSound( #son_Sable, ?sonsable,?fin_sonsable-?sonsable)
CatchSound( #Son_phosphene, ?sonphosphene,?fin_sonphosphene-?sonphosphene)
;{ include binary
DataSection
;{ include SONS
sonlaser:
IncludeBinary "lasergun.ogg"
fin_sonlaser:
sonlong:
IncludeBinary "long.ogg"
fin_sonlong:
sonping:
IncludeBinary "ping.ogg"
fin_sonping:
son_alien_meurt:
IncludeBinary "alien_meurt.ogg"
fin_son_alien_meurt:
soncourt:
IncludeBinary "court.ogg"
fin_soncourt:
sonengine:
IncludeBinary "engine.ogg"
fin_sonengine:
sonexplode1:
IncludeBinary "explode1.ogg"
fin_sonexplode1:
sonhitball:
IncludeBinary "hitball.ogg"
fin_sonhitball:
sonwhip:
IncludeBinary "whip.ogg"
fin_sonwhip:
sonthump:
IncludeBinary "thump.ogg"
fin_sonthump:
sonselect:
IncludeBinary "select.ogg"
fin_sonselect:
sonsable:
IncludeBinary "sable.ogg"
fin_sonsable:
sonphosphene:
IncludeBinary "phosphene.ogg"
fin_sonphosphene:
EndDataSection