Bonjour
J'ai d�velopp� une fonction javascript pour sauvegarder les objets audio de mon application au format ADM mais lors de la d�finition d'objets dynamiques ear ne restitue pas le mouvement de l'objet avec ear-render -s 0+5+0 : cela cr�e un fichier wav(BW64) correcte mais sans d�placement de l'objet audio.


ear-utils dump-axml :

Code xml : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?><ebuCoreMain xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="urn:ebu:metadata-schema:ebuCore" xml:lang="en">
  <coreMetadata>
    <title typeLabel="FileTitle">
      <dc:title xml:lang="en">projet2</dc:title>
    </title>
    <creator>
      <organisationDetails>
        <organisationName>KandiskyScore</organisationName>
      </organisationDetails>
    </creator>
    <description typeLabel="Description" typeLink="http://www.ebu.ch/metadata/cs/ebu_DescriptionTypeCodeCS.xml#1">
      <dc:description>comment: projet2 (1 stereo tracks    1 objets)
    </dc:description>
    </description>
    <date>
      <created startDate="24082024"/>
    </date>
    <format>
            <audioFormatExtended>
 <audioObject audioObjectID="AO_1001" audioObjectName="Object 1" start="00:00:03.16667" duration="00:00:02.35433">
                                  <audioPackFormatIDRef>AP_00031001</audioPackFormatIDRef>
                                  <audioTrackUIDRef>ATU_00000001</audioTrackUIDRef>
                                </audioObject>
 <audioObject audioObjectID="AO_1002" audioObjectName="Object 2" start="00:00:03.16667" duration="00:00:02.35433">
                                  <audioPackFormatIDRef>AP_00031002</audioPackFormatIDRef>
                                  <audioTrackUIDRef>ATU_00000002</audioTrackUIDRef>
                                </audioObject>
<audioPackFormat audioPackFormatID="AP_00031001" audioPackFormatName="objet 1" typeLabel="0003" typeDefinition="Objects">
          <audioChannelFormatIDRef>AC_00031001</audioChannelFormatIDRef>
        </audioPackFormat>
<audioPackFormat audioPackFormatID="AP_00031002" audioPackFormatName="objet 2" typeLabel="0003" typeDefinition="Objects">
          <audioChannelFormatIDRef>AC_00031002</audioChannelFormatIDRef>
        </audioPackFormat>
<audioChannelFormat audioChannelFormatID="AC_00031001" audioChannelFormatName="objet 1" typeDefinition="Objects">
<audioBlockFormat audioBlockFormatID="AB_00031001_00000001"> rtime="00:00:00.00000" duration="00:00.00000"
                                              <position coordinate="X">-1</position>
                                              <position coordinate="Y">-0.0335</position>
                                              <position coordinate="Z">0</position>
                                              <cartesian>1</cartesian>
                                                    </audioBlockFormat>
<audioBlockFormat audioBlockFormatID="AB_00031001_00000002"> rtime="00:00:00.00000" duration="00:01.03157"
                                              <position coordinate="X">-0.0272</position>
                                              <position coordinate="Y">0.9313</position>
                                              <position coordinate="Z">0</position>
                                              <cartesian>1</cartesian>
                                                    </audioBlockFormat>
<audioBlockFormat audioBlockFormatID="AB_00031001_00000003"> rtime="00:00:01.03157" duration="00:00.64326"
                                              <position coordinate="X">1</position>
                                              <position coordinate="Y">-0.067</position>
                                              <position coordinate="Z">0</position>
                                              <cartesian>1</cartesian>
                                                    </audioBlockFormat>
</audioChannelFormat>
<audioChannelFormat audioChannelFormatID="AC_00031002" audioChannelFormatName="objet 2" typeDefinition="Objects">
<audioBlockFormat audioBlockFormatID="AB_00031002_00000001"> rtime="00:00:00.00000" duration="00:00.00000"
                                              <position coordinate="X">-1</position>
                                              <position coordinate="Y">-0.0335</position>
                                              <position coordinate="Z">0</position>
                                              <cartesian>1</cartesian>
                                                    </audioBlockFormat>
<audioBlockFormat audioBlockFormatID="AB_00031002_00000002"> rtime="00:00:00.00000" duration="00:01.03157"
                                              <position coordinate="X">-0.0272</position>
                                              <position coordinate="Y">0.9313</position>
                                              <position coordinate="Z">0</position>
                                              <cartesian>1</cartesian>
                                                    </audioBlockFormat>
<audioBlockFormat audioBlockFormatID="AB_00031002_00000003"> rtime="00:00:01.03157" duration="00:00.64326"
                                              <position coordinate="X">1</position>
                                              <position coordinate="Y">-0.067</position>
                                              <position coordinate="Z">0</position>
                                              <cartesian>1</cartesian>
                                                    </audioBlockFormat>
</audioChannelFormat>
<audioStreamFormat audioStreamFormatID="AS_00031001" audioStreamFormatName="objet 1" formatLabel="0001" formatDefinition="PCM">
          <audioChannelFormatIDRef>AC_00031001</audioChannelFormatIDRef>
          <audioTrackFormatIDRef>AT_00031001_01</audioTrackFormatIDRef>
          </audioStreamFormat>
<audioStreamFormat audioStreamFormatID="AS_00031002" audioStreamFormatName="objet 2" formatLabel="0001" formatDefinition="PCM">
          <audioChannelFormatIDRef>AC_00031002</audioChannelFormatIDRef>
          <audioTrackFormatIDRef>AT_00031002_01</audioTrackFormatIDRef>
          </audioStreamFormat>
<audioTrackFormat audioTrackFormatID="AT_00031001_01" audioTrackFormatName="objet 1" formatLabel="0001" formatDefinition="PCM">
                         <audioStreamFormatIDRef>AS_00031001</audioStreamFormatIDRef>
                         </audioTrackFormat>
<audioTrackFormat audioTrackFormatID="AT_00031002_01" audioTrackFormatName="objet 2" formatLabel="0001" formatDefinition="PCM">
                         <audioStreamFormatIDRef>AS_00031002</audioStreamFormatIDRef>
                         </audioTrackFormat>
<audioTrackUID UID="ATU_00000001" sampleRate="48000" bitDepth="16"/>
                    <audioTrackFormatIDRef>AT_00031001_01</audioTrackFormatIDRef>
          <audioPackFormatIDRef>AP_00031001</audioPackFormatIDRef>
<audioTrackUID UID="ATU_00000002" sampleRate="48000" bitDepth="16"/>
                    <audioTrackFormatIDRef>AT_00031002_01</audioTrackFormatIDRef>
          <audioPackFormatIDRef>AP_00031002</audioPackFormatIDRef>
</audioFormatExtended>
    </format>
  </coreMetadata>
</ebuCoreMain>

ear-utils dump chna :
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
AudioID(trackIndex=1, audioTrackUID='ATU_00000001', audioTrackFormatIDRef='AT_00031001_01', audioPackFormatIDRef='AP_00031001')
AudioID(trackIndex=2, audioTrackUID='ATU_00000002', audioTrackFormatIDRef='AT_00031002_01', audioPackFormatIDRef='AP_00031002')
je ne comprends pas pourquoi ear n'assure pas le d�placement de l'objet audio.