Miero ,what does this libsoxr do in Squeezelite
ln -s /usr/local/lib/libsoxr.so.0.1.0 /usr/lib/libsoxr.so.0
Does this information on resampling help?
Ubuntu Manpage: squeezelite - Lightweight headless Squeezebox emulator
Frank
I apologize in advance for this general post because Miero has plenty to keep him busy. 🙁
BUT... I need to guess what is possible in software before I configure my Cronus/Hermes.
I have been looking at how to host LADSPA filters on my BBB system. I want simple high- and low-pass filters plus a pair of time alignment filters for bi-amping my speakers. These filters are easy to find online. However, Linux audio being what it is, there are probably 10 possible ways to get it working. I looked at hosts like ecasound and they seem so bloated relative to this simple task. Then I found this description of using pcm: in ALSA to clone channels and selectively apply LADSPA filters. That would be perfect! Is it reasonable to think that this could work if built into Botic? [I have not seen the Botic code and I'm not a Linux guy, but would be happy to try this with some hand holding.] What are the hidden pitfalls? Ideally, I would like to maintain the raw sample rates into the filters, or at worst, use integral up sampling.
I know, getting great 2 channel performance is more important, but LADSPA integration seems almost inevitable...
Any/all thoughts most appreciated. 😉
Frank
BUT... I need to guess what is possible in software before I configure my Cronus/Hermes.
I have been looking at how to host LADSPA filters on my BBB system. I want simple high- and low-pass filters plus a pair of time alignment filters for bi-amping my speakers. These filters are easy to find online. However, Linux audio being what it is, there are probably 10 possible ways to get it working. I looked at hosts like ecasound and they seem so bloated relative to this simple task. Then I found this description of using pcm: in ALSA to clone channels and selectively apply LADSPA filters. That would be perfect! Is it reasonable to think that this could work if built into Botic? [I have not seen the Botic code and I'm not a Linux guy, but would be happy to try this with some hand holding.] What are the hidden pitfalls? Ideally, I would like to maintain the raw sample rates into the filters, or at worst, use integral up sampling.
I know, getting great 2 channel performance is more important, but LADSPA integration seems almost inevitable...
Any/all thoughts most appreciated. 😉
Frank
Aw hell, a bit more linux advice needed guys.
so I've been flashing my botic v3 to the eMMC.
BUUUTTT.... doh, didn't unplug my local hard drive music library from the BBB usb socket.
Net result is this:
I think it started copying over my .wav files as well until it obviously ran out of memory and then started chucking out error messages.
How do I proceed from here?
cheers
Ced
so I've been flashing my botic v3 to the eMMC.
BUUUTTT.... doh, didn't unplug my local hard drive music library from the BBB usb socket.
Net result is this:
An externally hosted image should be here but it was not working when we last tested it.
I think it started copying over my .wav files as well until it obviously ran out of memory and then started chucking out error messages.
How do I proceed from here?
cheers
Ced
Ced you have to start all over as your BBB is probably not detectable via USB connector.
If you follow my how to on here
http://www.diyaudio.com/forums/twisted-pear/258254-support-botic-linux-driver-31.html#post4320784 it explains how to reflash eMMC with original Debian.
If you follow my how to on here
http://www.diyaudio.com/forums/twisted-pear/258254-support-botic-linux-driver-31.html#post4320784 it explains how to reflash eMMC with original Debian.
do not use eMMC as data storage...
you have exhausted whole capacity by copying data there
you can delete something by entering into uboot, enable exporting media via USB and connecting then BBB into >>Linux operating system<< and then mounting USB volume.
you need Linux, because exported filesystem is ext3 which Windows probably does not support natively
use any Linux Live CD/USB you have (or download & burn)
you have exhausted whole capacity by copying data there
you can delete something by entering into uboot, enable exporting media via USB and connecting then BBB into >>Linux operating system<< and then mounting USB volume.
you need Linux, because exported filesystem is ext3 which Windows probably does not support natively
use any Linux Live CD/USB you have (or download & burn)
francolargo: it should be possible use any LADSPA tutorial you can find on the net
you will need to install some ladspa packages/plugins ... execute "apt-cache search ladspa" on BBB to print all available Debian packages
you will need to install some ladspa packages/plugins ... execute "apt-cache search ladspa" on BBB to print all available Debian packages
kinku: you can skip compiling libsoxr and enabling libsoxr in the squeezelite ... or do not use it on command line (it is not enabled by default)
Hi ichiban,Just went back into YMPD and now the REMOTE directory doesn't show up?
Did an ls -l on BBB/putty and it is all there, and mpd.conf is still correct???
But, like I said in the post above, I'm concerned as to why
card 0: BOTICAudio [TPA BOTIC-Audio], device 0: ES9018 es9018-hifi-0 []
doesn't show on botic v5.
Why are you concerned about the name of the botic audio device? On v5 it just uses a slightly different name. In your above post you are also issuing some commands to check for the USB sound module. Do you want to use the botic driver or a USB sound device?
To verify you have actually some sound from the botic sound device do:
Code:
sudo systemctl stop mpd
speaker-test -c2 -Dhw:0,0
Hi ichiban,
Why are you concerned about the name of the botic audio device? On v5 it just uses a slightly different name. In your above post you are also issuing some commands to check for the USB sound module. Do you want to use the botic driver or a USB sound device?
To verify you have actually some sound from the botic sound device do:
This should produce sound (white noise)Code:sudo systemctl stop mpd speaker-test -c2 -Dhw:0,0
Ok, much thanks for a reply 🙂, I was just about to revert back to v3 to check it out.
So, this is the result running the commands you suggest ......
root@botic:~# sudo systemctl stop mpd
root@botic:~# speaker-test -c2 -Dhw:0,0
speaker-test 1.0.27.2
Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Ra[ 9875.400023] helper=
te set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 32768
Period size range from 8 to 2048
Using max buffer size 32768
Periods = 4
was set period_size = 2048
was set buffer_size = 32768
0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error
The last lines do not look good. Maybe Miero can help out here. Can you attach the output of 'dmesg'?Ok, much thanks for a reply 🙂, I was just about to revert back to v3 to check it out.
So, this is the result running the commands you suggest ......
root@botic:~# sudo systemctl stop mpd
root@botic:~# speaker-test -c2 -Dhw:0,0
speaker-test 1.0.27.2
Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Ra[ 9875.400023] helper=
te set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 32768
Period size range from 8 to 2048
Using max buffer size 32768
Periods = 4
was set period_size = 2048
was set buffer_size = 32768
0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error
The last lines do not look good. Maybe Miero can help out here. Can you attach the output of 'dmesg'?
Attached file, it is copy of output when I entered "root@botic:~# dmesg" and it displayed all of what is attached. Didn't know how else to get it.
Attachments
Code:
root@botic:~# lsof /usr/lib/*/libasound*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mpd 999 mpd mem REG 179,2 627384 3632 /usr/lib/arm-linux-gnueabihf/libasound.so.2.0.0
squeezeli 1163 root mem REG 179,2 627384 3632 /usr/lib/arm-linux-gnueabihf/libasound.so.2.0.0
root@botic:~# speaker-test -c 2
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
I have running mpd and squeezelite that might have open sound card (exclusively).
Let's terminate them and retry...
Code:
root@botic:~# pkill -f squeze
root@botic:~# pkill -f mpd
root@botic:~# speaker-test -c 2
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 3 to 1025
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Also botic v4/v5 has different audio output name:
Code:
root@botic:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Botic [Botic], device 0: external dac-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
ichiban...
Does your clock work? Please measure DC voltage on MCLK output. It should be non zero.
0 - Front Left
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error
Does your clock work? Please measure DC voltage on MCLK output. It should be non zero.
ichiban...
Does your clock work? Please measure DC voltage on MCLK output. It should be non zero.
I have to reassemble BBB/Hermes/Cronus/BII
You are meaning voltage on MCLK output on Cronus?
I have to reassemble BBB/Hermes/Cronus/BII
You are meaning voltage on MCLK output on Cronus?
Reconnected every thing and tried speaker test, get output of hiss only, should be different frequencies? I have the clock pin in position 1 on the hermes.
Hiss is in both channels...
root@botic:~# speaker-test 1.0.27.2
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 3 to 1025
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
0 - Front Left
Time per period = 1.329224
0 - Front Left
Time per period = 1.492888
0 - Front Left
^CWrite error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call
Last edited:
ichiban...
Does your clock work? Please measure DC voltage on MCLK output. It should be non zero.
I measure varying DC volts about 160mV .... at these points.......
Attachments
Speaker test does output white noise. Which will sound like a hiss.
Where should the jumper be for 45/49 clocks? It's on J1 now.
- Home
- More Vendors...
- Twisted Pear
- Support for Botic Linux driver