Moode Audio Player for Raspberry Pi

What does "sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" return?

1000000 or 700000? (On my advanced kernel 3.1 on a Pi3 at idle it shows 600000 - 600MHz).

The processor has on-demand over locking, so a check of the current speed, unless it's grinding something out, should show 700MHz (idle speed).

To check whether on-demand is working, a simple do;while loop will ramp cpu things up without stressing peripheral components: while true;do :;done&

Again, on my Pi3 it stresses one core and pushes the clock from 600000 to 1200000


There are also the following in Jessie:

maximum/auto-overclocked CPU frequency: sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq

minimum/idle CPU frequency: sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq

current CPU frequency: sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

If you get an error, your kernel is outdated.
 
Last edited:
Hi,

The new 3.0 version of shairport-sync offers some really nice settings so its getting a dedicate config page in Moode 3.5 🙂

-Tim
 

Attachments

  • moode-r35-airplaycfg1.png
    moode-r35-airplaycfg1.png
    118.5 KB · Views: 312
hello Moode experts -

I am totally new to Rpi audio, so apologies for dumb newbie questions.

My goal is to build a small portable battery powered player with local storage (SSD), built around the Allo product range.

What I am not understanding is how to set it up so that I can control the playback from an Iphone.

Ideally there would be an App for IOs which allows convenient control designed for the small screen.

Accessing through a browser would work but I am guessing the interface is designed for a computer monitor sized display.

In this situation, is the IPhone communicating with the RPi via wifi?

Also, I would love to have a high quality mechanical volume control instead of using the Phone for level control - what is the best option? (this would be a physical device connected to the RPi.)

Is there a step by step guide for configuring such a system?

Colin
 
What you are asking for is what Moode does - control via web page, over wifi.

It isn't designed to use a monitor, it is 'headless'

For a portable battery-powered device it's great - it creates its own wifi AP, so while in the wilds, you connect to that and pick your playlist.

That was my first Pi device: used a small motorcycle battery, some spare coaxial car speakers and a Pi2 with IQ Audio Amp+ (dac with 20w amp).

My wife still has it in her classroom.

It also has a potentiometer attached for volume and there's a setting in the configuration for enabling pot volume.

The instructions are simple - download, burn SD, power up. You will find Moode on its own AP (assuming you have a compatible wifi adapter or a Pi3/ZeroW) at which time you can configure. All the info you need is in the readme. I can't attest to the compatibility of Allo devices, I'm sticking with IQ Ausio - always been a winner for me.

Do a search for 'potentiometer' in this forum thread and you should find a number of examples.
 
Last edited:
Hi Phil,

I think thats in the new 4.9 branch which is really a WIP at this point and not very stable. I think the only option at this point is 4.4.50 which worked on your 0W integrated WiFi and is looking good on my end.

-Tim

Hi Tim,

I copied the latest boot files (fixup* and start*) as above into /boot and rebooted.

Using the 4.4.50 kernel with those updated boot files and the Pi Zero W is now clocked properly at 1GHz.

Cheers,

Phil
 
Hi Tim,

I copied the latest boot files (fixup* and start*) as above into /boot and rebooted.

Using the 4.4.50 kernel with those updated boot files and the Pi Zero W is now clocked properly at 1GHz.

Cheers,

Phil

That almost worked... Screwed up hardware ID in /proc/cpuinfo.

Back to adding

arm_freq=1000
gpu_freq=300
core_freq=400
over_voltage=6

in /boot/config.txt
 
My moode 3.1 lost usb hdd after write ripped data from pc.
Due to ripping machine is windows, my usb hdd formatted by hpfs with maximum segment size.
I tried several times and could not get usb hdd from mpd source menu.
Last time, I hooked it up by several try and this time seems not.

What can I do... Ineed someone to advice me.
 
My moode 3.1 lost usb hdd after write ripped data from pc.
Due to ripping machine is windows, my usb hdd formatted by hpfs with maximum segment size.
I tried several times and could not get usb hdd from mpd source menu.
Last time, I hooked it up by several try and this time seems not.

What can I do... Ineed someone to advice me.

What size hard disk?

Attach it back to your PC and right-click the drive letter, properties / tools /check drive (and repair if necessary).

Then properly eject the disk from windows and try again.

Phil
 
Thank you for your advice and I did it with Windows PC and MAC also several times and in vain. HDD is 3TB HDD and had no trouble with check drive by what you mentioned.

Also I encountered no problem under MAC OS.
Anyway, something would be wrong.
Last time, I tried as you mentioned before and raspberry pi hook up USB hDD accidentally. After hooked once, I had no problem.

Anyway, my trial would be right and I'll try when I have time again later.
Thank you for your advice again.
 
is there an IOs app, or browser only? If browser only is it user friendly?

Can anyone recommend a specific mechanical volume control?

Can anyone think of step by step guide which explains how to set this up?

Thanks!

It's web based, only. Save the web page to your desktop on both iPad and iPhone and it acts just like an app.

As to volume control, you can do it two ways: with a rotary encoder (digital) or a potentiometer (analog). Which way you choose is up to you, but a rotary encoder function is built in to Moode - all you have to do is connect it up and check the configuration box.

A pot has a finite throw, usually about 270deg, where an encoder just keeps turning in each direction and acts in a vol up/vol down manner.

Search for 'rotary encoder' in this thread and look at this article: https://www.modmypi.com/blog/how-to-use-a-rotary-encoder-with-the-raspberry-pi

The connections for Moode are: GPIO pins 23, 24 and GND.

A low-priced digital rotary encoder:

https://www.aliexpress.com/item/Ori...-5Pin-handle-length-20mm-free/1569311119.html

I used one similar, although you can spend a few bucks more and get an Alps if such things matter to you.
 
Last edited:
Thank you for your advice and I did it with Windows PC and MAC also several times and in vain. HDD is 3TB HDD and had no trouble with check drive by what you mentioned.

Also I encountered no problem under MAC OS.
Anyway, something would be wrong.
Last time, I tried as you mentioned before and raspberry pi hook up USB hDD accidentally. After hooked once, I had no problem.

Anyway, my trial would be right and I'll try when I have time again later.
Thank you for your advice again.

I think 2 TB is the limit
 
That almost worked... Screwed up hardware ID in /proc/cpuinfo.

Back to adding

arm_freq=1000
gpu_freq=300
core_freq=400
over_voltage=6

in /boot/config.txt

I see that there's a new update to Raspbian out with full Pi Zero W support:

"2017-03-02: * Updated kernel and firmware (final Pi Zero W support)"

Off to do a

sudo apt-get install --reinstall raspberrypi-bootloader

to see what happens.

Phil
 
Last edited:
Hi Phil,

Thanks. I'm going to boot up stock J-Lite 2017-03-02, extract the kernel and do some testing.

-Tim

Doing an

apt-get dist-upgrade

now does the right thing too.

With a slight edit to moode's playerlib.php to recognise the Pi Zero W -

'2082' => 'Pi-3B 1GB',
'00c1' => 'Pi-Zero W 512MB'

- we see the following in About Moode
 

Attachments

  • Pi Zero W.PNG
    Pi Zero W.PNG
    10 KB · Views: 322