Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Moode Audio Player for Raspberry Pi
Moode Audio Player for Raspberry Pi
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 5th August 2017, 10:02 AM   #8691
Man in a van is offline Man in a van  United Kingdom
diyAudio Member
 
Join Date: Jan 2017
Location: Staffordshire
Quote:
Originally Posted by Zootalaws View Post
MoOde is a custom version of Raspbian which is itself a custom version of Debian Jessie.

LMGTFY
I too, used to employ lmgtfy quite a lot at one time, not so much now, as people don't seem to see the smiley side of life so much, or take the (gentle) hint, even .

Like the post though

ronnie
  Reply With Quote
Old 5th August 2017, 10:10 AM   #8692
philrandal is offline philrandal  United Kingdom
diyAudio Member
 
Join Date: Jan 2016
Location: Hereford, UK
First impression of Moode 3.8 with low-latency kernel on my Pi Zero with phatDAC is that it all sounds a bit cleaner than 3.6. Tested with flacs, mp3s, and 320kbps hifi streams.

Good work, Tim.

Phil
__________________
Pi Zero W + Pimoroni pHAT DAC / Pro-ject Elemental / Marantz CD6004 / Marantz PM6004 / Monitor Audio Bronze 2
  Reply With Quote
Old 5th August 2017, 10:27 AM   #8693
lukivision is offline lukivision  Germany
diyAudio Member
 
Join Date: Feb 2013
Hi Tim, hi all!

I would like to have a little more information about what happens, if I change the mp scheduler, the cpu governor and the kernels. What are the differences in technical ways and in hearing terms? What configuration would you recommend, to get the finest audio experience? Im using pi3 with allo boss.

Thanks in advance

Luki
  Reply With Quote
Old 5th August 2017, 12:01 PM   #8694
maywind is offline maywind
diyAudio Member
 
Join Date: Aug 2016
For not listed i2s device, can I have sorce codes?
Thank you very much in advance.
  Reply With Quote
Old 5th August 2017, 01:02 PM   #8695
Gos is offline Gos  Bulgaria
diyAudio Member
 
Join Date: Feb 2004
Location: Sofia
Hi

I was able to do some changes (on Moode 3.1) in player.db table to update some Radio stations names and adresses. For this purpose I used commands like these, using info taken from here:
PHP Code:
sudo sqlite3 /var/www/db/player.db "update cfg_radio set station='http://uk2.internet-radio.com:8358/stream' where name='1.FM - Blues Radio';"
sudo sqlite3 /var/www/db/player.db "update cfg_radio set station='http://stream.radioreklama.bg:80/radio1rock128', name='BG Radio 1 Rock' where id='21';" 
All is fine and this working. Now i have a bunch of BG radios (whit logos) , and some foreing station streams were updated.
But i want to put there more radios. Is there possibility to insert new rows to player.db table?
Something like this:
PHP Code:
sqlite3 /var/www/db/player.db "insert into cfg_radio (id, station, name, ???????, logo) values ('20', 'station_val','name_val','?????_val','logo_val'); 
But I'dont know the name used for fourth column.
I'm not shure about this, please help to me. What is the right way to insert new stations, or this isn't possible (maybe the table is locked).

Thanks in advance.
Genadi
  Reply With Quote
Old 5th August 2017, 01:37 PM   #8696
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by lukivision View Post
Hi Tim, hi all!

I would like to have a little more information about what happens, if I change the mp scheduler, the cpu governor and the kernels. What are the differences in technical ways and in hearing terms? What configuration would you recommend, to get the finest audio experience? Im using pi3 with allo boss.

Thanks in advance

Luki
Hi Luki,

I can offer the technical information below which is a reprint of the (i) help in System config screen, plus some additional info.

Linux kernel
============
Standard: mainline kernel for Raspbian.
Advanced-LL: low latency advanced audio kernel.
Advanced-RT: real-time advanced audio kernel.

LL and RT kernels support advanced I2S audio capabilities.
- Up to 384k sample rate for ES9023 and PCM512x codecs.
- Integer bclk divider for ES9023 codec on 48k/96k rates.
- DSD128 format support via 352.8k rate.
- Bypass OS filter on PCM512x, PCM514x, PCM524x via 384k rate.
- Fixed 64fs bclk ratio for 2 channel, 32/24/16 bit audio.
DISCLAIMER: Advanced kernels are experimental without any support or warranty.
Install can take several minutes. Reboot after completion message appears.

Additionally, the Advanced kernels do two things. One is that they include some audio capabilities that are not available in mainline Linux kernel although 384K rate is now in Linux mainline as of 4.9.40 :-) Two, they are configured and compiled with settings that enable a Low Latency or Real-Time task scheduling system. Tasks for example MPD or Squeezelite can be priortized so they are less likely to be preempted (yield the CPU to other tasks). Many computer audio enthusiasts perfer Low Latency or Real-Time kernels.

CPU Governor
============
On-demand: dynamically scales cpu frequency based on demand.
Performance: runs the cpu at maximum frequency.

Additionally, the Performance setting, since it runs the CPU at max frequency, will provide a more responsive moOde UI and perform tasks more quickly.

MPD scheduler policy
====================
TS: standard round-robin time-sharing policy.
FIFO: real-time fixed-priority First-In First-Out scheduling policy.
RR: real-time fixed-priority Round Robin scheduling policy.

Additionally, a task that is assigned the FIFO policy only yields the CPU when it is preeempted by a higher static priority task or if it voluntarily yields the CPU for example while waiting for an I/O to complete. The FIFO policy makes it less likely that the task will be preempted but can result in the task hogging the CPU and blocking other tasks.

A task that is assigned the RR scheduler policy runs for a certain time quantum and then yields the CPU. Within the time quantum that it runs it behaves exactly like FIFO. This reduces the likelyhood that the task will hog the CPU.

A task that is assigned the TS scheduler policy is set to static priority 0, the lowest priority and thus it can be preempted by FIFO and RR tasks at higher static priorities.

Refer to: sched(7) - Linux manual page

As a general guide, start with the following profiles:

Profile 1
Linux kernel: Standard
CPU governor: Performance
MPD scheduler: TS

Profile 2
Linux kernel: Advanced (Low Latency)
CPU governor: Performance
MPD scheduler: RR

Profile 3
Linux kernel: Advanced (Real-Time)
CPU governor: Performance
MPD scheduler: FIFO

Enjoy!

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio

Last edited by TimCurtis; 5th August 2017 at 01:42 PM. Reason: eta
  Reply With Quote
Old 5th August 2017, 01:38 PM   #8697
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by maywind View Post
For not listed i2s device, can I have sorce codes?
Thank you very much in advance.
Hi,

Best to wait until after I release the bugfix update which will be soon.

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 5th August 2017, 01:49 PM   #8698
Man in a van is offline Man in a van  United Kingdom
diyAudio Member
 
Join Date: Jan 2017
Location: Staffordshire
Tim,
I'm sure I saw in one of the trailer posts for the new version that you made, that a Hiface USB driver curtesey of Soundcheck) was to be included in the new release.

I'm trialling v3.8 today and it fails to reconise my NorthStar Essensio dac which has the first (HiFace1) OEM usb connection.

I tried with and without the USB (UAC2)fix to no avalable.

I did a shutdown and swapped the usb dac over to another model and upon restart the usb device was showing in the MPD Audio Output.

My simple question is, has this Hiface driver been implemented?

Thanks

Ronnie
  Reply With Quote
Old 5th August 2017, 01:54 PM   #8699
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Hi @Ronnie,

Driver is in Adv kernels

pi@rp3:~ $ ls -l /lib/modules/4.9.40-moode1/kernel/sound/usb/hiface/
total 24
-rw-r--r-- 1 root root 20916 Jul 31 05:11 snd-usb-hiface.ko

but I have no way of knowing whether there is some sort of special config that needs to happen before a Hiface device will use the driver.

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 5th August 2017, 02:29 PM   #8700
Man in a van is offline Man in a van  United Kingdom
diyAudio Member
 
Join Date: Jan 2017
Location: Staffordshire
Ah, I was on the Standard kernel, changed to Advanced-LL and it was recognised.

thanks

Ronnie

Quote:
pi@moode:~ $ ls -l /lib/modules/4.9.40-moode1/kernel/sound/usb/hiface/
total 24
-rw-r--r-- 1 root root 20916 Jul 31 10:11 snd-usb-hiface.ko
pi@moode:~ $ dmesg | grep snd-usb-hiface
[ 4.875593] usbcore: registered new interface driver snd-usb-hiface
pi@moode:~ $

Last edited by Man in a van; 5th August 2017 at 02:34 PM.
  Reply With Quote

Reply


Moode Audio Player for Raspberry PiHide 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Line Level 156 29th April 2017 11:10 PM
DSP for the Raspberry Pi usul27 Digital Line Level 39 30th August 2016 07:29 AM
Raspberry Pi + CirrusLogic Audio Card = FAIL solderhead PC Based 31 26th January 2016 06:48 PM
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player mikelangeloz PC Based 295 14th June 2014 05:32 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM


New To Site? Need Help?

All times are GMT. The time now is 10:16 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki