Home
last modified time | relevance | path

Searched refs:wave (Results 1 – 25 of 96) sorted by relevance

1234

/external/python/cpython3/Lib/test/
Dtest_wave.py8 import wave
13 module = wave
109 module = wave
113 support.check__all__(self, wave, blacklist=blacklist)
121 wave.open(io.BytesIO(b))
125 with self.assertRaisesRegex(wave.Error,
127 wave.open(io.BytesIO(b))
131 with self.assertRaisesRegex(wave.Error,
133 wave.open(io.BytesIO(b))
137 with self.assertRaisesRegex(wave.Error,
[all …]
/external/python/cpython2/Demo/scripts/
Dmorse.py78 wave = defaultwave
87 wave = mkwave(int(a))
102 play(mline, dev, wave)
119 def play(line, dev, wave): argument
122 sine(dev, DOT, wave)
124 sine(dev, DAH, wave)
129 def sine(dev, length, wave): argument
131 dev.writeframesraw(wave)
/external/sonic/
DMakefile22 sonic: wave.o main.o libsonic.so.$(LIB_TAG)
23 $(CC) $(CFLAGS) -o sonic wave.o main.o libsonic.so.$(LIB_TAG)
28 wave.o: wave.c wave.h
29 $(CC) $(CFLAGS) -c wave.c
31 main.o: main.c sonic.h wave.h
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dwrite_register.ll11 call void @llvm.amdgcn.wave.barrier() #1
23 call void @llvm.amdgcn.wave.barrier() #1
35 call void @llvm.amdgcn.wave.barrier() #1
45 call void @llvm.amdgcn.wave.barrier() #1
55 call void @llvm.amdgcn.wave.barrier() #1
65 call void @llvm.amdgcn.wave.barrier() #1
75 call void @llvm.amdgcn.wave.barrier() #1
79 declare void @llvm.amdgcn.wave.barrier() #1
Dllvm.amdgcn.wave.barrier.ll4 ; GCN-DAG: ; wave barrier
9 call void @llvm.amdgcn.wave.barrier() #1
13 declare void @llvm.amdgcn.wave.barrier() #1
Dwrite-register-vgpr-into-sgpr.ll11 declare void @llvm.amdgcn.wave.barrier() #2
16 call void @llvm.amdgcn.wave.barrier() #2
Dattr-amdgpu-waves-per-eu.ll3 ; Exactly 1 wave per execution unit.
39 ; At least 1 wave per execution unit.
75 ; At most 1 wave per execution unit (same as @empty_exactly_1).
Dbarrier-elimination.ll19 ; CHECK-NEXT: ; wave barrier
Dwave_dispatch_regs.ll6 ; in wave dispatch. Ensure that the sgpr and vgpr counts in COMPUTE_PGM_RSRC1
/external/tensorflow/tensorflow/contrib/graph_editor/
Dselect.py366 wave = set(seed_ops)
367 while wave:
369 ops_io = get_ops_ios(wave, control_inputs, control_outputs)
379 wave = new_wave
434 wave = set(seed_ops)
435 while wave:
437 for op in wave:
449 wave = new_wave
504 wave = set(seed_ops)
505 while wave:
[all …]
/external/python/cpython3/Doc/library/
Dwave.rst1 :mod:`wave` --- Read and write WAV files
4 .. module:: wave
10 **Source code:** :source:`Lib/wave.py`
14 The :mod:`wave` module provides a convenient interface to the WAV sound format.
17 The :mod:`wave` module defines the following function and exception:
38 If you pass in a file-like object, the wave object will not close it when its
44 <wave.Wave_read.close>` or :meth:`Wave_write.close()
45 <wave.Wave_write.close()>` method is called.
73 Close the stream if it was opened by :mod:`wave`, and make the instance
156 For seekable output streams, the ``wave`` header will automatically be updated
[all …]
Dmm.rst17 wave.rst
/external/python/cpython2/Doc/library/
Dwave.rst1 :mod:`wave` --- Read and write WAV files
4 .. module:: wave
9 **Source code:** :source:`Lib/wave.py`
13 The :mod:`wave` module provides a convenient interface to the WAV sound format.
16 The :mod:`wave` module defines the following function and exception:
38 If you pass in a file-like object, the wave object will not close it when its
64 Close the stream if it was opened by :mod:`wave`, and make the instance
152 :mod:`wave`. This method is called upon object collection.
207 :exc:`wave.Error`.
Dmm.rst19 wave.rst
/external/autotest/client/cros/audio/
Daudio_quality_measurement_unittest.py29 wave = []
34 wave.append(float(amplitude) * (sine_wave + noise))
37 teager_value_of_wave, length = 0, len(wave)
39 ith_teager_value = abs(wave[i] * wave[i] - wave[i - 1] * wave[i + 1])
40 ith_teager_value *= max(1, abs(wave[i]))
Daudio_quality_measurement.py191 wave = []
196 wave.append(sine_wave + noise)
197 return wave
200 def average_teager_value(wave, amplitude): argument
212 teager_value, length = 0, len(wave)
214 ith_teager_value = abs(wave[i] * wave[i] - wave[i - 1] * wave[i + 1])
215 ith_teager_value *= max(1, abs(wave[i]))
Dcheck_quality.py19 import wave
209 self._wave_reader = wave.open(filename, 'r')
212 except wave.Error as e:
/external/autotest/server/brillo/
Daudio_utils.py14 import wave
83 chk_file = wave.open(filename, 'r')
94 except wave.Error as e:
248 with contextlib.closing(wave.open(reference_audio_filename,
250 with contextlib.closing(wave.open(test_audio_filename,
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DAudioTest.java360 short[] wave = getRecordedWave();
362 while (noisyAtFrame < wave.length && wave[noisyAtFrame] < threshold)
364 if (noisyAtFrame == wave.length) {
371 double duration_us = wave.length * 1e6 / frameRate;
DAudioFragment.java268 final short[] wave = AudioTest.getRecordedWave(); in drawWaveformChart() local
271 for (int i = 0; i < wave.length; i++) { in drawWaveformChart()
273 entries.add(new Entry(timeStamp, (float) wave[i])); in drawWaveformChart()
/external/python/cpython3/Lib/
Dsndhdr.py157 import wave
163 w = wave.open(f, 'r')
164 except (EOFError, wave.Error):
/external/python/cpython2/Lib/test/
Dtest_wave.py5 import wave
10 module = wave
/external/mesa3d/src/amd/common/
Dac_debug.c750 if (w1->wave < w2->wave) in compare_wave()
752 if (w1->wave > w2->wave) in compare_wave()
782 &w->se, &w->sh, &w->cu, &w->simd, &w->wave, in ac_get_wave_info()
Dac_debug.h44 unsigned wave; member
/external/replicaisland/src/com/replica/replicaisland/
DAnimationComponent.java230 final float wave = (float)Math.cos(pressedTime * (float)Math.PI * 2.0f); in update() local
231 opacity = (wave * 0.25f) + 0.75f; in update()

1234