note
static u_int note[] = {
key = (oct << 12) + note[i];
#define NOTE_TO_OCTAVE(note) (((note)-CMS_FIRST_NOTE)/12)
#define NOTE_TO_COUNT(note) cms_note_table[(((note)-CMS_FIRST_NOTE)%12)]
uint32_t note;
note = MIDIPITCH_TO_KEY(mp);
if (note < CMS_FIRST_NOTE)
octave = NOTE_TO_OCTAVE(note);
count = NOTE_TO_COUNT(note);
midisyn_findvoice(midisyn *ms, int chan, int note)
cn = MS_CHANNOTE(chan, note);
midisyn_allocvoice(midisyn *ms, uint_fast8_t chan, uint_fast8_t note)
ms->voices[bestv].chan_note = MS_CHANNOTE(chan, note);
#define MS_CHANNOTE(chan, note) ((chan) * 256 + (note))
#define selnotify(sel, band, note) selwakeup(sel)
int cmd, chan, note, parm;
note = *bfp++;
DPRINTFN(3, ("seq_to_new: 0x%02x %d %d %d\n", cmd, chan, note, parm));
.device=0, .channel=chan, .key=note, .velocity=parm);
.device=0, .channel=chan, .program=note);
playtone(struct spkr_softc *sc, int note, int val, int sustain)
if (note == -1) {
KASSERTMSG(note < __arraycount(pitchtab), "note=%d", note);
note, sound, silence);
(*sc->sc_tone)(sc->sc_dev, pitchtab[note], sound);
#define netbsd_elf_note ELFNAME2(netbsd,note)
int32_t *note = ksyms_hdr.kh_note;
note[0] = ELF_NOTE_NETBSD_NAMESZ;
note[1] = ELF_NOTE_NETBSD_DESCSZ;
note[2] = ELF_NOTE_TYPE_NETBSD_TAG;
memcpy(¬e[3], "NetBSD\0", 8);
note[5] = __NetBSD_Version__;
kobj_unload_notify(kobj_t ko, vaddr_t addr, size_t size, const char *note)
note, error);
} note;
if (shp[i].sh_size < sizeof(note)) {
¬e, sizeof(note));
if (note.nh.n_namesz == ELF_NOTE_NETBSD_NAMESZ &&
note.nh.n_descsz == ELF_NOTE_NETBSD_DESCSZ &&
note.nh.n_type == ELF_NOTE_TYPE_NETBSD_TAG &&
memcmp(note.name, ELF_NOTE_NETBSD_NAME,
sizeof(note.name)) == 0) {
memcpy(&netbsd_version, ¬e.desc,
error = vfs_getuserstr(uio, note, &xlen);
char note[PROCFS_NOTELEN+1];
note("%s:%s: unknown login name, clearing setuid",
note("%s:%s: unknown group", host, group);
note("%s: %s utimes: %s", host, file, strerror(errno));
note("%s: %s chown: %s", host, file, strerror(errno));
note("%s: %s chmod: %s", host, file, strerror(errno));
static void note(const char *, ...)