GithubHelp home page GithubHelp logo

Comments (3)

lovyan03 avatar lovyan03 commented on September 21, 2024 1

Hello, @s1tnk

…すみません、日本の方だと思いますので、日本語で回答させて頂きます。
(英文の読書きにすごく労力がかかるので…)

M5Unifiedはスピーカーの制御にI2Sを使用していますが、
A2DPSinkのI2S設定を使う場合、I2Sの制御権はA2DPSinkが握っていますから、
M5.Speaker側でのI2Sの操作は出来なくなる、とお考えてください。

M5.Speakerの音量設定は、M5.Speakerが波形を生成する際にのみ効果があります。
つまりM5.Speakerと無関係なライブラリによって鳴っている音には一切効果がありません。

M5.SpeakerとA2DPを併用したい場合は、 examples/Bluetooth_with_ESP32A2DP を参考にしてみてください。

https://github.com/m5stack/M5Unified/blob/master/examples/Advanced/Bluetooth_with_ESP32A2DP/Bluetooth_with_ESP32A2DP.ino

from m5unified.

s1tnk avatar s1tnk commented on September 21, 2024

Sorry, I forgot to inform you about the environment, I am trying with Core2 and PlatformIO is configured as follows.

[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
framework = arduino
lib_deps =
    m5stack/M5Unified
    https://github.com/pschatzmann/ESP32-A2DP
monitor_speed = 115200
monitor_filters = esp32_exception_decoder    

from m5unified.

s1tnk avatar s1tnk commented on September 21, 2024

多分そうだろうと思っていたのですが、何か見落としているのではないかと思って質問させて頂いた次第です。
おかげでスッキリしました!!ありがとうございます。

from m5unified.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.