bobinator
Joined: Jan 18, 2014 Posts: 1 Location: Cape Town
|
Posted: Sat Jan 18, 2014 11:33 pm Post subject:
Gain issue on LinuxMint using Pulse Audio with miniAudicle Subject description: No sound when gain set below 1 |
|
|
Hi. I've just completed the ChucK course on Coursera using Windows 7 and figured I'd install it on the family computer, using LinuxMint 16 XFCE, to play around with better speakers. As I'm a not that Linux-literate it took me a while to get miniAudicle to compile, but I was able to find some help here on the forum that worked. Essentially I did the following: (Note: LinuxMint 16 XFCE defaults to ALSA)
1. Download miniAudicle-1.3.1
2. Download chuck-1.3.3
3. Swap out the chuck folder in miniAudicle with the one from chuck-1.3.3
4. Install all the ancillary required programs
5. Install Pulse-Audio
6. Run, 'make linux-pulse'
The reason I had to insert the newest ChucK version instead of the standard miniAudicle version is that I was getting a compile error. (Something to do with "buf" not being defined) As per the recommendations I found, once this was swapped with the latest version, it compiled without issues.
The reason I used Pulse instead of ALSA is just a newbie freak-out mistake, really. I tried compiling normally and couldn't get it to work. That was a recommendation, so I took it. When I looked at my audio system last night, it said it was using ALSA still, even though I'd installed Pulse, so I compiled using ALSA. This morning, when I tried to use ChucK it was giving some error about DAC not being able to accept input from a SinOsc, which is bull, and I found someone on the mailing-list saying that they had fixed this by restoring defaults. While that didn't work for me, I then checked to verify I was using ALSA. Task Manager said Pulse was running, so I took a chance and compiled using Pulse instead. Voila! She works!
Now, to stop babbling and get to the issue: Basically, with the following code, I get sound:
Code: | SinOsc s => dac;
440 => s.freq;
1.0 => s.gain;
1::second => now; |
However, when I set it to like this, I get nothing:
Code: | SinOsc s => dac;
440 => s.freq;
0.9 => s.gain;
1::second => now; |
This doesn't make any sense to me. Is there something I'm doing wrong? What can/should I look at to troubleshoot this? |
|