Soundobjekt: Unterschied zwischen den Versionen

Aus AquaSoft Wiki
Zur Navigation springenZur Suche springen
(Die Seite wurde neu angelegt: „Das Soundobjekt ist vom Typ '''ISound''' und leitet von '''ISlideShowObject''' ab. = Methoden = * Ein Soundobjekt benötigt einen Dateinamen zu der gespeiche…“)
 
Zeile 36: Zeile 36:
  
  
*  
+
* Lautstärke in Prozent
    function GetMasterVolume: Integer;
+
<code>
    function GetVolume(const Index: Integer): Integer;
+
  function GetMasterVolume: Integer;
 +
  procedure SetMasterVolume(const Value: Integer);
 +
</code>
  
    function GetStartPos: Integer;
 
    function GetSoundEnd: Integer;
 
    procedure SetStartPos(const Value: Integer);
 
 
 
    procedure SetMasterVolume(const Value: Integer);
 
 
 
 
 
  
  procedure SetSoundEnd(const Value: Integer);
+
* Startzeit des Soundobjektes in Millisekunden
 +
<code>
 +
  function GetStartPos: Integer;
 +
  procedure SetStartPos(const Value: Integer);
 +
</code>
 +
 
 +
 
 +
* Ende des Soundobjektes in Millisekunden
 +
<code> 
 +
  function GetSoundEnd: Integer;
 +
  procedure SetSoundEnd(const Value: Integer);
 +
</code>
 +
 
 +
[[Kategorie:Scripting-API]]

Version vom 14. August 2012, 09:36 Uhr

Das Soundobjekt ist vom Typ ISound und leitet von ISlideShowObject ab.

Methoden

  • Ein Soundobjekt benötigt einen Dateinamen zu der gespeicherten Sounddatei. Dieser ist als IFilename im Objekt gespeichert:

 function Filename: IFilename;


  • Gesamtlänge des Sounds in Millisekunden

 function GetSoundDuration: Integer;
 procedure SetSoundDuration(const Value: Integer);


  • Abspieldauer Sound-beinhaltenden Objektes an die Soundlänge anpassen

 function GetUseSoundLength: Boolean;
 procedure SetUseSoundLength(const Value: Boolean);


  • Sound einblenden

 function GetFadeOutBackgroundMusic: Boolean;
 procedure SetFadeOutBackgroundMusic(const Value: Boolean);


  • Einblenddauer des Sounds in Millisekunden

 function GetFadeOutDuration: Integer;
 procedure SetFadeOutDuration(const Value: Integer);


  • Lautstärke in Prozent

 function GetMasterVolume: Integer;
 procedure SetMasterVolume(const Value: Integer);


  • Startzeit des Soundobjektes in Millisekunden

 function GetStartPos: Integer;
 procedure SetStartPos(const Value: Integer);


  • Ende des Soundobjektes in Millisekunden

 function GetSoundEnd: Integer; 
 procedure SetSoundEnd(const Value: Integer);