Jonas25
Joined: Feb 16, 2016 Posts: 1 Location: Germany
|
Posted: Tue Feb 16, 2016 9:01 am Post subject:
No sound on Ubuntu 14.04 |
|
|
I am new to Chuck, but the whole idea, especially the on-the-fly modification of the code, fascinates me.
Unfortunately I can't make it run on my Ubuntu OS. I use pulseaudio for my sounds and installed Chuck via apt-get.
I followed the tutorial from the official website and tried to create a short sinus sound.
Code: | ➭ chuck test.ck
[chuck]: (via rtaudio): no devices found for compiled audio APIs!
[chuck]: cannot initialize audio device (try using --silent/-s)
|
I tried to solve my problem by myself and came to this step, using chuck.alsa
Code: | ➭ chuck.alsa test.ck |
There comes no error message and my 2 second script is running for (I guess) 2 seconds. But there is no sound. Is the sound playing on the wrong output? What is the problem?
Running chuck.alsa --probe gives this output:
Code: | ➭ chuck.alsa --probe
[chuck]: found 4 device(s) ...
[chuck]: ------( chuck -- dac1 )---------------
[chuck]: device name = "hw:HDMI,3"
[chuck]: probe [success] ...
[chuck]: # output channels = 8
[chuck]: # input channels = 0
[chuck]: # duplex Channels = 0
[chuck]: default device = YES
[chuck]: natively supported data formats:
[chuck]: 16-bit int
[chuck]: 32-bit int
[chuck]: supported sample rates:
[chuck]: 32000 Hz
[chuck]: 44100 Hz
[chuck]: 48000 Hz
[chuck]: 88200 Hz
[chuck]: 96000 Hz
[chuck]: 176400 Hz
[chuck]: 192000 Hz
[chuck]:
[chuck]: ------( chuck -- dac2 )---------------
[chuck]: device name = "hw:HDMI,7"
[chuck]: probe [failed] ...
[chuck]:
[chuck]: ------( chuck -- dac3 )---------------
[chuck]: device name = "hw:HDMI,8"
[chuck]: probe [success] ...
[chuck]: # output channels = 8
[chuck]: # input channels = 0
[chuck]: # duplex Channels = 0
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]: 16-bit int
[chuck]: 32-bit int
[chuck]: supported sample rates:
[chuck]: 32000 Hz
[chuck]: 44100 Hz
[chuck]: 48000 Hz
[chuck]: 88200 Hz
[chuck]: 96000 Hz
[chuck]: 176400 Hz
[chuck]: 192000 Hz
[chuck]:
[chuck]: ------( chuck -- dac4 )---------------
[chuck]: device name = "hw:PCH,0"
[chuck]: probe [success] ...
[chuck]: # output channels = 2
[chuck]: # input channels = 2
[chuck]: # duplex Channels = 2
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]: 16-bit int
[chuck]: 32-bit int
[chuck]: supported sample rates:
[chuck]: 44100 Hz
[chuck]: 48000 Hz
[chuck]: 96000 Hz
[chuck]: 192000 Hz
[chuck]:
[chuck]: ------( chuck -- 1 MIDI inputs )------
[chuck]: [0] : "Midi Through Port-0"[1] 5292 segmentation fault chuck.alsa --probe
|
What does the error mean? Thanks for any help! |
|