Volumio, Raspberry-pi and hardware volume control - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 3rd June 2014, 06:11 PM   #1
diyAudio Member
 
Join Date: Feb 2002
Location: Lille
Default Volumio, Raspberry-pi and hardware volume control

Hello,

I just discovered this very good volumio installed on a raspberry pi, and connected via I2S on a DAC I made.
I want to add a hardware volume control like a motorized pot or other digital pot. Do you know if it is possible to find a piece of software that will work with volumio, and that can output the volume level on som gpio ports of the raspberry, without changing the volume level of the audio digital stream??

Thanks
Best regards
Hugues
  Reply With Quote
Old 6th June 2014, 01:10 AM   #2
diyAudio Member
 
Join Date: Feb 2002
Location: Lille
Nobody have ideas???
  Reply With Quote
Old 6th June 2014, 06:48 AM   #3
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
There are countless ways but all require a bit of HW hacking and SW coding on your side.

It is possible to make an alsa plugin which defines a volume control for alsa applications, while communicating via serial port (or I2C). For inspiration see alsa plugin for controlling Arcam AV receiver https://github.com/Themaister/alsa-p...EADME-arcam-av git.alsa-project.org Git - alsa-plugins.git/tree - arcam-av/

Linux offers user space I2C tools in the lm-sensors package

I2CTools ? lm-sensors

i2cToolsDocumentation ? lm-sensors

The tools seem to work OK with my onboard integrated I2C ports, I do not know if the I2C ports of RPi will be detected too. If so, you can easily write a script to write/read via your I2C, controlling any volume control device.

But again, it takes a bit of hacking.
  Reply With Quote
Old 6th June 2014, 10:35 PM   #4
diyAudio Member
 
Join Date: Feb 2002
Location: Lille
Thanks for your answer. I looks like it's not very easy to do.... I will study it...

Hugues
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Source 140 15th August 2014 11:53 AM
DSP for the Raspberry Pi usul27 Digital Line Level 28 25th June 2014 06:44 AM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM
Raspyfi (raspberry pi) regulators kentdream Digital Source 0 18th November 2013 07:59 AM
Raspberry Pi & accessories Nikitas Swap Meet 5 5th July 2013 11:47 AM


New To Site? Need Help?

All times are GMT. The time now is 01:04 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2