MCPcopy Create free account

hub / github.com/barthap/expo-mega-demo / functions

Functions77 in github.com/barthap/expo-mega-demo

↓ 5 callersFunctionupdateStore
(updater: (state: State) => void)
src/bluetooth/BluetoothManager.ts:18
↓ 4 callersFunction_renderAuxiliaryButton
({ disable, iconName, title, onPress, forceEnabled = false, }: { disable?: boolean;
src/components/PlayerControls.tsx:117
↓ 4 callersFunctionisDeviceSupported
(device?: Device)
src/bluetooth/BluetoothDevice.ts:13
↓ 3 callersFunctionformatHertzString
( frequency: number, { digits }: { digits: number }, )
src/components/AudioSpectrum.tsx:126
↓ 3 callersFunctionsendCommandTo
(device: Device, command: string)
src/bluetooth/BluetoothDevice.ts:25
↓ 2 callersFunction_formatTime
(duration: number)
src/components/PlayerControls.tsx:333
↓ 2 callersFunction_leftPad
( s: string, padWith: string, expectedMinimumSize: number, )
src/components/PlayerControls.tsx:342
↓ 2 callersFunctionconvWidthForNumBins
(numBins: number, numSamples: number)
src/math/convolution.ts:71
↓ 2 callersFunctiondoDeviceScan
()
src/bluetooth/BluetoothManager.ts:22
↓ 2 callersFunctiongetB
(a: number, lastSample: number)
src/math/invLog.ts:11
↓ 2 callersFunctionrgb2hex
(r, g, b)
src/components/picker/colorUtils.ts:1
↓ 2 callersFunctionunloadSound
()
src/screens/PlayerScreen.tsx:81
↓ 1 callersFunction_renderPlayPauseButton
()
src/components/PlayerControls.tsx:94
↓ 1 callersFunction_renderReplayButton
()
src/components/PlayerControls.tsx:82
↓ 1 callersMethodadd
(other: Complex, dst: Complex)
src/math/fft.ts:12
↓ 1 callersMethodcexp
(dst: Complex)
src/math/fft.ts:30
↓ 1 callersFunctioncfft
(amplitudes: number[])
src/math/fft.ts:56
↓ 1 callersFunctionconnect
(deviceToConnect: Device)
src/bluetooth/BluetoothManager.ts:53
↓ 1 callersFunctionconv
( samples: number[], windowFun: (x: number) => number, sliceAt: number = samples.length )
src/math/convolution.ts:29
↓ 1 callersFunctiongenerateLogIndexArray
(a: number, size: number)
src/math/invLog.ts:33
↓ 1 callersFunctiongetBinWidth
(samplingRate: number, fftSize: number)
src/math/convolution.ts:60
↓ 1 callersFunctionithBinToFreq
(binWidth: number)
src/math/convolution.ts:43
↓ 1 callersMethodmag
* @returns Magnitude of the complex number
src/math/fft.ts:39
↓ 1 callersFunctionmakeExponent
(x0: number, halfWidth: number)
src/math/convolution.ts:18
↓ 1 callersFunctionmakeInvLogFn
(a: number, lastSample: number)
src/math/invLog.ts:21
↓ 1 callersFunctionmakeLogFn
(a: number, lastSample: number)
src/math/invLog.ts:14
↓ 1 callersFunctionmakeOptimalQuadraticBinsForSamples
( numBins: number, sliceAt: number, logIdxRemapCoeff: number = 20 )
src/math/convolution.ts:106
↓ 1 callersMethodmul
(other: Complex, dst: Complex)
src/math/fft.ts:23
↓ 1 callersFunctionprepareSongDisplayName
({ artist, title }: MusicPicker.MusicItem)
src/screens/PlayerScreen.tsx:31
↓ 1 callersFunctionrenderItemAccessory
(id)
src/components/DeviceList.tsx:17
↓ 1 callersFunctionstopScanning
()
src/bluetooth/BluetoothManager.ts:45
↓ 1 callersMethodsub
(other: Complex, dst: Complex)
src/math/fft.ts:18
↓ 1 callersFunctionupdateBtLedRgb
()
src/screens/PlayerScreen.tsx:182
↓ 1 callersFunctionuseMeasure
( initialCb?: (size: LayoutRectangle) => void )
src/components/picker/useMeasure.ts:4
FunctionApp
()
src/App.tsx:39
FunctionAudioSpectrum
(props: Props)
src/components/AudioSpectrum.tsx:59
FunctionBluetoothScreen
()
src/screens/BluetoothScreen.tsx:15
FunctionBottomTabBar
({ navigation, state, descriptors, }: BottomTabBarProps)
src/Navigation.tsx:21
FunctionCardFooter
(props)
src/screens/BluetoothScreen.tsx:87
FunctionCardHeader
(props)
src/screens/BluetoothScreen.tsx:77
FunctionDeviceList
(props: Props)
src/components/DeviceList.tsx:16
FunctionNavigation
()
src/Navigation.tsx:46
FunctionPlayer
(props: Props)
src/components/PlayerControls.tsx:52
FunctionPlayerScreen
()
src/screens/PlayerScreen.tsx:60
FunctionRGBControlScreen
()
src/screens/RGBControlScreen.tsx:9
FunctionSpectrumBin
(props: SpectrumBinProps)
src/components/AudioSpectrum.tsx:35
FunctionThemedSafeArea
(props: NativeSafeAreaViewProps)
src/App.tsx:26
FunctionVolumeSlider
({ volume, isMuted, disabled, color, onValueChanged, style, }: { volume: number; isMuted: bool
src/components/PlayerControls.tsx:241
Function_pause
()
src/components/PlayerControls.tsx:69
Function_play
()
src/components/PlayerControls.tsx:67
Function_playFromPosition
(position: number)
src/components/PlayerControls.tsx:71
Function_replayAsync
()
src/screens/PlayerScreen.tsx:230
Function_seekBackward
()
src/components/PlayerControls.tsx:79
Function_seekForward
()
src/components/PlayerControls.tsx:76
Function_setIsLoopingAsync
(isLooping: boolean)
src/screens/PlayerScreen.tsx:233
Function_setIsMutedAsync
(isMuted: boolean)
src/screens/PlayerScreen.tsx:234
Function_setPositionAsync
(position: number)
src/screens/PlayerScreen.tsx:231
Function_setVolumeAsync
(volume: number)
src/screens/PlayerScreen.tsx:235
Function_toggleLooping
()
src/components/PlayerControls.tsx:74
FunctioncolorChanged
()
src/components/picker/index.tsx:41
Methodconstructor
(re: number, im: number = 0)
src/math/fft.ts:7
Functiondisconnect
()
src/bluetooth/BluetoothManager.ts:62
FunctionexponentBinsForSamples
( fftSamples: number[], numBins: number, sliceAt = fftSamples.length )
src/math/convolution.ts:76
FunctionfadeBinsDown
()
src/screens/PlayerScreen.tsx:144
FunctionfreqToBinNumber
(binWidth: number)
src/math/convolution.ts:51
FunctionmakeQuadratic
(x0: number, halfWidth: number)
src/math/convolution.ts:9
FunctionnormalizeUsingSum
(bins: number[])
src/math/convolution.ts:94
FunctiononSampleReceived
(sample: AudioSample)
src/screens/PlayerScreen.tsx:152
FunctionopenPicker
()
src/screens/PlayerScreen.tsx:102
Methodprint
()
src/math/fft.ts:43
FunctionrenderItem
({ item })
src/components/DeviceList.tsx:24
FunctionsendCommand
()
src/screens/RGBControlScreen.tsx:17
FunctionsendRgb
({ rgb })
src/screens/RGBControlScreen.tsx:25
FunctionstartPlaying
()
src/screens/PlayerScreen.tsx:202
FunctionstopPlaying
()
src/screens/PlayerScreen.tsx:217
FunctiontoggleSwitch
()
src/screens/PlayerScreen.tsx:175
FunctionupdateBinHeights
(values: number[])
src/screens/PlayerScreen.tsx:132