No sound whatsoever

I recently downloaded the portable app version of Sonic Pi for Windows 10 and installed it to a flash drive I have, but the program produces no sound when tested with any of the tutorial loops. Note that this is a fresh install, aside from setting the program to dark mode I haven’t modified the settings at all (and it didn’t work in light mode either).

Most curiously, the volume mixer shows sound is playing, and corresponds to the loop, as you can see here:

.wav files can also be recorded, and their length matches the correct length of the recording, but again, there is no sound.

The logs show no errors that I can find:

debug.log is empty

erlang.log

±-------------------------------------+
This is the Sonic Pi IO Server
Powered by Erlang “22”

   API listening on port 51240	       
    Incoming OSC on port 4560	       

OSC cue forwarding to {127,0,0,1}
on port 51235
±-------------------------------------+

Enabling cue forwarding
Enabling cue forwarding

gui.log

[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -
[GUI] - {d0c57ef3-01a1-4807-9f2c-9a6dedc459ad}
[GUI] - Discovering port numbers…
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry osc-midi-out : 51238 : 51238
[GUI] - Port entry osc-midi-in : 51239 : 51239
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51240 : 51240
[GUI] - Port entry websocket : 51241 : 51241
[GUI] - Detecting port numbers…
[GUI] - GUI listen to server port 51236
[GUI] - port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] - port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] - port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] - port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] - port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] - port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] - port: 51237 [OK]
[GUI] - Erlang router port 51240
[GUI] - port: 51240 [OK]
[GUI] - OSC MIDI out port 51238
[GUI] - port: 51238 [OK]
[GUI] - OSC MIDI in port 51239
[GUI] - port: 51239 [OK]
[GUI] - Websocket port 51241
[GUI] - port: 51241 [OK]
[GUI] - All ports OK
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - Ruby server pid registered: 17468
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot…
[GUI] - starting UDP OSC Server on port 51236…
[GUI] - UDP OSC Server ready and listening

[GUI] - Sonic Pi Server successfully booted.
[GUI] - waiting for Sonic Pi Server to respond…

[GUI] - Sonic Pi Server connection established
[GUI] - honour prefs
[GUI] - asking OSC server to start
[GUI] - cue port in internal mode
[GUI] - update prefs icon
[GUI] - toggle icons
[GUI] - full screen
[GUI] - load workspaces
[GUI] - loading workspaces
[GUI] - load request Version
[GUI] Change Volume to 74
[GUI] - boot sequence completed.
[GUI] - asking OSC server to start
[GUI] - cue port in internal mode
[GUI] - writing settings
[GUI] - stopping OSC server
[GUI] - stopping UDP OSC Server…
[GUI] - saving workspaces
[GUI] - UDP OSC Server no longer listening
[GUI] - asking server process to exit…
[GUI] - executing exit script
[GUI] - exiting. Cheerio :slight_smile:

osmid_m2o and osmid_o2m are both empty

processes.log

No pids store found here: C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids
Exiting
Creating pids store: C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids
Started [17468] [-] “E:\Sonic Pi Portable\App\Sonic Pi\app\gui\qt\build\release…\app\server\native\ruby\bin\ruby.exe” --enable-frozen-string-literal -E utf-8 “E:\Sonic Pi Portable\App\Sonic Pi\app\gui\qt\build\release…\app\server\ruby\bin\sonic-pi-server.rb” -u 51235 51236 51237 51237 4560 51240 51238 51239 51241 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/17468
Started [18580] [-] “E:\Sonic Pi Portable\App\Sonic Pi\app\server\native\scsynth.exe” -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U “E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/plugins/” -b 4096 -B 127.0.0.1 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/18580
Started [14148] [-] “E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/erlang/bin/erl.exe” -noshell -pz “E:/Sonic Pi Portable/App/Sonic Pi/app/server/erlang” -s pi_server start 51240 4560 51235 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/14148
Started [4684] [-] ‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/o2m.exe’ -L -b -i 51238 -O 51239 -m 6 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/4684
Started [8348] [-] ‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/m2o.exe’ -t /midi:$n:$i:$c/$m -b -o 51239 -m 6 ‘Sonic Pi’ [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/8348

Clearing pids: [“14148”, “17468”, “18580”, “4684”, “8348”]

Clearing [14148]
– command “E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/erlang/bin/erl.exe” -noshell -pz “E:/Sonic Pi Portable/App/Sonic Pi/app/server/erlang” -s pi_server start 51240 4560 51235
– removing C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/14148
– force killing 14148
– killed 14148

Clearing [17468]
– command “E:\Sonic Pi Portable\App\Sonic Pi\app\gui\qt\build\release…\app\server\native\ruby\bin\ruby.exe” --enable-frozen-string-literal -E utf-8 “E:\Sonic Pi Portable\App\Sonic Pi\app\gui\qt\build\release…\app\server\ruby\bin\sonic-pi-server.rb” -u 51235 51236 51237 51237 4560 51240 51238 51239 51241
– removing C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/17468
– unable to get ProcTable info for: 17468
– process: 17468 not running

Clearing [18580]
– command “E:\Sonic Pi Portable\App\Sonic Pi\app\server\native\scsynth.exe” -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U “E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/plugins/” -b 4096 -B 127.0.0.1
– removing C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/18580
– unable to get ProcTable info for: 18580
– process: 18580 not running

Clearing [4684]
– command ‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/o2m.exe’ -L -b -i 51238 -O 51239 -m 6
– removing C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/4684
– force killing 4684
– killed 4684

Clearing [8348]
– command ‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/m2o.exe’ -t /midi:$n:$i:$c/$m -b -o 51239 -m 6 ‘Sonic Pi’
– removing C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/8348
– force killing 8348
– killed 8348

Finished clearing pids

scsynth.log

Starting SuperCollider 2020-11-06 15:54:52

Device options:

  • MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
  • MME : Headset (MPOW-059 Hands-Free AG (device #1 with 1 ins 0 outs)
  • MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
  • MME : Headphones (MPOW-059 Stereo) (device #3 with 0 ins 2 outs)
  • MME : Speakers / Headphones (Realtek (device #4 with 0 ins 2 outs)
  • MME : Headset (MPOW-059 Hands-Free AG (device #5 with 0 ins 1 outs)
  • Windows DirectSound : Primary Sound Capture Driver (device #6 with 2 ins 0 outs)
  • Windows DirectSound : Headset (MPOW-059 Hands-Free AG Audio) (device #7 with 1 ins 0 outs)
  • Windows DirectSound : Primary Sound Driver (device #8 with 0 ins 2 outs)
  • Windows DirectSound : Headphones (MPOW-059 Stereo) (device #9 with 0 ins 2 outs)
  • Windows DirectSound : Speakers / Headphones (Realtek Audio) (device #10 with 0 ins 2 outs)
  • Windows DirectSound : Headset (MPOW-059 Hands-Free AG Audio) (device #11 with 0 ins 1 outs)
  • ASIO : Realtek ASIO (device #12 with 2 ins 2 outs)
  • Windows WASAPI : Speakers / Headphones (Realtek Audio) (device #13 with 0 ins 2 outs)
  • Windows WASAPI : Headphones (MPOW-059 Stereo) (device #14 with 0 ins 2 outs)
  • Windows WASAPI : Headset (MPOW-059 Hands-Free AG Audio) (device #15 with 0 ins 1 outs)
  • Windows WASAPI : Headset (MPOW-059 Hands-Free AG Audio) (device #16 with 1 ins 0 outs)
  • Windows WDM-KS : Speakers (Realtek HD Audio output) (device #17 with 0 ins 2 outs)
  • Windows WDM-KS : Microphone (Realtek HD Audio Mic input) (device #18 with 2 ins 0 outs)
  • Windows WDM-KS : Stereo Mix (Realtek HD Audio Stereo input) (device #19 with 2 ins 0 outs)
  • Windows WDM-KS : Headphones () (device #20 with 0 ins 2 outs)
  • Windows WDM-KS : Headset (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free AG Audio%0

;(MPOW-059)) (device #21 with 0 ins 1 outs)

  • Windows WDM-KS : Headset (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free AG Audio%0

;(MPOW-059)) (device #22 with 1 ins 0 outs)

Requested devices:
In (matching device NOT found):

  • (null)
    Out (matching device NOT found):
  • (null)

Selecting default system input/output devices

Booting with:
In: MME : Headset (MPOW-059 Hands-Free AG
Out: MME : Headphones (MPOW-059 Stereo)
Sample rate: 44100.000
Latency (in/out): 0.013 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver’s block size = 64
SuperCollider 3 server ready.

server-errors is empty

server-output.log

Sonic Pi server booting…
This is version 3.2.0 running on Ruby 2.7.1.
The time is 2020-11-06 15:54:50 -0800
Using primary protocol: udp
Detecting port numbers…
Listen port: 51235

  • OK
    Scsynth port: 51237
  • OK
    Scsynth send port: 51237
  • OK
    OSC cues port: 4560
  • OK
    Erlang port: 51240
  • OK
    OSC MIDI out port: 51238
  • OK
    OSC MIDI in port: 51239
  • OK
    Websocket port: 51241
  • OK
    Opening UDP Server to listen to GUI on port: 51235
    Started [18580] [-] “E:\Sonic Pi Portable\App\Sonic Pi\app\server\native\scsynth.exe” -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U “E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/plugins/” -b 4096 -B 127.0.0.1 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/18580
    Started [14148] [-] “E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/erlang/bin/erl.exe” -noshell -pz “E:/Sonic Pi Portable/App/Sonic Pi/app/server/erlang” -s pi_server start 51240 4560 51235 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/14148
    Started [4684] [-] ‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/o2m.exe’ -L -b -i 51238 -O 51239 -m 6 [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/4684
    Started [8348] [-] ‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/m2o.exe’ -t /midi:$n:$i:$c/$m -b -o 51239 -m 6 ‘Sonic Pi’ [-] C:/Users/pokef/AppData/Local/Temp/Sonic Pi PortableTemp/sonic-pi-pids/8348
    Starting Server Runtime
    Booting server…

Booting Sonic Pi

Booting on Windows
Boot - Starting the SuperCollider server…
Boot - E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/scsynth.exe -u 51237 -m 131072 -a 1024 -D 0 -R 0 -l 1 -i 16 -o 16 -U E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/plugins/ -b 4096 -B 127.0.0.1
Boot - SuperCollider booted successfully.
Boot - Connecting to the SuperCollider server…
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Receiving ack from scsynth
Boot - Server connection established
Studio - Initialised SuperCollider Audio Server v3.11.0
Studio - Resetting server
Studio - Studio - clearing scsynth
Studio - Studio - allocating audio bus
Studio - Studio - Create Base Synth Groups
Studio - Starting mixer
Studio - Starting scope
“E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/erlang/bin/erl.exe” -noshell -pz “E:/Sonic Pi Portable/App/Sonic Pi/app/server/erlang” -s pi_server start 51240 4560 51235
Studio - Spawning o2m with:
‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/o2m.exe’ -L -b -i 51238 -O 51239 -m 6
Studio - Spawning m2o with:
‘E:/Sonic Pi Portable/App/Sonic Pi/app/server/native/osmid/m2o.exe’ -t /midi:$n:$i:$c/$m -b -o 51239 -m 6 ‘Sonic Pi’
Studio - Initialised MIDI subsystems
This is Sonic Pi v3.2.2 running on windows with ruby api 2.7.0.
Sonic Pi Server successfully booted.
Studio - Pausing SuperCollider Audio Server
Server is exiting.
Shutting down GUI…
Goodbye :slight_smile:
Exiting - shutting down scsynth server…
Sending /quit command to scsynth
Stopping OSC server…
Stopped OSC server…

I’m at a complete loss here, which is why I’m asking at all. Is there something I’m missing? Is it just problems with the portable app? The fact that the volume mixer shows an output when there is no audible sound especially confuses me.

The only similarities I can find are with this thread, as my program also doesn’t have any MIDI input, but seeing as it’s MIDI input and not output, I don’t think it’s the cause.

Hi,

Maybe there is another software avoiding spi to be heard. Close your Steam Client Bootstrapper and test.

Unfortunately even after closing Steam, Epic, any other launchers, and even Chrome, the problem remains.

Is there any history of the program conflicting with antivirus software like Avira? I know that’s rarely ever the case nowadays, and I don’t know why it would only affect sound but just to be sure…

Wireless headphones ?

Yes, bluetooth. Is that the issue?

Don’t know but try with a audio cable :slight_smile:

1 Like

Well, that certainly seems to be it; it’s the bluetooth headphones. I swapped out the input on scsynth from the headset to the built-in stereo mixer and it works perfectly now.

Cheers :slight_smile:

1 Like

You’re welcome and happy for you.

Hi
my old pc died and replaced with new pc win 10 as well reinstalled tried sonic pi and no sound!?
I used Bluetooth speakers on my old pc and no issue - Im using the same speakers and can play music with them no issue but now sonic pi is dead?
loops play but no music?
I need this to work with blue tooth please help.

this is new never had this mic used by sonic pi - think this is the issue?
image

@wro - not sure. Some more information that might potentially be helpful is details from the Sonic Pi log files. You can find these at C:\Users\[you]\.sonic-pi\log.

Having said that, issues like this are best dealt with on the GitHub issues page as it’s easier to keep things like that all in one place.
You can search the existing GitHub issues for words similar to your problem (like ‘no sound’ or bluetooth etc, (or also filtering by any issues that have ‘Windows’ labels).
One particular part of the logs that might provide useful clues or error messages to search by is either scsynth.log or server-errors.log.

If nothing relevant seems to come up in the existing issues on GitHub after a reasonable search, then you could go ahead and create a new issue there for us to try to help you (and attach details from Sonic Pi’s log files).

Show us the audio panel parameters please
You have to set your Bluetooth speakers to be used by spi.

how or where do I set spi to use Bluetooth speakers?

when spi runs I have no audio output - I can run vlc player and there is no sound the minute I close spi there is sound again.

The general audio windows parameters can be displayed via the settings panel.

all settings work for normal playback - as soon as spi runs I have no audio

Starting SuperCollider 2021-06-07 20:18:14

Device options:

  • MME : Microsoft Sound Mapper - Input (device #0 with 2 ins 0 outs)
  • MME : Headset Microphone (JBL Flip 4 (device #1 with 1 ins 0 outs)
  • MME : Microsoft Sound Mapper - Output (device #2 with 0 ins 2 outs)
  • MME : Speakers (Realtek(R) Audio) (device #3 with 0 ins 8 outs)
  • MME : Headset Earphone (JBL Flip 4 Ha (device #4 with 0 ins 1 outs)
  • MME : Speakers (JBL Flip 4 Stereo) (device #5 with 0 ins 2 outs)
  • MME : Realtek Digital Output (Realtek (device #6 with 0 ins 2 outs)
  • Windows DirectSound : Primary Sound Capture Driver (device #7 with 2 ins 0 outs)
  • Windows DirectSound : Headset Microphone (JBL Flip 4 Hands-Free AG Audio) (device #8 with 1 ins 0 outs)
  • Windows DirectSound : Primary Sound Driver (device #9 with 0 ins 2 outs)
  • Windows DirectSound : Speakers (Realtek(R) Audio) (device #10 with 0 ins 8 outs)
  • Windows DirectSound : Headset Earphone (JBL Flip 4 Hands-Free AG Audio) (device #11 with 0 ins 1 outs)
  • Windows DirectSound : Speakers (JBL Flip 4 Stereo) (device #12 with 0 ins 2 outs)
  • Windows DirectSound : Realtek Digital Output (Realtek(R) Audio) (device #13 with 0 ins 2 outs)
  • ASIO : Realtek ASIO (device #14 with 2 ins 8 outs)
  • Windows WASAPI : Headset Earphone (JBL Flip 4 Hands-Free AG Audio) (device #15 with 0 ins 1 outs)
  • Windows WASAPI : Speakers (JBL Flip 4 Stereo) (device #16 with 0 ins 2 outs)
  • Windows WASAPI : Realtek Digital Output (Realtek(R) Audio) (device #17 with 0 ins 2 outs)
  • Windows WASAPI : Speakers (Realtek(R) Audio) (device #18 with 0 ins 2 outs)
  • Windows WASAPI : Headset Microphone (JBL Flip 4 Hands-Free AG Audio) (device #19 with 1 ins 0 outs)
  • Windows WDM-KS : SPDIF Out (Realtek HDA SPDIF Out) (device #20 with 0 ins 2 outs)
  • Windows WDM-KS : Stereo Mix (Realtek HD Audio Stereo input) (device #21 with 2 ins 0 outs)
  • Windows WDM-KS : Speakers (Realtek HD Audio output) (device #22 with 0 ins 8 outs)
  • Windows WDM-KS : Line In (Realtek HD Audio Line input) (device #23 with 2 ins 0 outs)
  • Windows WDM-KS : Microphone (Realtek HD Audio Mic input) (device #24 with 2 ins 0 outs)
  • Windows WDM-KS : Speakers () (device #25 with 0 ins 2 outs)
  • Windows WDM-KS : Headset Earphone (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free AG Audio%0

;(JBL Flip 4)) (device #26 with 0 ins 1 outs)

  • Windows WDM-KS : Headset Microphone (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free AG Audio%0

;(JBL Flip 4)) (device #27 with 1 ins 0 outs)

  • Windows WDM-KS : Headset (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free AG Audio%0

;(JOWAY H96)) (device #28 with 0 ins 1 outs)

  • Windows WDM-KS : Headset (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free AG Audio%0

;(JOWAY H96)) (device #29 with 1 ins 0 outs)

  • Windows WDM-KS : Headphones () (device #30 with 0 ins 2 outs)

Requested devices:
In:

  • (default)
    Out:
  • (default)

Selecting default system input/output devices

Booting with:
In: MME : Headset Microphone (JBL Flip 4
Out: MME : Speakers (Realtek(R) Audio)
Sample rate: 44100.000
Latency (in/out): 0.013 / 0.091 sec
SC_AudioDriver: sample rate = 44100.000000, driver’s block size = 64
SuperCollider 3 server ready.

still no sound with Bluetooth speaker?