top of page

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_GetMediaIdPeakList(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_GetMediaIdPeakList(projID,itemID)

- API -

対応バージョン:

1.0.0

以降

MEDIA

AZ_SILVER.AZ_GetMediaIdPeakList

Peak sequence output for specified media ID

- API Detail-

▼Input value

projID(ReaProject): Project ID

ItemID(integer) : Media item ID


▼Output value

retval(boolean): Success or failure of API execution

peakList(table) : Peak array .MaxPeak /.MinPeak/.Time

bottom of page