Thank you for your donation!


Soekris DAM1021
#1
Hi,

I just switched over from the Allo Boss to the Soekris DAM1021, It's running perfectly and the sound is awesome. 

I just wanted to know if anyone has any recommendations on settings for the Soekris?
Reply
#2
(01-03-2019, 10:25 AM)kolakidd Wrote: Hi,

I just switched over from the Allo Boss to the Soekris DAM1021, It's running perfectly and the sound is awesome. 

I just wanted to know if anyone has any recommendations on settings for the Soekris?

Hi,

I also have a DAM1021, working fine!..  I use a hard wired manual volume control, but I also have a ArDam1021 Remote control, I can use to set up and change filters and volume. (http://www.dimdim.gr/arduino/ardam1021-lite-project/).

What I am thinking about doing now is to enable the Dam1021 volume control as an integrated Hardware volume control operated by the Moodeaudio  playback GUI.
This has been done on Volumio, I cannot see why I cannot do the same for MoodeAudio  Here is the url for the original project:-
http://raw-sewage.net/articles/dam1021-raspberry-pi/.

This is a derivative of another hero's work: https://github.com/fortaa/dam1021. He has produced some python scripts and an API for the Dam1021

I am a bit busy at the moment, with DIY  installing down lighters in our lounge, but I will try to get the integration project moving

cheers for now

Patrick
Reply
#3
Quote:This has been done on Volumio, I cannot see why I cannot do the same for MoodeAudio  Here is the url for the original project:-

http://raw-sewage.net/articles/dam1021-raspberry-pi/.

That's very clever!

Just keep in mind that the mpd.conf file is automatically generated by moOde, so you'll have to modify /var/www/inc/playerlib.php (or come up with another hack) to include your dummy ALSA device(s) in the output.

Regards,
Kent
Reply
#4
The CLI utility at the link you posted is what I would use to integrate the 1021.
https://github.com/fortaa/dam1021

Some questions are:

1) What's the mapping between moOdes 0 - 100 volume scale and the DAM's -80 - 10
2) Should the mapping be logarithmic or linear?
3) What volume setting = mute?

-Tim
Reply
#5
One other question:

Does the CLI utility API also work with the other DAM models?
Reply
#6
@Tim Curtis    Hi, I thought I had seen a reference to othe Dam models somewhere in Git hub, but I cannot find it now. I cannot remember what it said.  If I come across it I will let you know.

@All

I have just screwed up my Moodeaudio 4.4 right royally!.   Unfortunately I did not bother to log the terminal in/output, so I am not sure where I screwed it up.

I was having a LOT of trouble getting all the python prereqs lined up. The problem one, which I still have not got yet was  python xmodem!  Its been about since the early 2000's, but I cannot find an up-to-date method for it.  If anyone knows the way to install xmodem please let me know.

I am rebuilding the sd and starting again from scratch.   I think my first job is to get the serial comms working, using the python dam1021  script, running standalone, that enables updates, filter changing and volume. Once I have that  working then I will hopefullyprogress to the mpd control

And I will run script on the terminal and capture everything I do!

to be continued

P
Reply
#7
You mean you literally can't get xmodem? Reading your post, I highlighted "python xmodem" in my Chrome browser and right-clicked to select "Search Google for python xmodem". The first hit was https://pypi.org/project/xmodem/
 
You can use pip to install the package: https://packaging.python.org/tutorials/i...-packages/
xmodem and its follow-ons ymodem and zmodem were my daily companion back in the 1980s when CP/M on homebrew computers was the hacker's playground.
Regards,
Kent
Reply
#8
(01-10-2019, 02:48 PM)TheOldPresbyope Wrote: You mean you literally can't get xmodem? Reading your post, I highlighted "python xmodem" in my Chrome browser and right-clicked to select "Search Google for python xmodem". The first hit was https://pypi.org/project/xmodem/
 
You can use pip to install the package: https://packaging.python.org/tutorials/i...-packages/
xmodem and its follow-ons ymodem and zmodem were my daily companion back in the 1980s when CP/M on homebrew computers was the hacker's playground.
Regards,
Kent

Hi Kent,

Returned to my "broken"  moodeaudio, repeated the usual pip instal dommand. This time from the base  moodeaudio directory not my  dam1021 virtual environment. 

Xmodem installed fine!

I need to look at  virtual environments, and permissions I am not really up to speed with this!,   Can I install python components inside the environment, or do I have to install all the python component prerequsites  globally?

Gradually moving forwards a tiny step at a time.

P
Reply
#9
Hi,

Got the dam1021 cli working.... last problem was I installed serial instead of pyserial Now got a problem with the physical serial wiring, I probably picked the wrong pins again, need some new eyes!

P
Reply


Forum Jump: