Please you can see the diagram. I'm surprised about the ground loop problems. My standard solution is to start with a great deal of profanity then dig in. ;)

Yes, I would welcome your advice on latency and its reduction. I much weaker in software than I am in hardware and need all the advice I can get. At the moment I've been using RPi3+b boards because I just happen to have a lot of them (well not that many but enough). If I need to migrate to v4 then so be it. We can either discuss these matters on or off list depending upon the interests.

Joseph


On Mar 2, 2022, at 7:55 PM, Ted Rippert <ted.rippert@gmail.com> wrote:

Joseph, I can see your diagram. Thank you for that. I will have to look up the specs on the LM555. Looks pretty straightforward. I do agree that a dual supply circuit alleviates a lot of issues. I had terrible ground loop problems using a single supply and AC coupling, which took a lot of fighting with the setup to reduce.

I tend to just buy voltage boosters and such off Amazon, which is hit or miss, but you can get some good, fairly inexpensive ones. This is why I would like to try using the Pro card as it already has (what I assume are) quiet +12VDC and -12VDC on it.

I can share with you my recipe for getting low latency on an RPi4 if you’re interested. It’s not difficult, but it does require some modifications to the Boot commands. I do like to use Manjaro Arm linux as it is easier to customize and to get the latest software packages, but you can do it with the stock Raspberry Pi OS too.

On Mar 2, 2022, at 7:40 PM, Joseph DiVerdi <joseph.diverdi@colostate.edu> wrote:

Excellent points raised by Ted. I'm going to write in-line here.

On Mar 2, 2022, at 2:41 PM, Ted Rippert via People <people@lists.audioinjector.net> wrote:

Hello,
I’ve seen several threads on this list relating to using Guitar or Bass with an Audio Injector card. I’ve been doing that for years using a rack mount mixer with a couple High-Impedance inputs interfacing into an Audio Injector Stereo card. Works very well, and I can get round trip latencies on the Pi as low as 2.1 ms running Guitarix amp sim if I use some CPU isolation techniques.

This is very good latency and I hope to be able to get the same in my own devices.

I’ve been playing around with making a small preamp/buffer that runs on the 5V from the Pi, and found just what others have, that it’s too noisy. So I worked up a setup with a dual supply converter that then goes into a couple linear regulators. It does work, but it’s a mess using just perf board and through hole parts. Also, the Zero sound card I used has the same usable but high noise floor that the stereo card does.

So true. Power supplies (USB style and others) for digital devices are awful generally speaking for analog work. I do find that it is possible to use a very simple low pass filter (10 to 100 ohms series and 10 to 100 µF to ground) to clean up a lot. This by itself is not sufficient and good layout and control of ground are critical to success.

So I want to try making a preamp for the Isolated card (really a Pro card from Amazon, but same interface). I would like to talk to Matt and any others with experience about the design of such a card, and any possibility of an “official” Audio Injector version being made. I just do perf board/through hole stuff, so I can only make one-offs myself.

I mentioned earlier that I used a unipolar power in my (internal) guitar amplifier and tone control and now I'm suffering from "buyer's remorse" as I wish I had gone bipolar. The power on/off transient is substantial. I'm going to try to attach a schematic of a very simple bipolar supply that I have used for analog circuitry based on a 555 AC and a pair of voltage doublers. Careful choice of the operating frequency and layout and output filtering make this a great choice for analog work. If the image does it make it through the mail list I'll be happy to share it directly with anyone who wants it.

<image0.png>
Joseph

To get things started, let me list some specs for such a card:

Input impedance: > 500kohm, 1 Mohm nominal
Input voltage: ~ 1 VDC pk-pk, preferably with an adjustable gain and significant headroom
Input connector: 1/4 inch TS socket
Output impedance: low audio interface level, preferably less than 300 ohms
Output voltage: at least +4dBu, preferably with adjustable gain, since the codec has an adjustable analog output volume, this may be in software
Output connector: 1/4 inch socket, preferably a TRS type that will work as both a balanced and unbalanced output depending on what is connected to it

It could be as simple as a modified RCA preamp with different connectors and higher impedance input circuits, or you can think about adding things like a DIN based MIDI interface and a headphone amplifier output. All of this seems quite doable using the AI-ABS standard, but I need some more details about the specs of that, and about the practicalities of how to design opamp buffers to interface to the codec on the Pro board.

So, if anyone is interested, lets talk about it.

Thanks,
Ted