Reference Manual: (offline | online) Quickstart: (offline | online)

# renpy.music.queue

Function: renpy.music.queue( | filenames, channel=7, loop=True, clear_queue=True, fadein=0, tight=False)

This queues the given filenames on the specified channel.

filenames - May either be a single filename, or a list of filenames.

loop - If True, then this music will repeat as long as it is the last element of the queue. The filenames given becomes the last queued file if loop is True. If loop is False, then the last queued file is set to None.

clear_queue - If True, then the queue is cleared, making these files the files that are played when the currently playing file finishes. If it is False, then these files are placed at the back of the queue. In either case, if no music is playing these files begin playing immediately.

fadein - The number of seconds to fade the music in for, on the first loop only.

tight - If True, then fadeouts will span into the next-queued sound.

## Example

    TODO

Reference Manual: (offline | online) Quickstart: (offline | online)