record sound script
This commit is contained in:
		
							
								
								
									
										4
									
								
								record_sound.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								record_sound.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					# record microphone output with gstreamer
 | 
				
			||||||
 | 
					echo Recording to: ~/tmp/rec.ogg
 | 
				
			||||||
 | 
					gst-launch-1.0 alsasrc ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=~/tmp/rec.ogg
 | 
				
			||||||
		Reference in New Issue
	
	Block a user