Skip to content
Advertisement

Tag: raspberry-pi

Can’t hear sound when audio is being played in Pyglet (Raspberry Pi 4B, Raspbian)

I am running the latest version of Raspbian on the Raspberry Pi with Python 2.7 and 3.7 installed. For a project, I need to implement some spatial/binaural audio file playback capabilities in Python, and Pyglet (version 1.5.6) (https://pypi.org/project/pyglet/, https://github.com/pyglet/pyglet) seems to be the simplest option with least dependencies. However, I am not being able to hear audio output through the

Running functions on bluetooth pair request

I’ve recently been learning electric circuitry using arduino and am looking to implement some changes to my Raspberry Pi application. I used this outdated tutorial a few years ago to create my pi bluetooth receiver which is working well at the moment (https://www.instructables.com/id/Turn-your-Raspberry-Pi-into-a-Portable-Bluetooth-A/) but one downfall of this out-dated tutorial is that bluetooth connections have to be accepted via the

Install cron without mail and sql dependencies

I want to install crontab in Raspberry Pi without mail and sql dependencies ? I used apt-get install cron command to install ,installation was successful, but it also installed mail and sql dependencies. followed How to install cron to get installation steps. I need to install crontab only for minimal requirement like sync system time with NTP(Network Time Protocol) upon

Cannot install Flask with pip on my Raspberry Pi

I am trying to install Flask on my Raspberry Pi, but it seems that this is not possible anymore with the command: sudo pip install flask . I always return this message: Does anybody have an idea what’s going wrong? Answer This problem is described here. In short, the fix is to set date correctly, eg: sudo date +%Y%m%d -s

Linux/Raspberry Pi command to help round to 2 decimal

I am running the following command to get Free Memory, and want to change it from KB to MB to the second decimal. How do I round? I have seen where it says to use scale=2, but then it just prints out scale=2, I have tried puttting it before anfer and inbetween several different ways with no luck. how can

What is the best way to give a Linux command from one machine to a different machine? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Advertisement