Skip to content

Drive API - Target Speakers with playAudio #2281

@Peekofwar

Description

@Peekofwar

We use to be able to play music files on speaker peripherals, even without music discs. This was changed to force players to interact with the game mechanics to actually obtain the music discs.

However, when this change was implemented, there was no config option to disable it, nor was there any other method provided to play music disc sounds on speakers.

What I'd love to see is some way to play music disc sounds to speakers provided you have the music disc inserted into a Disk Drive.

Perhaps the playAudio method could have an argument that takes a table of Speaker peripherals.

For example, it might look like this in a program:

peripheral.call( "drive_0","playAudio",{peripheral.find("speaker")} )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn extension of a feature or a new feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions