better integrations
This commit is contained in:
		
							parent
							
								
									6e3c36360e
								
							
						
					
					
						commit
						eb61700912
					
				
					 11 changed files with 402 additions and 329 deletions
				
			
		
							
								
								
									
										11
									
								
								quantum/audio.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								quantum/audio.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
#include <stdint.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <avr/io.h>
 | 
			
		||||
#include <util/delay.h>
 | 
			
		||||
 | 
			
		||||
void play_sample(uint8_t * s, uint16_t l, bool r);
 | 
			
		||||
void play_note(double freq, int vol);
 | 
			
		||||
void stop_note(double freq);
 | 
			
		||||
void stop_all_notes();
 | 
			
		||||
void init_notes();
 | 
			
		||||
void play_notes(float (*np)[][2], uint8_t n_length, bool n_repeat);
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue