Forum Replies Created
-
Posted in: Abacus AroioDAC made in Germany
-
25. Oktober 2020 at 14:36 #49907
In the „ALSA Parameter“ I put just „a“ and the „Command Line Options“ „b499“ I thought it would make the buffer big. But I still get Pops in the songs.
-Raymond Day
25. Oktober 2020 at 14:28 #49905Here is what it says there:
-a <params>
Specify parameters used when opening an audio output device. For ALSA, the format
<b>:<p>:<f>:<m> is used where <b> is the buffer time in milliseconds (values less
than 500) or size in bytes (default 40ms); <p> is the period count (values less
than 50) or size in bytes (default 4 periods); <f> is the sample format (possible
values: 16, 24, 24_3 or 32); <m> is whether to use mmap (possible values: 0 or 1).
For PortAudio, the value is simply the target latency in milliseconds. When the
output is sent to standard output, the value can be 16, 24 or 32, which denotes the
sample size in bits.So how would I put that in the „ALSA Parameter“ part under „Audioplayer“ I did a „a b32“ to say buffer time 32 in size. But I don’t think that is the right way to do it. They should show some examples on that man page.
-Raymond Day
- This reply was modified 4 years ago by Raymond Day.
25. Oktober 2020 at 14:23 #49904I think I have to increase the buffer size. Read „if hearing any clicks, pops. or other flitches. If the buffer size is too small“ is there a way to type in to ALSA Parameter something to do this. Right now just have „80:4::“ in there now. At the man page for squeezelite is shows command but is there one to increase the buffer size?
-Raymond Day
27. Dezember 2019 at 18:15 #47838So you can’t even get to the command line?
If you can just install Max2Play like I show here.
Or you can just see if installing the PI OS and then do them commands.
-Raymond Day
1. September 2019 at 9:22 #46951I see that but just see edit text files. I want to pint my remote to it and record some keys. How do I do that if can?
-Raymond Day
28. August 2019 at 15:39 #46905I want to record a remote to use it. How would I do that with Max2play? I have it on a Pi zero with a ANAVI Infrared pHAT how can I record the remote keys with this?
Thank you.
-Raymond Day
28. August 2019 at 15:23 #46904Just to to the „Password Protection“ tab on the web interface. Can type in your root password there and then just do a su root and type that password.
-Raymond Day
1. August 2019 at 13:53 #46631Wow the reboot fixed it. I clicked under blue tooth connect and it worked did not say disconnected right after. Playing music with it now. Just had to reboot.
=Raymond Day
- This reply was modified 5 years, 3 months ago by Raymond Day.
1. August 2019 at 13:46 #46628I wanted to test this out on my Pi 4 with 4GB RAM.
It works and I hooked it up to a blue tooth speaker and worked real good.
Went to bed and got up the next morning and went to play some music with it but it did not.
Said to connect to the blue tooth and it say’s connected and in about 3 sec. Say’s disconnected.
I did this like 10 times. Turn off and on the blue tooth and right away says connected then disconnected right after that.
Did all I could think of removed it and connected it again. Just did not reboot the Pi 4 I guess should do that.
Here is some info copy and past from it.
Agent registered
agent off
Agent unregistered
agent NoInputNoOutput
devices
Device 27:3A:57:40:2B:F5 T2
Agent registered
trust 27:3A:57:40:2B:F5
Changing 27:3A:57:40:2B:F5 trust succeeded
pair 27:3A:57:40:2B:F5
Attempting to pair with 27:3A:57:40:2B:F5
Failed to pair: org.bluez.Error.AlreadyExists
connect 27:3A:57:40:2B:F5
Attempting to connect to 27:3A:57:40:2B:F5
Device 27:3A:57:40:2B:F5 Connected: yes
Name: T2
Address: 27:3A:57:40:2B:F5
Icon: audio-card
Class: 0x340404
Paired: 1
Connected: 1#### Bluetooth Installation ####
#### Bluetooth Dongle ####
hci0: Type: Primary Bus: UART
BD Address: DC:A6:32:07:7E:85 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:157803 acl:331 sco:0 events:17345 errors:0
TX bytes:16760504 acl:33441 sco:0 commands:344 errors:0#### DEVICE T2 ####
[27:3A:57:40:2B:F5]
Name: T2
Alias: T2 [rw]
Address: 27:3A:57:40:2B:F5
Icon: audio-card
Class: 0x340404
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 1
UUIDs: [SerialPort, AudioSink, AVRemoteControlTarget, AdvancedAudioDistribution, AVRemoteControl, Handsfree, PnPInformation]#### BLUEALSA RUNNING ####
1-Raymond Day
- This reply was modified 5 years, 3 months ago by Raymond Day.
28. März 2019 at 1:52 #44912You can open this and unsolder the 3 wires to the battery. Then just solder the + and – on it can use a 5 volt USB cable with the ends cut off.
I used a flat tool from this set:
Tech Rescue Kit (46-Piece). You can see it at https://www.tekton.com/everybit-tech-rescue-kit-28301.
In the photo of it the top tool under the red pointer I used. On the sides between it and the back and put that took in and push down the back just snaps in.
I had this up for over 10 days all ready. Just power with a power 5 volt power supply.
Junk they don’t make it have OTG On The Go power. I can plug that cable in and use a none power USB hub and it powers a USB to Ethernet and keyboard and mouse. The keyboard is a lighted keyboard have on it too. Just need a good amp 5 volt power supply.
The back has a sticker over the hold at the bottom a black one with words on it. When got the back off and just push it off and I stuck it on another part of the back and ran the wires out that hole the black sticker was covering up.
Here is a good photo on there webpage of that tool
In Linux or Ubuntu it shows the battery going down over time but it don’t turn off when it goes to 0 like some cell phones do if you power them like this.
It will say up as long as you got power to it but it will think the battery goes down to 10% and looks like will not go lower then that. If with time it thinks it goes down you can not do a reboot. Have to turn off and on the power and it starts thinking the battery is 100% then. But slowly goes down but like I said it don’t turn off.
-Raymond Day
- This reply was modified 5 years, 7 months ago by Raymond Day.
- This reply was modified 5 years, 7 months ago by Raymond Day.
- This reply was modified 5 years, 7 months ago by Raymond Day.
- This reply was modified 5 years, 7 months ago by Raymond Day.
30. Januar 2019 at 23:05 #44276Wow I just thought of this all ready long ago put this on a Raspberry Pi Zero but not wireless. Max2play been working on my Pi Zero for as long as I posted it here. It still works just played a song on it yesterday.
So why can you have this supported? I got the Speaker Bonnet on it for the sound. A image for it?
I guess I installed the OS and then used the max2play script. Don’t remember good.
The little sound bonnet board can do big sound out of the sort of big speakers I have on it. It’s something with just the one small power supply it can do good bass out them.
-Raymond Day
28. Januar 2019 at 12:17 #44194I just got this working on another NanoPi-NEO-Air but this one has 32GB of eMMC. With the same NanoHat PCM5102A sound hat. One is not a Air but has Ethernet built in. The post I did on this 1st Air one has been up time real good and the server all ways sees it and the other one. So working real good.
I got this other air because I want to install it in a sound bar that has a rechargeable battery. Just got it working so next I will do that.
But right now the server is not showing there names I give them. It says „SqueezeLite“ „SqueezeLite 1“ and „SqueezeLite 2“
My main server is down now so I just installed a server with some songs on this new NanoPi-NEO-Air and that is how it shows the names of the players.
Does it take some time to get there right Playername?
-Raymond Day
28. Januar 2019 at 11:58 #44193I got Max2play working on 2 NanoPi-NEO-Air’s now with the NanoHat PCM5102A and that hat has a infrared receiver on it. Maybe this will work with it.
-Raymond Day
2. Januar 2019 at 14:46 #42996This is neat so then what can you say like for amazon Alexa to play a song and it will do it?
I put a power switch on my Max2play to just reset it easy when it don’t work. I named it max2play but Alexa don’t under stand that good you have to pick some other name besides max2play.
This would be neat if you could just say Alexa playmax song. So the key would be something like playmax to play a song from your songs on max2play.
-Raymond Day
28. November 2018 at 16:52 #42373They don’t run on the same power supply but both on the same battery back up.
How to I get the log from them?
Thank you.
-Raymond Day
5. Oktober 2018 at 6:54 #38398For $13 can get this one at Adafruit and it works very good. I have one with Max2play on it.
Made a YouTube video to showing this working.
-Raymond Day
29. September 2018 at 3:28 #38237About the LCD screen brightness. At lest the 7 inch touch one I have.
Went to try and test dimming it but so I went to this web site. Went to the folder /sys/class/backlight and did a git clone https://github.com/linusg/rpi-backlight.git because that folder is not there. But it says Permission denied and I log in as root. I guess it’s not a real root or I just don’t know why.
I was going to take the SD card out and mount it in another Ubuntu. But it’s to hard I would have to open up this hole case to get the SD card out.
If could do the dimming on the command line there are other web sites that say how to install a light sensor.
Tested tying it another way but it don’t work ether.
root@bed-max2play:~# pip install rpi_backlight Downloading/unpacking rpi-backlight Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement rpi-backlight No distributions at all found for rpi-backlight Storing complete log in /root/.pip/pip.log root@bed-max2play:~#
-Raymond Day
- This reply was modified 6 years, 1 month ago by Raymond Day.
29. September 2018 at 3:15 #38236O so your talking about VPN out of Max2play no into it?
29. September 2018 at 2:03 #38234I think this would not be to hard. I guess would have to put a light sensor on the GPIO pins so could dim the display when it get dark in the room. The Squeezebox radio all ready does this.
Don’t get why need VPN. What you want to log in to it from out side your LAN? But it just play at your home. Or just want to get on it only get on Max2play with a password?
-Raymond Day
25. September 2018 at 13:18 #38022They have a Intel Computer stick out too that you can buy for about $100 or less just look for it. STK1AW32SC I even have Plex server working on it good. Install Max2play on it too.
Have to make sure you have php installed for Max2play to work.
A command like this:
apt install php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php update-alternatives --set php /usr/bin/php7.2 a2enmod php7.2 systemctl restart apache2
Then can do what I said the post before this.
I plugged in a USB to audio and can get it to play out that.
It is something that only have this on little arm computers. The Raspberry Pi and Odroid both are ARM CPU’s. But this Intel stick has a 4 core 386 Atom type CPU in it.
Installed Ubuntu desktop on it.
Did not know that plex could run on this Atom CPU. Can turn on hardware decoding so it uses it’s GPU. Tested it with a 1080 video playing on things over my LAN and it works. The video’s are on a USB 3.0 320GB WD drive. Them drives now can find for just $20! It can hold a lot of MP4 movies.
-Raymond Day
18. September 2018 at 13:07 #37888I know that. Like I said „I know you don’t support this Intel stick but seems like it all most works with the Blue tooth built in this stick.“ It be nice if it could. I will look into it more see if I can fix it.
17. September 2018 at 18:38 #37880Installed mine on a Intel Corporation STK1AW32SC/Cherry Trail stick. It works good. But I did have to do a apt install squeezelite and make a link to it.
Have Beta-180917 and with the plug-in http://shop.max2play.com/media/downloadable/beta/bluetooth.tar
It does see my Blue tooth speaker but I can’t get it to connect.
It will say this:
Connecting to: 6C:5A:B5:4F:CA:38
Trusted: 1 -> 1
[6C:5A:B5:4F:CA:38]
Name: iHome iBT372
Alias: iHome iBT372 [rw]
Address: 6C:5A:B5:4F:CA:38
Icon: audio-card
Class: 0x240414
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 0
UUIDs: [Headset, AudioSink, AVRemoteControlTarget, AVRemoteControl, Handsfree]YOU PROBABLY NEED TO RESTART your AUDIOPLAYER (e.g. Squeezelite) to get it to work with Bluetooth!
The Degug information his this:
#### Bluetooth Installation #### #### Bluetooth Dongle #### hci0: Type: Primary Bus: USB BD Address: 00:21:5C:C6:B0:1E ACL MTU: 1021:5 SCO MTU: 96:6 UP RUNNING PSCAN RX bytes:1295 acl:0 sco:0 events:82 errors:0 TX bytes:2837 acl:0 sco:0 commands:82 errors:0 #### DEVICE Crasher Mini #### [00:50:00:00:19:D7] Name: Crasher Mini Alias: Crasher Mini [rw] Address: 00:50:00:00:19:D7 Icon: audio-card Class: 0x240404 Paired: 1 Trusted: 1 [rw] Blocked: 0 [rw] Connected: 0 UUIDs: [SerialPort, Headset, AudioSink, AVRemoteControlTarget, AVRemoteControl, Handsfree] #### DEVICE iHome iBT372 #### [6C:5A:B5:4F:CA:38] Name: iHome iBT372 Alias: iHome iBT372 [rw] Address: 6C:5A:B5:4F:CA:38 Icon: audio-card Class: 0x240414 Paired: 1 Trusted: 1 [rw] Blocked: 0 [rw] Connected: 0 UUIDs: [Headset, AudioSink, AVRemoteControlTarget, AVRemoteControl, Handsfree]
I rebooted and still same.
It my be that Max2play don’t know how to restart my Squeezelite. It I click Stop or Kill it can’t do it. May need to link it some other way.
I know you don’t support this Intel stick but seems like it all most works with the Blue tooth built in this stick.
22. Mai 2018 at 12:13 #35799This one works good ATXRaspi You should get it with the button too. It lights up to show you what it’s doing. You can hold it down to reboot of just press it to turn off. Have to install a little script to do it.
I even edit the code some to change what GPIO pin it uses and it works.
-Raymond Day
15. April 2018 at 8:01 #35186O so if you have it on „Auto“ then it’s just like normal then right? So it turns off the the shutdown button right?
But were does the „auto“ wire goes. Were do you put that wire. It just ends nothing is there on the schematic.
All so is the On/Off button stays on just a little time or does it stay on or off. So if you press the button does it keep the a continuation or not? So what type button is it. So is if a Momentary or toggle switch? The schematic just says On/Off so hard to know. I guess that means it is a toggle switch.
-Raymond Day
- This reply was modified 6 years, 7 months ago by Raymond Day.
- This reply was modified 6 years, 7 months ago by Raymond Day.
- This reply was modified 6 years, 7 months ago by Raymond Day.
14. April 2018 at 13:21 #35180Looking at the schematic it has a switch that is „Always on“ and the other side „Auto“ What is this for? Were the the „Auto side connect to?
-Raymond Day
12. Dezember 2017 at 17:10 #32905How did I install Max2play on it. I said it before this post. Mostly this line:
wget https://raw.githubusercontent.com/max2play/webinterface/master/install_max2play.sh
Then chmod that install_max2play.sh and run it with:
./install_max2play.sh
Chmod it like this „chmod 766 install_max2play.sh“. That makes it so you have permissions to run it.
-Raymond Day
12. Dezember 2017 at 17:04 #32901I got it to auto start Squeezelite and work on boot by putting this in /opt/max2play/custom_autostart.sh The hole file looks like this now.
#!/bin/bash #Custom Autostart File #Start squeezelite so Max2Play works on NanoPi NEO Air with NanoHat PCM5102A sudo -u root -H -s squeezelite -o hw:CARD=Pcm5102a,DEV=0 > /dev/null 2>&1 &
Rebooted it and went to it’s web page and says Status: Squeezelite is running with processID 1175 Your processID will be some other number.
All problems that I know of fix on this now!
-Raymond Day
- This reply was modified 6 years, 11 months ago by Raymond Day.
12. Dezember 2017 at 6:13 #32875From what I remember just downloaded a image for it 1st and put that on a SD card and set it up so I could log in to it and updated it.
Then did the commands to install Max2Play.
Can find images for the NanoPi Neo Air here.
I still have to run a „squeezelite -o hw:CARD=Pcm5102a,DEV=0“ on the command line to get it to play music with Logitech Media Server. It will say then that Status: Squeezelite is running with processID XXXX
I can try all the soundcard Select Audio output it list and start but it still don’t run! Just have to do that command on the command line and then in Max2play web page it says its running.
-Raymond Day
- This reply was modified 6 years, 11 months ago by Raymond Day.
25. September 2017 at 16:49 #31536One more command have to do so it sees the Soundcard:
ln -s /usr/bin/squeezelite /opt/squeezelite
Then can pick „Select Audio output“
-Raymond Day
14. September 2017 at 5:35 #31315To install Max2play I did this:
apt install apache2 php libapache2-mod-php php7.0-xml -y
wget https://raw.githubusercontent.com/max2play/webinterface/master/install_max2play.sh
ls
chmod 777 install_max2play.sh
ls
./install_max2play.sh
apt install squeezelite`That’s from the /root/.bash_history file.
So I guess any one can do it if you have Ubuntu installed on any system maybe.
-Raymond Day
-