Hardware volume

Hi Coolheinze,
We are very sorry for the trouble we have caused you and will confirm and deal with this matter in time.

1 Like

Add the default maximum volume output firmware.

Hi all, it’s the noob writing again.:baby:

I’m trying to build an controller routing 4 channels using I2S - 2 for the stereo DAC and 2 for the 8 channel external connector.

So far, I’ve extracted the original firmware via Xtag3 and (tried to) port the Xmos USB Audio 2.0 framework with limited success. :slight_smile:

If I don’t touch port 4D, the DAC doesn’t play, of course, but the I2S comes through the USB nicely. But it seems that when I try to init the DAC using port 4D, setting the reset pin low and high, I lose USB connection to the board. :thinking:

I see that the 8-bit RX port 8B shares pins with 4D, so I’m guessing there’s a conflict. :face_with_monocle:

Is that correct?
If so, how on earth do I solve it?
What else am I missing? :wink:

Cheers…

1 Like

@Ben007 why not publish a step-by-step instruction how to upgrade the TB for hardware volume control instead of just pointing to a few downloads? Otherwise this is not going to work without someone bricking the board.
My board is in Europe and when I brick it, I don’t want to have to order a new one with shipping and customs duty on top…

This maybe help you!
https://docs.khadas.com/toneboard/HowtoUpgradeFirmware.html

upgrade done from linux, but i cannot tell the difference from my android 4.4 tablet driving the toneboard!

toneboard-burn-tool -i Khadas_Tone_Board_dfu_1226.bin
Upgrading ToneBoard firmware...
VID = 0x1d6b, PID = 0x3, BCDDevice: 0x420
VID = 0x20b1, PID = 0x8, BCDDevice: 0x6c5
ToneBoard DFU application started - Interface 2 claimed
Detaching device from application mode.
Waiting for device to restart and enter DFU mode...
VID = 0x20b1, PID = 0x8, BCDDevice: 0x6c5
... DFU firmware upgrade device opened
... Downloading image (Khadas_Tone_Board_dfu_1226.bin) to device
... Download complete
... Returning device to application mode

After upgrading to the “Khadas_Tone_Board_dfu-2018-1226-Upgrade-Firmware”, I experience volume control issues with DSD64 and DSD128 files. They only play with volume set to 100%, anything else results in loud white noise. The lower the volume is, the louder the noise gets
When I play the same files with “DSD over PCM”, volume also needs to be set to 100%, below that I get no sound at all (no white noise).
Non-DSD files play fine when using volume control.
Anyone else with these issues?

Volumio states that DSD must always be played at 100%. I suppose that is another fundamental principle of DSD, like the general impossibility to modify or edit the stream…?

Personally, I also used to believe that the volume is modified by the DAC after the conversion to analog and not before. It seems I was wrong?

1 Like

Yes, playing DSD at 100% was Volumio’s finding for an x20 based DAC (like the toneboard).
But it is still not clear, whether our finding is correct and in case it is, should hardware volume control should not prevent lower settings? I realize, this would cause serious issues when a “playlist” would consist of mixed dsds and non-dsd files, in that case it would be nice not to have the white noise output, better would be just silence

good evening.I wondered if there is news on a possible rotary encoder to use for the volume.thanks

I need an answer. It does not matter if it is positive or negative. I do not want you to give me control, but only to know if it must be a potentiometer or a touch. without this information I can not buy khadas tone board

They added support for volume +/- signals on the not-very-friendly extension connector. I have found some online suggestions on how to design simple circuits to convert rotary encoder impulses into +/- signals, but that needs some time and basic capabilities to implement, experiment with and tune.

You can also try to control your player directly. Volumio has a simple plugin for rotary encoder connection via GPIO.

Anyway, I also hope for better support for extensions - but Khadas would probably need (and deserve) broader interest to be able to fulfil all our wishes… :slight_smile:

3 Likes

Thank you my friend.

I decided to buy khadas tone board. I do not know that volumio works hardware mixer. no one has tested it yet. if it does not work, I make one of these circuits to convert the pulses of the rotary encoder.

I can not find anything. do you have a link or suggestions? thank you

Search for “rotary encoder to up down” or something similar. For example, here are some ideas:

2 Likes

WIndows and No doubt other devices many be implemented

Shuttle Xpress bit expensive 60US$ options to be had USB interface to PC
Used for Video Editing and many other uses
All Ideas for those clever people out there in Khadas Land :smiley:

ShuttleXpress_Black_72dpi-350x350

website: http://forum.contourdesign.com

3 Likes

Caro connazionale questo non c entra nulla con il thread. Sei fuori tema.dobbiamo sempre farci riconoscere

Is it possible to use an IR-led and use the remote control function in my cellphone, or some other remote control laying around the house? (I have tossed out many IR remotes for obsolete devices).
This would be cheap and simple to implement, maybe on the VIM2 board?
Ooops, I just saw that IR detector on the VIM and the low cost remote.
Can it control volume?

Good evening. I received my new Khadas tone (generic) from audiophonics. I hooked it up on my x86 volumio machine through usb, selected hardware volume, dsd direct and connected RCA output to my power amplifier. Problem is I have no sound output at all! Only when raising near 100 there is faint sound output. When I chose a DSD 64 file I got loud white noise and my amplifier clipped (thank god both my speakers and amp have protection circuits). I tried again with no mixer (none) selected (volume constantly on 100) and through my integrated amplifier. Again low volume output barely audible when my amp pot near max and white noise on DSD playback.

Any ideas?