Skip to content

Commit

Permalink
Light improvements on riders patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiskovic committed Oct 6, 2023
1 parent 2fcefcb commit 7029c7b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
Binary file modified patches/riders/A_029__F1_1.ogg
Binary file not shown.
Binary file modified patches/riders/A_029__F1_2.ogg
Binary file not shown.
Binary file modified patches/riders/A_029__F1_3.ogg
Binary file not shown.
Binary file removed patches/riders/rain.ogg
Binary file not shown.
8 changes: 2 additions & 6 deletions patches/riders/riders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function patch.load()
})
self.efx = efx.load()
self.efx:addEffect(self.efx.tremolo)
self.efx:addEffect(self.efx.flanger)
self.efx:setDryVolume(0.4)
self.efx.reverb.volume = 1
self.efx.reverb.decaytime = 2
Expand All @@ -71,11 +70,8 @@ function patch:process(s)
for _,touch in pairs(s.touches) do
touch.velocity = l.remap(s.tilt[2], 0.2, 0.7, 0.1, 1, 'clamp')
end
self.sampler.masterVolume = l.remap(s.tilt[2], 0.2, 0.7, 0.2, 1, 'clamp')

self.efx.tremolo.frequency = l.remap(s.tilt.lp[1], 0, 0.3, 0, 15)
self.efx.flanger.volume = l.remap(s.tilt.lp[1], 0, -0.2, 0, 1, 'clamp')
self.efx.flanger.rate = l.remap(s.tilt.lp[1], 0, -0.7, 0, 0.5, 'clamp')
self.sampler.masterVolume = l.remap(s.tilt[2], 0.2, 0.7, 0.3, 1, 'clamp')
self.efx.tremolo.frequency = l.remap(s.tilt.lp[1], 0, 0.5, 0, 10, 'clamp')
self.efx:process()

self.sampler:processTouches(s.dt, s.touches, self.efx)
Expand Down

0 comments on commit 7029c7b

Please sign in to comment.