![]() ![]() 26 27 Untested whether you can have two recordings going on simultaneously. Gray, March 2012 9 10 from _future_ import division 11 import os, sys, shutil, time 12 import threading, urllib2, json 13 import tempfile, glob 14 from psychopy import core, logging 15 from nstants import NOT_STARTED, PSYCHOPY_USERAGENT 16 # import pyo is done within switchOn/Off to better encapsulate it, because it can be very slow 17 # idea: don't want to delay up to 3 sec when importing microphone 18 # downside: to make this work requires some trickiness with globals 19 20 global haveMic 21 haveMic = False # goes True in switchOn, if can import pyo goes False in switchOff 22 23 24 class AudioCapture ( object ) : 25 """ Capture a sound sample from the default sound input, and save to a file. Raw file 1 # -*- coding: utf-8 -*- 2 """ Audio capture and analysis using pyo """ 3 4 # Part of the PsychoPy library 5 # Copyright (C) 2012 Jonathan Peirce 6 # Distributed under the terms of the GNU General Public License (GPL). lib/python2.7/bsddb/test/test_dbobj.pyc.lib/python2.7/bsddb/test/test_dbenv.pyo.lib/python2.7/bsddb/test/test_dbenv.pyc.lib/python2.7/bsddb/test/test_cursor_pget_bug.pyo.lib/python2.7/bsddb/test/test_cursor_pget_bug.py.lib/python2.7/bsddb/test/test_compat.pyo. ![]() lib/python2.7/bsddb/test/test_compat.pyc.lib/python2.7/bsddb/test/test_compat.py.lib/python2.7/bsddb/test/test_compare.pyo.lib/python2.7/bsddb/test/test_compare.pyc.lib/python2.7/bsddb/test/test_compare.py.lib/python2.7/bsddb/test/test_basics.pyo.lib/python2.7/bsddb/test/test_basics.pyc.lib/python2.7/bsddb/test/test_basics.py.lib/python2.7/bsddb/test/test_associate.pyo.lib/python2.7/bsddb/test/test_associate.pyc.lib/python2.7/bsddb/test/test_associate.py.¦ ¦ ¦ ¦ pkg-plist: as obtained via: make generate-plist Expand this list (4591 items) Collapse this list. Maintainer: Port Added: 05:11:26 Last Update: 11:16:39 Commit Hash: f8ffeb6 People watching this port, also watch:: bash, expat, pcre, libxml2, libiconv Also Listed In: python License: PSFL Description: Python is an interpreted object-oriented programming language, and is Python27 Interpreted object-oriented programming languageĢ.7.18_2 lang =81 Version of this port present on the latest quarterly branch. NOTE: There is a known problem on production with searching pkg-plist - it returns no results. Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15) FreshPorts - lang/python27: Interpreted object-oriented programming languageĪs an Amazon Associate I earn from qualifying purchases. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |