top of page
- API -

mainOutPathList, subOutPathList = reaper.AZ_RenderToAudioFile(proj, options)

- API Detail-

▼Input value

proj(ReaProject): Project (optional, default: current project)

options(RenderOptions): Rendering settings (optional, default: none)



▼Output value

mainOutPathList(StringArray): File path array after main output

subOutPathList(StringArray): File path array after simultaneous output

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_GOLD")


function showObject(object, depth)


    local obj = object

    if depth == nil then depth = 0 end


    if(type(obj) == "table") then

        Msg("")

        for k, v in pairs(obj) do

            for i = 1, depth, 1 do reaper.ShowConsoleMsg(" ") end 

            reaper.ShowConsoleMsg(tostring(k) .. " : ")


            showObject(v, depth + 4)

        end

    else

        Msg(obj)

    end

end



options = {

    RenderingTarget = 1,

    RenderingRangeType = 5,

    SamplingRate = 44100,

    Channels = 1,

    OutputDir = "Rendering\\a",

    FileName = "$region"

    

}


mainlist, sublist = reaper.AZ_RenderToAudioFile(0,options)


Msg(reaper.AZ_GetErrorCode())


showObject(mainList)


showObject(subList)

Render

AZ_RenderToAudioFile

Supported versions:

1.1.0

onwards

Rendering execution

bottom of page