restructures audio, begins voicing
This commit is contained in:
		
							parent
							
								
									2e60054951
								
							
						
					
					
						commit
						73228f5e5d
					
				
					 9 changed files with 91 additions and 23 deletions
				
			
		
							
								
								
									
										21
									
								
								quantum/audio/voices.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								quantum/audio/voices.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
#include <stdint.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <avr/io.h>
 | 
			
		||||
#include <util/delay.h>
 | 
			
		||||
#include "musical_notes.h"
 | 
			
		||||
#include "song_list.h"
 | 
			
		||||
 | 
			
		||||
#ifndef VOICES_H
 | 
			
		||||
#define VOICES_H
 | 
			
		||||
 | 
			
		||||
float voice_envelope(float frequency);
 | 
			
		||||
 | 
			
		||||
typedef enum {
 | 
			
		||||
	default_voice,
 | 
			
		||||
	butts_fader,
 | 
			
		||||
	octave_crunch
 | 
			
		||||
} voice_type;
 | 
			
		||||
 | 
			
		||||
void set_voice(voice_type v);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue