Searched refs:bpm (Results 1 – 5 of 5) sorted by relevance
783 unsigned char bpm[] = { in write_midi_header() local787 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()
241 .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()
401 struct bill_x *bpm; in obfree() local410 bpm = onbill(merge); in obfree()411 if (!bpm) { in obfree()417 bpm->bquan += bp->bquan; in obfree()
450 uint32_t bpm; /* unambiguously, (MIDI clocks/minute)/24 */ member665 e = SEQ_MK_TIMING(TEMPO, .bpm=84);
837 &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()