Lines Matching refs:note
109 struct note
150 play (unsigned tempo, struct note *note)
154 if (note->pitch == T_FINE || grub_checkkey () >= 0)
157 grub_dprintf ("play", "pitch = %d, duration = %d\n", note->pitch,
158 note->duration);
160 switch (note->pitch)
167 beep_on (note->pitch);
171 to = grub_get_rtc () + BASE_TEMPO * note->duration / tempo;
188 struct note buf;
208 sizeof (struct note)) == sizeof (struct note))
223 struct note note;
236 note.pitch = grub_strtoul (args[i], &end, 0);
243 note.duration = grub_strtoul (args[i + 1], &end, 0);
250 if (play (tempo, ¬e))