All times are UTC+01:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sat Apr 13, 2019 9:12 pm 

Joined: Tue Dec 06, 2016 7:51 pm
Posts: 8
I fought for a long time to run stereotool the way I wanted. Not by jackd only stand alone, where you know what music card is on the input and what's on the output. Therefore I decided to do a tutorial for posterity: P how to run stereotool_gui_pi2 with vlc on raspberry pi3 with generated MPX and RDS.
We all know how to download and assign permissions for the program.
at the beginning we install pavucontrol.

$ sudo apt-get install pavucontrol

edit the default.pa file

$ sudo nano /etc/pulse/default.pa

we're looking for a ruler
# load-module module-null-sink
and we change to
load-module module-null-sink
we save the file with changes.

we should see null Output in the recording settings on the music card

Image

in the vlc program in the Audio tab - audio devices - null output

Image


we start alsa first
$ jackd -d alsa -p 4096 -n 4

Image


and run stereotool_gui_pi2

Image

in the input card default (ALSA) tab

Image

Image

Image

and in FM Output a usb card.
I use REIYIN Audio usb 192khz and everything on it is MPX and RDS.

http://www.aliexpress.com/w/wholesale-2 ... z-dac.html



it is known that it is raspberry but still the quality of the whore is satisfactory considering quality 40%
of course, I run everything remotely via PUTTY or ssh.

https://streamable.com/gvhft

sorry for my english google translate


Top
   
PostPosted: Thu Feb 03, 2022 4:23 am 

Joined: Thu Feb 03, 2022 3:42 am
Posts: 2
hello brother..
I tried your tutorial on linux but null output does not appear in the input options of the stereo tool.. is there any enlightenment for me? thanks please reply diancoxz7@gmail.com
Image


Top
   
PostPosted: Thu Feb 03, 2022 4:27 am 

Joined: Thu Feb 03, 2022 3:42 am
Posts: 2
Image
I tried again and again, it couldn't appear on the input of the stereo tool...is it because of the version of the stereo tool..
can i have stereo tool for linux for earlier version which can show null audio


Top
   
PostPosted: Sun May 01, 2022 10:34 pm 

Joined: Tue Dec 06, 2016 7:51 pm
Posts: 8
You need to switch version of stereo tool from JACK to ALSA. Then set up chmod and run the stereotool. In the pavucontrol mixer there will be a recording tab and to record from the source "monitor of null output" it feels like this. It will show you on ubuntu but not ARM. Of course, music goes from VLC, exit from VLC to null output, recording stereotool from this source and exit from stereotool to any card you want.

and we don't need start alsa
$ jackd -d alsa -p 4096 -n 4


Image

Image

Image

see input

Image

and output

Image


Top
   
PostPosted: Sun Jun 05, 2022 2:04 pm 

Joined: Fri Oct 15, 2021 3:58 pm
Posts: 6
did you force the output usb sound card to 192khz?

I have it working like this, but no stereo and rds. I think its because of a wrong sample rate.
I put sample rate in stereotool to 192khz

i am using this as output card:
https://nl.aliexpress.com/item/10050023 ... 4064%21sea

looks like its not running at 192khz:
Code:
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Audio [SONATA HD Audio], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
pi@raspberrypi:~ $ cat /proc/asound/card1/pcm0p/sub0/hw_params 
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 720
buffer_size: 2880
pi@raspberrypi:~ $ 


Top
   
PostPosted: Sun Jun 05, 2022 7:03 pm 

Joined: Fri Oct 15, 2021 3:58 pm
Posts: 6
hmm, i notice that my null output from vlc is mono. '
When i switch VLC to my normal output the stream is stereo. No idea where to fix that
edit:
sorry, my fault. Of course it is when i switch on 'encode stereo'


Top
   
PostPosted: Sun Jun 05, 2022 8:40 pm 

Joined: Fri Oct 15, 2021 3:58 pm
Posts: 6
i have ST working with this $4 soundcard: https://nl.aliexpress.com/i/4000049731410.html
192kHz output


Top
   
PostPosted: Mon Jun 13, 2022 5:23 pm 

Joined: Tue Dec 06, 2016 7:51 pm
Posts: 8
my card

https://pl.aliexpress.com/item/32955530378.html

and works full MPX on linux ( raspberry ) or windows 7 , 8 etc


Top
   
PostPosted: Wed Aug 31, 2022 9:13 pm 

Joined: Wed Aug 31, 2022 9:03 pm
Posts: 3
Hi,

I have a working version of Raspbian / StereoTool v9.52 available as a downloadable SD card image for a Pi3/Pi4 if you want to give it a try. File available here ... https://drive.google.com/file/d/1eC2E4g ... sp=sharing

And user guide available here ... https://drive.google.com/file/d/15GqlSb ... sp=sharing

It can run with either a live soundcard input or by using VLC as a playback device. This worked well for me last year, so even though the versions of both Raspbian and ST have been updated since then, it should still be fine today. Hope it helps.

Rodney.


Top
   
PostPosted: Sun Aug 20, 2023 11:56 pm 

Joined: Sun Aug 20, 2023 11:30 pm
Posts: 1
Hi Rodney,

Really nice bit of software you have got there.

Can I ask some questions please:-

* where did you please the autostart of stereo tool?
* whenever you update the software using apt-get update then apt-get dist-upgrade it breaks everything?
* my mate is using the rpi 4b with 2Gb RAM it doesn't work on it it says please update software and fails to load up?

Any chance you could upset your image to meet the updated requirements of stereo tool, vlc and kernel please?

Many thanks

Richard Newberry


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+01:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited