OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bpm
(Results
1 - 5
of
5
) sorted by relevancy
/src/usr.bin/midirecord/
midirecord.c
783
unsigned char
bpm
[] = {
local in function:write_midi_header
787
unsigned total_size = data_size + sizeof header + sizeof track + sizeof
bpm
;
800
bpm
[4] = BYTE3(TEMPO_INV(tempo));
801
bpm
[5] = BYTE2(TEMPO_INV(tempo));
802
bpm
[6] = BYTE1(TEMPO_INV(tempo));
808
if (write(outfd,
bpm
, sizeof
bpm
) != sizeof
bpm
)
809
err(1, "write of
bpm
header failed");
/src/usr.bin/midiplay/
midiplay.c
107
* This sample plays at an apparent tempo of 120
bpm
when the BASETEMPO is 150
108
*
bpm
, because the quavers are 5 divisions (4 on 1 off) rather than 4 total.
166
#define BASETEMPO 400000 /* us/beat(=24 clks or qn) (150
bpm
) */
241
.
bpm
=(60000000. / usperbeat) * (ttempo / 100.) + 0.5);
244
" at %u%%; adjusted
bpm
= %u\n",
245
usperbeat, ttempo, ev.t_TEMPO.
bpm
);
517
.
bpm
=(12*divfmt) * (ttempo/100.) + 0.5));
/src/games/hack/
hack.shk.c
401
struct bill_x *
bpm
;
local in function:obfree
410
bpm
= onbill(merge);
411
if (!
bpm
) {
417
bpm
->bquan += bp->bquan;
/src/sys/sys/
midiio.h
450
uint32_t
bpm
; /* unambiguously, (MIDI clocks/minute)/24 */
member in struct:__anonf4e6eb5a020a::__anonf4e6eb5a0808
662
* The 'beat' in
bpm
is 24 MIDI clocks (usually a quarter note but
665
e = SEQ_MK_TIMING(TEMPO, .
bpm
=84);
/src/sys/dev/
sequencer.c
837
&SEQ_MK_TIMING(TEMPO, .
bpm
=*(int *)addr));
1268
/*
bpm
is unambiguously MIDI clocks per minute / 24 */
1270
if (b->t_TEMPO.
bpm
< 8) /* where are these limits specified? */
1272
else if (b->t_TEMPO.
bpm
> 360) /* ? */
1275
t->tempo_beatpermin = b->t_TEMPO.
bpm
;
Completed in 17 milliseconds
Indexes created Thu Oct 02 07:10:07 GMT 2025