top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

os = reaper.GetOS()

if "Win" == string.match(os,"(Win)") then 

   package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

else

   package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dylib"

end

require("reaper_AZSTOKE_SILVER")


function Msg(param)

   reaper.ShowConsoleMsg(tostring(param).."\n")

end


retval,peakList = AZ_SILVER.AZ_GetSelectedMediaIdPeakList(0,0)


for i, value in pairs(peakList) do

   Msg("MaxPeak: "..peakList[i].MaxPeak)

   Msg("MinPeak: "..peakList[i].MinPeak)

   Msg("Time: "..peakList[i].Time)

end

- SCRIPT -

retval,peakList = AZ_SILVER.AZ_GetMediaItemPeakList(projID,selectItemID)

- API -

ID

MEDIA

AZ_SILVER.AZ_GetSelectedMediaIdPeakList

Peak sequence output for selected media ID

- API Detail-

▼入力値 

projID(ReaProject):プロジェクトID

selectItemID(integer) : 選択メディアアイテムID


▼出力値 

retval(boolean):API実行の成否 

peakList(table) : ピーク配列 .MaxPeak /.MinPeak/.Time

bottom of page