A multibrand IR transmitter is generally one of two types. One type has a stored library of codes. To program a transmitter, the user selects code sets from the library. The library unit lacks versatility, reproducing only the code sets included in the library. A learning unit can be taught any code set by exposing it, one key at a time, to IR streams from a host transmitter. It can replicate any transmitter, but the learning process is cumbersome and time-consuming. A hybrid of the two can have both the programming ease of the library unit and the versatility of the learning unit. One such hybrid is disclosed herein. Along with the method for combining the two techniques, a discussion of additional desirable features is also included.