Skip to content

Add possibility to switch to Bluetooth? #83

Closed

Description

@natumbri

Thanks for this port of snapclient - it's working great for me. I use it in conjunction with mopidy and the https://github.com/natumbri/mopidy-youtube project I look after.

One thing I've been thinking about - sometimes I like to switch from listening via my snapcast setup to listening to something directly from my phone, via Bluetooth.

Would it be difficult to add the capacity to switch between snapcast and BT?

Something like this https://github.com/vedranMv/Ka-Radio32 but with snapclient instead of 'internet radio'.

I'd be happy to help, but am pretty clueless when it comes to writing real code!

Anyway, thanks again for the snapclient!

Cheers
Nik

Activity

  1. CarlosDerSeher commented on May 25, 2024

    @CarlosDerSeher
    Owner

    Totally doable. We would need to add this as a new component and reuse pcm chunk memory allocation functions from snapclient. Only start advertising at first and if a connection is made all snapclient related task must be stopped, all memory freed and i2s handed over to bluetooth functions. If connection is dropped go back to snapclient mode. Easy enough 👌 😎

    I've always wanted to add bluetooth and stream from esp snapclient to snapserver and back again. Not sure if it is possible though.

    I don't have much time to work on this project these days and my first priority is to resolve #54 and finish #69.

  2. DerPicknicker commented on Jun 18, 2024

    @DerPicknicker
    Contributor

    @CarlosDerSeher .. I think trying to run 2 instances of snapcast on one esp32 host would be also a Cool experiment ;-)

  3. CarlosDerSeher commented on Jun 18, 2024

    @CarlosDerSeher
    Owner

    Why not just mount a second DAC of the same type?

  4. CarlosDerSeher commented on Jun 18, 2024

    @CarlosDerSeher
    Owner

    2 instances would double the RAM and increase TCP bandwidth/RAM requirements

  5. DerPicknicker commented on Jun 18, 2024

    @DerPicknicker
    Contributor

    @CarlosDerSeher .. 2x the price and for example lyrat has PSRAM and also the boards from anabolyc.. this would be just a Cool experiment.

  6. CarlosDerSeher commented on Jun 18, 2024

    @CarlosDerSeher
    Owner

    But where will you pipe the 2nd instance's output?

    This is a little off topic here though, maybe you should open a discussion for this.

  7. Repository owner locked and limited conversation to collaborators on Jun 18, 2024
  8. converted this issue into a discussion #88 on Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions