Skip to content

Need for command to reset all ! settings to default #342

Open
@rbnpi

Description

@rbnpi

My recent work with the sonic-pi-cli has thrown up again the need for an easy way to reset all ! functions like set_sched-ahead_time! and set_volume! to their default values.

If you are playing remotely files one after another and you stop between them, then you may have a volume or sched time setting from one file that is carried across to the next when it is not wanted. I can add a function to reset all these values at the start of every program, and then override those that need these settings adjusted, but it tedious to have to do this.
One problem is that the defaults for Pi and Mac are different, so you need an OS test as well! For these reasons I think a built in command would be useful.

I did suggest and give code before for a command reset! but you didn't like the name.

Can this be looked at again?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions