-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { IPeriodicWave } from '../interfaces'; | ||
Check warning Code scanning / check-spelling Candidate Pattern Warning
Line matches candidate pattern "\\b(?:I|isA)(?=(?:[A-Z][a-z]{2,})+\\b)" (candidate-pattern)
Check failure Code scanning / check-spelling Unrecognized Spelling Error
IPeriodic is not a recognized word. (unrecognized-spelling)
|
||
|
||
export default class PeriodicWave { | ||
/** @internal */ | ||
public readonly periodicWave: IPeriodicWave; | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
IPeriodic is not a recognized word. (unrecognized-spelling)
|
||
|
||
constructor(periodicWave: IPeriodicWave) { | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
IPeriodic is not a recognized word. (unrecognized-spelling)
|
||
this.periodicWave = periodicWave; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ export interface IBaseAudioContext { | |
readonly state: ContextState; | ||
readonly sampleRate: number; | ||
readonly currentTime: number; | ||
|
||
createOscillator(): IOscillatorNode; | ||
createGain(): IGainNode; | ||
createStereoPanner(): IStereoPannerNode; | ||
|
@@ -21,6 +22,11 @@ export interface IBaseAudioContext { | |
length: number, | ||
sampleRate: number | ||
) => IAudioBuffer; | ||
createPeriodicWave: ( | ||
real: number[], | ||
imag: number[], | ||
disableNormalization: boolean | ||
) => IPeriodicWave; | ||
Check warning Code scanning / check-spelling Candidate Pattern Warning
Line matches candidate pattern "\\b(?:I|isA)(?=(?:[A-Z][a-z]{2,})+\\b)" (candidate-pattern)
Check failure Code scanning / check-spelling Unrecognized Spelling Error
IPeriodic is not a recognized word. (unrecognized-spelling)
|
||
} | ||
|
||
export interface IAudioContext extends IBaseAudioContext { | ||
|
@@ -34,6 +40,7 @@ export interface IAudioNode { | |
readonly channelCount: number; | ||
readonly channelCountMode: ChannelCountMode; | ||
readonly channelInterpretation: ChannelInterpretation; | ||
|
||
connect: (node: IAudioNode) => void; | ||
disconnect: (node: IAudioNode) => void; | ||
} | ||
|
@@ -52,6 +59,7 @@ export interface IBiquadFilterNode extends IAudioNode { | |
readonly Q: AudioParam; | ||
readonly gain: AudioParam; | ||
type: BiquadFilterType; | ||
|
||
getFrequencyResponse( | ||
frequencyArray: number[], | ||
magResponseOutput: number[], | ||
|
@@ -70,6 +78,8 @@ export interface IOscillatorNode extends IAudioScheduledSourceNode { | |
readonly frequency: IAudioParam; | ||
readonly detune: IAudioParam; | ||
type: OscillatorType; | ||
|
||
setPeriodicWave(periodicWave: IPeriodicWave): void; | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
IPeriodic is not a recognized word. (unrecognized-spelling)
|
||
} | ||
|
||
export interface IAudioBufferSourceNode extends IAudioScheduledSourceNode { | ||
|
@@ -82,6 +92,7 @@ export interface IAudioBuffer { | |
readonly duration: number; | ||
readonly sampleRate: number; | ||
readonly numberOfChannels: number; | ||
|
||
getChannelData(channel: number): number[]; | ||
copyFromChannel( | ||
destination: number[], | ||
|
@@ -100,7 +111,10 @@ export interface IAudioParam { | |
defaultValue: number; | ||
minValue: number; | ||
maxValue: number; | ||
|
||
setValueAtTime: (value: number, startTime: number) => void; | ||
linearRampToValueAtTime: (value: number, endTime: number) => void; | ||
exponentialRampToValueAtTime: (value: number, endTime: number) => void; | ||
} | ||
|
||
export interface IPeriodicWave {} |
7389e47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@check-spelling-bot Report
🔴 Please review
See the 📜action log or 📝 job summary for details.
Unrecognized words (1)
IPeriodic
To accept these unrecognized words as correct, you could run the following commands
... in a clone of the [email protected]:software-mansion-labs/react-native-audio-api.git repository
on the
feat/periodic-wave
branch (ℹ️ how do I use this?):Pattern suggestions ✂️ (1)
You could add these patterns to
.github/actions/spelling/patterns.txt
:Notices (1)
See the 📜action log or 📝 job summary for details.
See ℹ️ Event descriptions for more information.
If the flagged items are 🤯 false positives
If items relate to a ...
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txt
file matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^
refers to the file's path from the root of the repository, so^README\.md$
would exclude README.md (on whichever branch you're using).well-formed pattern.
If you can write a pattern that would match it,
try adding it to the
patterns.txt
file.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
🚂 If you're seeing this message and your PR is from a branch that doesn't have check-spelling,
please merge to your PR's base branch to get the version configured for your repository.