Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Analogue Source Turntables, Tonearms, Cartridges, Phono Stages, Tuners, Tape Recorders, etc.

Test LP group buy
Test LP group buy
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 13th July 2018, 12:52 AM   #1541
jackinnj is offline jackinnj  United States
diyAudio Member
 
jackinnj's Avatar
 
Join Date: Apr 2002
Location: Llanddewi Brefi, NJ
Test LP group buy
Just wake me up when it's time for a group buy!
  Reply With Quote
Old 13th July 2018, 08:56 PM   #1542
scott wurcer is online now scott wurcer  United States
diyAudio Member
 
scott wurcer's Avatar
 
Join Date: Jan 2004
Location: dorchester ma
Default Directly recording into "our" app

I've explored ways to record directly into a Python app. There is a pyaudio interface into PortAudio which a lot of free apps use but it involves some bookkeeping that I wanted to avoid and is not part of standard distributions. We need nothing but recording of X seconds of sound and processing of it. SoX via the subprocess package seems to work fine. SoX is a no fuss download that just works even for simultaneous play and record like in the Linear Audio article on DIY Audio measurement software.

Quote:
from scipy.io.wavfile import read
import subprocess
import time

#edit here to add a HOME directory, etc.
TEMPAU = 'C:\Users\scott\Desktop\\tempau.wav'
#end edit

#Setup a SoX command line to record 4 seconds of audio from the default device
args_rec = ['sox','-q','-t','waveaudio','default','-t','wavpcm',TEMPAU,'trim','0','4']

#You need to start Sox with no cmd window
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW

sox_r = subprocess.Popen(args_rec, startupinfo = startupinfo)

#Python does not wait for a subprocess so we have to make it.
time.sleep(4)

#Now jut read the file and process it...
__________________
"The question of who is right and who is wrong has seemed to me always too small to be worth a moment's thought, while the question of what is right and what is wrong has seemed all-important."
  Reply With Quote
Old 13th July 2018, 08:58 PM   #1543
Pano is offline Pano  United States
diyAudio Moderator
 
Pano's Avatar
 
Join Date: Oct 2004
Location: SW Florida
Test LP group buy
Quote:
Originally Posted by jackinnj View Post
Just wake me up when it's time for a group buy!
OK, if you don't mind being called Jack van Winkle.
  Reply With Quote
Old 13th July 2018, 09:18 PM   #1544
scott wurcer is online now scott wurcer  United States
diyAudio Member
 
scott wurcer's Avatar
 
Join Date: Jan 2004
Location: dorchester ma
Quote:
Originally Posted by Pano View Post
OK, if you don't mind being called Jack van Winkle.
He could probably score a 300 in Duck Pins before we get there.
__________________
"The question of who is right and who is wrong has seemed to me always too small to be worth a moment's thought, while the question of what is right and what is wrong has seemed all-important."
  Reply With Quote
Old 13th July 2018, 09:48 PM   #1545
Pano is offline Pano  United States
diyAudio Moderator
 
Pano's Avatar
 
Join Date: Oct 2004
Location: SW Florida
Test LP group buy
Just as long as he drink the wine while watch the game.
  Reply With Quote
Old 14th July 2018, 12:42 AM   #1546
jackinnj is offline jackinnj  United States
diyAudio Member
 
jackinnj's Avatar
 
Join Date: Apr 2002
Location: Llanddewi Brefi, NJ
Test LP group buy
Quote:
Originally Posted by Pano View Post
Just as long as he drink the wine while watch the game.
we have a new 375 ml rule here.

really, count on me for a disk when you guys figger it out. I have one TT setup with the cartridge alignment and gravity set up for min distortion, and it doesn't quite look like the text-books.

the length of the discussion is reminiscent of how the 2nd Avenue Subway eventually got built -- it started in the Lindsay administration.
  Reply With Quote
Old 15th July 2018, 01:23 PM   #1547
Pano is offline Pano  United States
diyAudio Moderator
 
Pano's Avatar
 
Join Date: Oct 2004
Location: SW Florida
Test LP group buy
It's design and produce by committee. Our mascot is the sloth. (Maybe that should be the cover)
__________________
Take the Speaker Voltage Test!
  Reply With Quote
Old 15th July 2018, 02:13 PM   #1548
Pano is offline Pano  United States
diyAudio Moderator
 
Pano's Avatar
 
Join Date: Oct 2004
Location: SW Florida
Test LP group buy
Perhaps these could inspire us.
Attached Images
File Type: jpg snail1.jpg (32.8 KB, 73 views)
File Type: jpg snail2.jpg (60.1 KB, 72 views)
__________________
Take the Speaker Voltage Test!
  Reply With Quote

Reply


Test LP group buyHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ultimate listening test ... test your ears and audio chain PMA Everything Else 378 21st November 2013 10:20 AM
Tea-Bag's IXYS Depletion Mosfet Group and SemiSouth R100 JFET group buy. Tea-Bag Group Buys 330 20th May 2013 01:03 PM
Test Signal for max power test of Class D? eem2am Class D 19 27th August 2012 09:22 AM
AKSA versus modified unit, a group hearing test inside my appartment destroyer X Solid State 37 4th October 2004 09:18 PM


New To Site? Need Help?

All times are GMT. The time now is 01:31 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki