ISDBSongData::Leveling

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Leveling As Double


Property description

Leveling
Scripting Object SDBSongData
Value Name Leveling
Value Type Value
Database Table Songs
Field Name NormalizeTrack
Field Type Numeric
Tracklist Column Track Volume
Example Data -2.8

Example Code

Complete script

Sub

  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      ValueLeveling = objSongData.Leveling
      SDB.MessageBox "Value = '" &  ValueLeveling & "'", mtError, Array(mbOK)    'SDB.MessageBox
  Next
' objSongData.Leveling = ValueNewLeveling 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub