Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/n/e/NeuroTools-0.2.0/examples/single_neuron/playing_with_simple_single_neuron.py   NeuroTools(Download)
        # open stream
        stream = p.open(format =
                        p.get_format_from_width(wf.getsampwidth()),
                        channels = wf.getnchannels(),
                        rate = wf.getframerate(),

src/p/y/pymedia2-pyrana-0.4.1/examples/13_decode_audio_pyaudio.py   pymedia2-pyrana(Download)
        p = pyaudio.PyAudio()
        stream = p.open(
                    format = p.get_format_from_width(2),  # FIXME
                    channels = astream.channels,
                    rate = astream.sample_rate,

src/g/r/gr-0.5.0/examples/audio_ex.py   gr(Download)
                            'Monty_Python.wav'), 'rb')
pa = pyaudio.PyAudio()
stream = pa.open(format=pa.get_format_from_width(wf.getsampwidth()),
                 channels=wf.getnchannels(), rate=wf.getframerate(), output=True)
 

src/a/u/audiogen-0.0.2/audiogen/sampler.py   audiogen(Download)
	p = pyaudio.PyAudio()
	stream = p.open(
		format=p.get_format_from_width(SAMPLE_WIDTH),
		channels=1,
		rate=FRAME_RATE,

src/a/l/alex-HEAD/alex/utils/audio.py   alex(Download)
    chunk = 160
    # open stream
    stream = p.open(format=p.get_format_from_width(pyaudio.paInt32),
                    channels=1,
                    rate=cfg['Audio']['sample_rate'],

src/c/h/chirp-1.2.2/chirp/common/audio.py   chirp(Download)
    def play_wave(signal, Fs):
        p = pyaudio.PyAudio()
        stream = p.open(format=p.get_format_from_width(signal.dtype.itemsize),
                        channels=1,
                        rate=int(Fs * 1000),

src/p/i/Pi-Voice-HEAD/tts/google.py   Pi-Voice(Download)
 
        # open stream (2)
        stream = p.open(format=p.get_format_from_width(wf.getsampwidth()),
                        channels=wf.getnchannels(),
                        rate=wf.getframerate(),

src/s/m/sms-tools-HEAD/software/models/utilFunctions.py   sms-tools(Download)
	wf = wave.open('temp_file.wav', 'rb')
	p = pyaudio.PyAudio()
	stream = p.open(format=p.get_format_from_width(wf.getsampwidth()), channels=wf.getnchannels(), rate=wf.getframerate(), output=True)
	data = wf.readframes(CHUNK)
	while data is not '':

src/a/l/alex-HEAD/alex/components/hub/webio.py   alex(Download)
            p = pyaudio.PyAudio()
            # open stream
            stream = p.open(format=p.get_format_from_width(pyaudio.paInt32),
                            channels=1,
                            rate=self.cfg['Audio']['sample_rate'],

src/a/l/alex-HEAD/alex/components/hub/aio.py   alex(Download)
            p = pyaudio.PyAudio()
            # open stream
            stream = p.open(format=p.get_format_from_width(pyaudio.paInt32),
                            channels=1,
                            rate=self.cfg['Audio']['sample_rate'],

  1 | 2  Next