Home | History | Annotate | Download | only in midirecord

Lines Matching defs:tempo

73 static int	tempo = 120;
157 decode_int(optarg, &tempo);
232 /* set the tempo */
233 if (ioctl(midifd, SEQUENCER_TMR_TEMPO, &tempo) < 0) {
235 warn("SEQUENCER_TMR_TIMEBASE: tempo %d", tempo);
237 err(1, "SEQUENCER_TMR_TIMEBASE: tempo %d", tempo);
245 fprintf(stderr, "tempo=%d notes_per_beat=%u\n",
246 tempo, notes_per_beat);
785 0, 0, 0, /* inverse tempo */
800 bpm[4] = BYTE3(TEMPO_INV(tempo));
801 bpm[5] = BYTE2(TEMPO_INV(tempo));
802 bpm[6] = BYTE1(TEMPO_INV(tempo));
811 LOG("wrote header: ntracks=%u notes_per_beat=%u tempo=%d total_size=%u",
812 ntracks, notes_per_beat, tempo, total_size);
839 "\t-T tempo\n"