top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval,allCount,typeCount = reaper.AZ_GetMediaTypeCount(0,"WAV")

Msg(allCount)

Msg(typeCount)

- SCRIPT -

retval,allCount,typeCount = reaper.AZ_GetMediaTypeCount(projID,mediaType)

- API -

MEDIA

reaper.AZ_GetMediaTypeCount

All media counts (including specified formats)

- API Detail-

▼Input value

  • proj (integer): Project ID

  • mediaType(char): Type name ("WAV", "MP4", "MP3", etc.)

  • *If you leave the mediaType anonymous, all will be included.

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • allCount(integer): The number of media in the specified project

  • typeCount(integer): Number of media of the specified format

bottom of page