question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Write SoX playback handler

See original GitHub issue

This should:

  • solve audio problems:
    • fix #63 (hopefully)
    • sound problems on legacy kernel Orange Pi (@renekliment confirms)
    • CHIP with internal sound card (maybe, who knows)
  • enable us to support OpenWRT
  • save space and maybe (just maybe) be a little faster

The current VLC handler isn’t great and the whole thing needs a refactor regarding .stop() and resuming radio playback and stuff (#117), but that doesn’t block this. Also some methods could be reused, so it might not be a bad idea to move them to the base handler, but we’ll see how that turns out. Namely queued_play, blocking_play and process_queue.

@illperipherals showed interest in doing this, but it is currently free to take.

Random links: https://github.com/rabitt/pysox

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
enclarifycommented, Jan 6, 2017

I have this feature mostly working. I need to cleanup the code and add the sox packages to all platforms this weekend and then will submit a PR for review

0reactions
reneklimentcommented, Jan 16, 2017

Fixed by #140.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sox [global-options] [format-options] infile1
On some systems, SoX allows audio playback volume to be adjusted whilst using play. Where supported, this is achieved by tapping the 'v'...
Read more >
How to add a mp3 handler to sox? - ubuntu - Super User
I want to play music in the terminal with ...
Read more >
SoX - Sound eXchange, the Swiss Army knife of audio ...
Introduction SoX reads and writes audio files in most popular formats and can optionally apply effects to them. It can combine multiple input...
Read more >
No music playback with sox handler (with approved ... - GitHub
Steps to reproduce: be approved for music playback support; set playback handler to "sox" instead of "vlc"; ask Alexa to play a song....
Read more >
soxformat(7) - Linux man page
This is an alternative handler for CVSD that is unfiltered but can be used with any bit-rate. E.g. sox infile outfile.cvu rate 28k...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found