https://bugs.kde.org/show_bug.cgi?id=380525

            Bug ID: 380525
           Summary: sox synth can not play white noise
           Product: plasma-pa
           Version: 5.10.0
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: 4xr6ah+4wznsmksoi...@sharklasers.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

# Overview:
play -n synth whitenoise gain -6
This command outputs white noise. Requires sox to be installed and it might be
loud (provided it works as intended). I use this command for various purposes,
including testing of audio output devices and further signal path.

# Steps to reproduce:
1) Download and install the package called sox
2) In the terminal, run "play -n synth whitenoise gain -6" (without the quotes)


# Actual results:

Terminal output:

shm_open() failed: No such file or directory
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Protocol
error

play FAIL formats: can't open output file `default': snd_pcm_open error:
Connection refused

Audio output: Nothing.


# Expected results:

Terminal output:

  Encoding: n/a           
  Channels: 1 @ 32-bit   
 Samplerate: 48000Hz      
Replaygain: off         
 Duration: unknown      

In:0.00% 00:00:02.05 [00:00:00.00] Out:98.3k [ =====|===== ]           Clip:0   

Audio output: White noise.


# Build Date & Platform:
I first experienced this around 2017.04.23, not sure what date it was but I
believe it was still on Plasma 5.9.4

# Additional information:

Hardware: Lenovo X230 with i5-3360m CPU.

└─$  sudo lspci -vvv -s '00:1b.0'
[sudo] password for me: 
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family
High Definition Audio Controller (rev 04)
        Subsystem: Lenovo 7 Series/C210 Series Chipset Family High Definition
Audio Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 30
        Region 0: Memory at f1530000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee002f8  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI
00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag- RBE-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
TransPend-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
                VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=1 ArbSelect=Fixed TC/VC=22
                        Status: NegoPending- InProgress-
        Capabilities: [130 v1] Root Complex Link
                Desc:   PortNumber=0f ComponentID=00 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=00 AssocRCRB-
LinkType=MemMapped LinkValid+
                        Addr:   00000000fed1c000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to