monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
630 stars 145 forks source link

audio level check #77

Closed tehn closed 6 years ago

tehn commented 6 years ago

speaker-test (command line, jack-less) is very loud.

need to make sure jack/sc are configured to maximize volume output

catfact commented 6 years ago

sc output patch should be at unity gain by default: https://github.com/catfact/norns/blob/dev/sc/classes/CroneDefs.sc#L39 https://github.com/catfact/norns/blob/dev/sc/classes/abstractions/AudioContext.sc#L56

dunno about jack

by "jack-less" you mean through alsa yea? not direct to the soundcard driver

simonvanderveldt commented 6 years ago

speaker-test (command line, jack-less) is very loud.

Do you even want to have/support the possibility to output sounds without JACK?

tehn commented 6 years ago

it doesn't completely matter if jack is used or not. to communicate with matron an audio client needs to simply conform to the OSC protocol (see oracle.c) which i need to write up as a spec.

the point of this test is to make sure jack and sc are configured correctly for maximum volume-- as speaker-test is loud-- using just alsa. need to check bit depth settings etc.

catfact commented 6 years ago

try something like this for comparison (after crone is done with startup)

pink.scd

{ Out.ar(Crone.ctx.out_b.index, PinkNoise.ar.dup); }.play

(BTW speaker-test uses some kinda f'd up pink noise implementation, to my ears... but level is comparable? i'll try this on the norns right now and check scope)

catfact commented 6 years ago

ok i tried this on the norns, and this similar thing is just a tad louder than speaker-test { Out.ar(0, PinkNoise.ar.dup); }.play

(lemme try updating with recent fixes to AudioContext...)

tehn commented 6 years ago

thanks for checking! i guess we can close this.

On Thu, Feb 1, 2018 at 2:05 PM, ezra buchla notifications@github.com wrote:

ok i tried this on the norns, and this similar thing is just a tad louder than speaker-test { Out.ar(0, PinkNoise.ar.dup); }.play

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/catfact/norns/issues/77#issuecomment-362368620, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPEcKggrvH0XIBtZxFHmAq6gUBx7D6Uks5tQgrjgaJpZM4Ry08K .