top of page
- API -

peakList = reaper.AZ_GetMediaIdPeakList(projID,itemID)

- 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

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


peakList = reaper.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

MEDIA

AZ_GetMediaIdPeakList

Supported versions:

1.0.0

onwards

Peak sequence output for specified media ID

bottom of page