Shows and audio files - no sound ?

All the topics related to QLC+ on the Raspberry Pi
Post Reply
sikejsudjek
Posts: 2
Joined: Sat Apr 07, 2018 9:44 pm
Real Name: Andrew Manley

Hi have got the jessie image running and the lights are functioning normally via the web interface.

I have a show with a wav file - but I'm not getting any sound out of the pi, although the lights are ok. I've tried copying the wav file to /home/pi and checked the show also has /home/pi as the file location. Does loading a project transfer the wav file ?

Is there anywhere else I need to copy the wav file to ? Or is this a pi problem with the sound output (I've set it to default device in qlc and checked the volume level with alsamixer) so I'm not sure what else to do.

Thanks
Andy
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi, extra files are not copied via web.

I suggest you place the audio files in the same folder of the project on your PC. When you save the project, you'll notice that relative paths are saved in XML.
Then load the project via web on the RPi. Copy the audio files via ssh in the same folder of the project and it should work.
sikejsudjek
Posts: 2
Joined: Sat Apr 07, 2018 9:44 pm
Real Name: Andrew Manley

Thanks - fixed it now.

The path was incorrect in the project file, not sure why but it didn't copy the path correctly from my laptop, but it missed out the /home/pi path to the wav. Now it plays. :D
markzvo
Posts: 91
Joined: Sat Jan 28, 2017 1:52 am
Real Name: Mark Z

Just to confirm:

/home/pi

is where the audio files must go? I always have issue with broken audio every time I upload an updated show file and have to relink them all.
ted
Posts: 11
Joined: Thu Mar 03, 2016 5:44 pm
Real Name:

sorry for stupid questions , i`m beginner in stuff raspberry.

i logged in via ssh into raspian and now i don´t now how i copy the sound file from PC to raspberry.

I hope anywhere have an step by step solution for me.

i would like to make some small effects for christmas

greeting
ted
Posts: 11
Joined: Thu Mar 03, 2016 5:44 pm
Real Name:

Nobody :(
User avatar
GGGss
Posts: 3145
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

Use an USB stick

Code: Select all

mount
CP
or
basic ssh copy instructions:

Code: Select all

scp
Your question is not QLC+ related but goes to basic Linux knowledge
All electric machines work on smoke... when the smoke escapes... they don't work anymore
markzvo
Posts: 91
Joined: Sat Jan 28, 2017 1:52 am
Real Name: Mark Z

USB sticks won't work on the Pi image of QLC+ unless you run this first with an internet connection:
sudo apt-get update
sudo apt install usbmount
sudo apt install exfat-fuse exfat-utils

Also to transfer files from PC to the Pi, install WinSCP on your PC
In general, to know which IP address your Raspberry is using, go to the Input/Output panel of the QLC+ software and see which output the ArtNet and the E1.31 plugins are displaying... this IP address is what you should supply in WinSCP
ted
Posts: 11
Joined: Thu Mar 03, 2016 5:44 pm
Real Name:

What do I need a stick for?

I have set in the config force jack.

I have music file in /home/pi/****.mp3 copied.

Audio device in QLC build in Output saved.

Audio Configuration raspi Output default device, other devices don`t work either
markzvo
Posts: 91
Joined: Sat Jan 28, 2017 1:52 am
Real Name: Mark Z

A stick is just an option to transfer audio. I prefer WinSCP.

Your problem is likely that you have to tell QLC+ where the sound files are when you upload to the Pi. When I transfer my project to the Pi with the web interface, my sound doesn't work all of the time because QLC+ on the Pi looks for audio in "/root/.qlcplus"

The solution is to attach an HDMI monitor + keyboard/mouse, go to the function tab in QLC+, click on each audio file, then the "..." button, and re-point all the audio files paths to"/home/pi/"

I used about 30 files, and I have to do this every time I make a change and upload to the Pi. It's very painful, but in the end it all work and it is great.
User avatar
GGGss
Posts: 3145
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

And what if you change the paths before uploading to the pi?
The project file is a XML structured file so it can be edited with a text-editor.
Take a backup before you change the project file because if you break its structure it won't run anymore...
All electric machines work on smoke... when the smoke escapes... they don't work anymore
Post Reply