synthesise_onsets: Synthesise onsets with noises and clicks

View source: R/synthesise_onsets.R

synthesise_onsetsR Documentation

Synthesise onsets with noises and clicks

Description

Take the specified instruments and create wave file with sounds where the onsets are

Usage

synthesise_onsets(
  data = NULL,
  instruments = NULL,
  sr = 22050,
  dur = 0.03,
  type = "noise",
  freq = 2500
)

Arguments

data

data frame to be processed (required)

instruments

Instruments names to be included (required)

sr

sampling rate (default 22050)

dur

duration of sounds (default 30 ms)

type

type of sounds (default noise, try click or synth from seewave)

freq

freq of sounds (if synth is given as input)

Value

wave file


tuomaseerola/onsetsynch documentation built on Jan. 17, 2024, 10:58 a.m.