Skip to content

sound.tone is broken #82

@ensonic

Description

@ensonic
from ev3dev import ev3 as ev3dev
ev3dev.Sound.tone(100,100).wait()
# or
ev3dev.Sound.tone([(100,100)]).wait()

this should only play one tone, but plays two instead. The beep command that is generated is '/usr/bin/beep -n -f 100 -l 100' while '/usr/bin/beep -f 100 -l 100' works. The bug is that '-n' should only be used for the next tone. PR coming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions