Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sound #702

Closed
akash-vartak opened this issue Sep 26, 2015 · 23 comments
Closed

No sound #702

akash-vartak opened this issue Sep 26, 2015 · 23 comments

Comments

@akash-vartak
Copy link

I am running Sonic Pi version 2.7.
It just wont play any sound. I don't know why this happening.

Thanks, and tell me if you need any more info.

@hopbit
Copy link
Contributor

hopbit commented Sep 26, 2015

Hi there,

Sorry that You have problems. Could You provide more info? Are other sound sources can play sound (itunes, winamp or youtube)? What operating system You're running on (Widows, Mac OS, Raspberry Pi or Linux)? Could You add here the output logs from directory that are placed under You're home directory ($home/.sonic-pi/log/).

@akash-vartak
Copy link
Author

I am running Sonic Pi on Windows 10 on a Lenovo S510P.
I can hear crystal clear sounds from all other sources.
I don't know where Sonic Pi keeps it's logs in a Windows machine...can you guide me there...

@hopbit
Copy link
Contributor

hopbit commented Sep 27, 2015

I'm running Windows 7, but I suppose below steps should be similiar on Windows 10.

Open cmd.exe

image

Do the following (hoppbit below is my userprofile):

C:\Users\hoppbit>c:
C:\Users\hoppbit>cd %userprofile%\.sonic-pi\log\
C:\Users\hoppbit\.sonic-pi\log>dir
 Wolumin w stacji C to win7
 Numer seryjny woluminu: 0699-529F

 Katalog: C:\Users\hoppbit\.sonic-pi\log

2015-09-17  16:29    <DIR>          .
2015-09-17  16:29    <DIR>          ..
2015-09-18  10:15                29 errors.log
2015-09-25  00:43               812 gui.log
2015-09-18  10:28            11 881 output.log
2015-09-25  00:43                29 server-errors.log
2015-09-25  00:43             2 461 server-output.log
2015-09-18  10:15               147 stdout.log
               6 plik(ów)             15 359 bajtów
               2 katalog(ów)  20 849 033 216 bajtów wolnych

Attach those files by drag & drop or paste its contents here.

@hopbit
Copy link
Contributor

hopbit commented Sep 27, 2015

With that info, even if I can't, then somebody smarter than me will be able to help You :)

@akash-vartak
Copy link
Author

GUI

file:

[GUI] - shutting down any old audio servers...
[GUI] - using default editor colours
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - UDP OSC Server ready and listening
[GUI] - booting live coding server
[GUI] - waiting for server to connect...
[GUI] - server failed to start with this error message:
> Server Exception:
Boot - Unable to connect to scsynth
[GUI] - asking server process to exit...
[GUI] - exiting. Cheerio :-)

server-output

file:

Using protocol: udp

Device options:

Booting with:
In: MME : Microphone (Realtek High Defini
Out: MME : Speakers (Realtek High Definiti
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

file:

Could not load did_you_mean
Failed to start server: Boot - Unable to connect to scsynth
C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:206:in boot_and_wait' C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:223:inboot_server_windows'
C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:119:in boot' C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/scsynthexternal.rb:59:ininitialize'
C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/server.rb:49:in new' C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/server.rb:49:ininitialize'
C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/studio.rb:27:in new' C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/studio.rb:27:ininitialize'
C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/mods/sound.rb:106:in new' C:/Program Files (x86)/Sonic Pi/app/server/sonicpi/lib/sonicpi/mods/sound.rb:106:inblock (2 levels) in included'
C:/Program Files (x86)/Sonic Pi/app/gui/qt/release/../../../../app/server/bin/sonic-pi-server.rb:109:in new' C:/Program Files (x86)/Sonic Pi/app/gui/qt/release/../../../../app/server/bin/sonic-pi-server.rb:109:in

'

These are the only three files i can see.

@hopbit
Copy link
Contributor

hopbit commented Oct 7, 2015

Does the full restart doesn't help?

@akash-vartak
Copy link
Author

No, a full restart makes no difference.

@vijaysridhara
Copy link

Same with me, and I am on a Windows 10. Initially there was no sound. When I restarted, this is the error I get everytime. I even opened Windows firewall UDP port 4558
sonicpierror

@samaaron
Copy link
Collaborator

@VitalLogic seems like scsynth has zombied on your machine - can you see if it's still running in the Task Manager? If it's there and you kill it - are you able to get Sonic Pi to load again?

@vijaysridhara
Copy link

How wonderful, yes, it was there, I killed it and restarted Sonic Pi, and it worked. Should I do this every time? Thanks a ton though

@samaaron
Copy link
Collaborator

For the meantime, yes it's unfortunately necessary.

Do you happen to be a programmer? It would be great to get someone who knows a little about hacking about with Windows to take a look at this issue and see if we can solve it a little more nicely.

@vijaysridhara
Copy link

Oh, I see.. Yeah, I am a programmer, but not a system programmer, so have to see if there is some way to fix this. I saw your TedEX and downloded to try it :) ... Very novice and wonderful idea... thank you

@samaaron
Copy link
Collaborator

Thanks - if you're able to shed any light whatsoever, it would be wonderful. Even a clear way to reproduce the issue would be fabulous!

@cpursley
Copy link

I've been able to reproduce this issue on a ASUS Q501L with Windows. Force quitting scsynth and restarting Sonic Pi temporally solves the issue.

@wallabra
Copy link

Sorry for the bump. but...

Now it says it fails to open port 4557 even though I killed SCSYNTH.EXE from task manager, after I restart Sonic Pi. Should I reinstall the program?

@kitsc
Copy link

kitsc commented Aug 15, 2016

I've followed the instructions here using a Raspberry PI and Windows to no avail. I'm eager to try Sonic Pi. Should I just wait for the next rev? I'm not a computer programmer or knowledgeable on the command prompt, so I'm afraid a lot of what goes on in these threads are over my head.

@samaaron
Copy link
Collaborator

@kitsc are you having issues on your Raspberry Pi? Doesn't it just work with the latest Raspbian?

@kitsc
Copy link

kitsc commented Aug 15, 2016

I am able to boot just fine with the latest Raspbian. However, I get no sound when using Sonic Pi. I chose an example and selected Run. The UI informed me the process ran and completed, but I got no sound through my headphones plugged into the 3.5mm port. I am able to hear through the keyboard when I surf to youtube, so I know sound is possible.I'm a RPI newbie of the most rank order.Thanks for your response,Kit-----Original Message-----

From: Sam Aaron
Sent: Aug 15, 2016 3:29 AM
To: samaaron/sonic-pi
Cc: kitsc , Mention
Subject: Re: [samaaron/sonic-pi] No sound (#702)

@kitsc are you having issues on your Raspberry Pi? Doesn't it just work with the latest Raspbian?

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/samaaron/sonic-pi","title":"samaaron/sonic-pi","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/samaaron/sonic-pi"}},"updates":{"snippets":[{"icon":"PERSON","message":"@samaaron in #702: @kitsc are you having issues on your Raspberry Pi? Doesn't it just work with the latest Raspbian?"}],"action":{"name":"View Issue","url":"https://github.com/samaaron/sonic-pi/issues/702#issuecomment-239772923"}}}

@kitsc
Copy link

kitsc commented Aug 26, 2016

Hi Aaron,

I still cannot hear examples played with Sonic Pi on a Raspberry Pi 3 using speaker jack with headphones. I run update on the Raspberry and through Sonic Pi. Do you have any suggestions? I'm eager write some code and make some noise.

@lschnellmann
Copy link

I had to force it in preferences
On Aug 26, 2016 2:51 PM, "kitsc" notifications@github.com wrote:

Hi Aaron,

I still cannot hear examples played with Sonic Pi on a Raspberry Pi 3
using speaker jack with headphones. I run update on the Raspberry and
through Sonic Pi. Do you have any suggestions? I'm eager write some code
and make some noise.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#702 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKgwMCw9KNz6qegUWt6oauDqBzxT8INWks5qj0O0gaJpZM4GEV5c
.

@kitsc
Copy link

kitsc commented Aug 27, 2016

Could you be more specific. I'm very new to Raspberry. Thanks for your time.Kit-----Original Message-----

From: lschnellmann
Sent: Aug 26, 2016 12:57 PM
To: samaaron/sonic-pi
Cc: kitsc , Mention
Subject: Re: [samaaron/sonic-pi] No sound (#702)

I had to force it in preferences
On Aug 26, 2016 2:51 PM, "kitsc" notifications@github.com wrote:

Hi Aaron,

I still cannot hear examples played with Sonic Pi on a Raspberry Pi 3
using speaker jack with headphones. I run update on the Raspberry and
through Sonic Pi. Do you have any suggestions? I'm eager write some code
and make some noise.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#702 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKgwMCw9KNz6qegUWt6oauDqBzxT8INWks5qj0O0gaJpZM4GEV5c
.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/samaaron/sonic-pi","title":"samaaron/sonic-pi","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/samaaron/sonic-pi"}},"updates":{"snippets":[{"icon":"PERSON","message":"@lschnellmann in #702: I had to force it in preferences\nOn Aug 26, 2016 2:51 PM, "kitsc" \u003cnotifications@github.com\u003e wrote:\n\n\u003e Hi Aaron,\n\u003e\n\u003e I still cannot hear examples played with Sonic Pi on a Raspberry Pi 3\n\u003e using speaker jack with headphones. I run update on the Raspberry and\n\u003e through Sonic Pi. Do you have any suggestions? I'm eager write some code\n\u003e and make some noise.\n\u003e\n\u003e —\n\u003e You are receiving this because you are subscribed to this thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com//issues/702#issuecomment-242834306\u003e,\n\u003e or mute the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/AKgwMCw9KNz6qegUWt6oauDqBzxT8INWks5qj0O0gaJpZM4GEV5c\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/samaaron/sonic-pi/issues/702#issuecomment-242835621"}}}

@kitsc
Copy link

kitsc commented Aug 31, 2016

I tried that without success. The problem is limited to Sonic Pi
Kit
On Aug 26, 2016 12:57 PM, lschnellmann notifications@github.com wrote:I had to force it in preferences
On Aug 26, 2016 2:51 PM, "kitsc" notifications@github.com wrote:

Hi Aaron,

I still cannot hear examples played with Sonic Pi on a Raspberry Pi 3
using speaker jack with headphones. I run update on the Raspberry and
through Sonic Pi. Do you have any suggestions? I'm eager write some code
and make some noise.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#702 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKgwMCw9KNz6qegUWt6oauDqBzxT8INWks5qj0O0gaJpZM4GEV5c
.

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

@dalenewman
Copy link

For any Windows 10 users having problems hearing the sound. Here's what worked for me:

  1. Start Sonic Pi, then play the tutorial loop.
  2. Right click the little speaker icon in the Windows Taskbar tray (right hand side) and select "Open Volume Mixer."
  3. Mute and unmute (pressing the little blue speaker icon twice) your speaker device.

This does the trick for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants