esologic / pear Goto Github PK
View Code? Open in Web Editor NEWa simple tool for sound installations
a simple tool for sound installations
After an initial issue of playback being messed up when 2 sound files were stereo (different track on each left/right side) and a final sound file as mono where the mono track played for twice as long, this was fixed by making the mono track a stereo track.
This ensured each 60 second sound file repeated at the same time, as they finished at the same time, but a persisting issue is that each 60 second sound file is being played in 15 seconds.
pi@raspberrypi:/pymusic $ python3 multi.py/pymusic $ lsusb
Discovered the following .wav files: ['/home/pi/pymusic/1.wav', '/home/pi/pymusic/2.wav', '/home/pi/pymusic/dfsd.wav']
Files loaded into memory, Looking for USB devices.
Discovered the following usb sound devices []
No audio devices found, stopping
Bye.
pi@raspberrypi:
Bus 001 Device 008: ID 8086:0808 Intel Corp.
Bus 001 Device 007: ID 8086:0808 Intel Corp.
Bus 001 Device 006: ID 214b:7250
Bus 001 Device 009: ID 8086:0808 Intel Corp.
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~/pymusic $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device_1 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Device_2 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I got some problem?does anyone fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.