/srv/irclogs.ubuntu.com/2017/12/13/#ubuntustudio.txt

guysoft42hey , is there a way to get a hard realtime kernel on regular ubuntu?21:01
OvenWerksguysoft42: pretty much build your own. Take a look through some of the PPAs though.21:02
guysoft42OvenWerks, did that for raspberrypi, so I can. Just thought there was something that was tested21:05
guysoft42OvenWerks, which PPAs?21:05
OvenWerksAnything I can find seems to stop with 14.0421:05
OvenWerksI can see wanting an RT for the R-pi, however I have done quite well with lowlatency so far (down to jackd at 16/2 with my ice1712 based interface)21:07
OvenWerksUSB based boxes are over 1ms regardless21:08
OvenWerksIn fact USB boxes will have different latency every time they are reconnected varying between 1 ms and 1 ms + buffer size21:12
guysoft42OvenWerks, you mean its not good? 1ms sounds good21:43
guysoft42how is the buffer sound?21:43
guysoft42i mean how much?21:46
OvenWerksguysoft42: 1 ms is ok, but the problem with USB is that it is not constant, One time the latency of the device will be 1ms and the next maybe 1.7ms for example. even with no settings changes21:47
guysoft42um, so what about something over GPIO?21:48
OvenWerksthe buffer at 16/2 and 48khz is .7ms with 32/2 is 1.3ms and 64/2 is 3ish ms. not including interface internal time (mine is 1ms so at 16/2 the total one way time is 1.66ms or 3.3 for round trip21:49
OvenWerksbasically anything under 10ms from you hit the note till you hear it is ok.21:49
OvenWerksAll (reasonable) DAWs compensate for latency in such a way that it is not a problem so long as you use external monitoring.21:51
OvenWerksfor live use (softsynth, guitar effects etc.) latency matters.21:51
OvenWerksAs an example, I have found that I have trouble keeping time with the band at even a 30foot distance. I can hear that I am playing late by the time my sound gets to me... this is with no digital conversion, just analog21:53
guysoft42OvenWerks, 30 feet would me a 27 ms delay21:58
guysoft42just factoring speed of sound21:59
guysoft42so I need to get the delay as low as 10ms?21:59
OvenWerksfor stage use yes21:59
guysoft42I am gonna build this and test: https://wiki.linuxaudio.org/wiki/jack_latency_tests22:00
guysoft42OvenWerks, well i am jamming at the moment, but I wanna try and get to that22:00
OvenWerksIt does depend on the instrument being played to some extent22:00
guysoft42OvenWerks, electric violin, in the process of building that too22:00
OvenWerkspiano needs to be fast, pipe organ can be slower22:00
guysoft42string instrument?22:01
OvenWerksplucked is pretty percusive.22:01
guysoft42Yes, there seems to be little information about bow instruments. I guess I'll have to build and test really22:02
OvenWerksJust playing around with guitar through guitarix, 128/2 in jack seems to be ok.22:02
OvenWerkseven bowed instruments sometimes are played with sharp attack as in fiddle playing.22:03
OvenWerksstring pad kind of playing won't show up delay as much22:04
guysoft42OvenWerks, googling around, there are i2c audio controllers for the Pi. that would remove the USB stack22:07
OvenWerksi2c can use whatever buffering you want I guess22:08
OvenWerksi2c would be interupting the cpu at every sample?22:09
guysoft42http://shop.audioinjector.net/detail/sound_card/Stereo+Raspberry+pi+sound+card22:09
guysoft42this one claims to have as low as  0.54 ms latency22:09
guysoft42bounch here, some other perhaps: https://elinux.org/index.php?title=RPi_Expansion_Boards#Sound22:10
OvenWerksso more than one sample.... .54ms seems an odd number of samples unless that is the interface delay22:12
OvenWerksat 48khz 32 samples is .66ms and at 96k 32 samples is .33ms for example22:12
guysoft42OvenWerks, perhaps. anyway,  i think ill call it a day. I'll start by building the usb testing rigg, and flash a pi and all, see how bad it ias with no optimization22:13
OvenWerksI think the MOD code is open. youmight want to look there22:13
guysoft42OvenWerks, i see. well, thanks, its really great taking small steps in this area and having someone with answers :)22:13
OvenWerkshttp://moddevices.com/22:14
guysoft42OvenWerks, oh, one question - my device is high Z. should i watch out for anything when it comes to sound cards?22:15
OvenWerksdepends on how high. A lot of the usb devices have an "instrument" plug that will handle a guitar.22:16
OvenWerksI don't know about piezo though22:16
OvenWerks I use a fishman loudbox as my preamp for my mandolin22:16
guysoft42OvenWerks, I heard that name before.22:17
guysoft42This is the pickup i got: http://www.kksound.com/products/twinspot.php22:17
guysoft42doesn't really say much beyond "high ohomic"22:17
OvenWerksI have found that a pre designed for piezo pickups sounds much better than plugging into a sound board (mackie c1604 in this case)22:18
OvenWerksYa, those are piezo pickups and definately hiz. Mine sounds ok in the mixer, but a bit on the dead side. the hiz pre makes a difference for sure22:19
OvenWerksthe average electric guitar (also called hiz) is 10 to 20 kohms and so need 50 to 100 kohm input impedance22:22
OvenWerksa piezo needs 10meg input impedance to really sound nice22:23
OvenWerksThat is why acousic guitars often have a built in preamp22:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!