Home
last modified time | relevance | path

Searched refs:bpm (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/usr.bin/midirecord/
H A Dmidirecord.c783 unsigned char bpm[] = { in write_midi_header() local
787 unsigned total_size = data_size + sizeof header + sizeof track + sizeof bpm; in write_midi_header()
800 bpm[4] = BYTE3(TEMPO_INV(tempo)); in write_midi_header()
801 bpm[5] = BYTE2(TEMPO_INV(tempo)); in write_midi_header()
802 bpm[6] = BYTE1(TEMPO_INV(tempo)); in write_midi_header()
808 if (write(outfd, bpm, sizeof bpm) != sizeof bpm) in write_midi_header()
/netbsd-src/usr.bin/midiplay/
H A Dmidiplay.c241 .bpm=(60000000. / usperbeat) * (ttempo / 100.) + 0.5); in dometa()
245 usperbeat, ttempo, ev.t_TEMPO.bpm); in dometa()
517 .bpm=(12*divfmt) * (ttempo/100.) + 0.5)); in playdata()
/netbsd-src/games/hack/
H A Dhack.shk.c401 struct bill_x *bpm; in obfree() local
410 bpm = onbill(merge); in obfree()
411 if (!bpm) { in obfree()
417 bpm->bquan += bp->bquan; in obfree()
/netbsd-src/sys/sys/
H A Dmidiio.h450 uint32_t bpm; /* unambiguously, (MIDI clocks/minute)/24 */ member
665 e = SEQ_MK_TIMING(TEMPO, .bpm=84);
/netbsd-src/sys/dev/
H A Dsequencer.c837 &SEQ_MK_TIMING(TEMPO, .bpm=*(int *)addr)); in sequencerioctl()
1270 if (b->t_TEMPO.bpm < 8) /* where are these limits specified? */ in seq_do_timing()
1272 else if (b->t_TEMPO.bpm > 360) /* ? */ in seq_do_timing()
1275 t->tempo_beatpermin = b->t_TEMPO.bpm; in seq_do_timing()