added stuff
This commit is contained in:
parent
5d0ed334fb
commit
3a922a1853
3 changed files with 48 additions and 7 deletions
|
@ -12,7 +12,7 @@
|
||||||
Oregano will have these concepts/objects:
|
Oregano will have these concepts/objects:
|
||||||
|
|
||||||
|
|
||||||
- track: like a "track" in renoise. can have notes, and a list of effects.
|
- track: like a "track" in renoise. can have notes and a list of filters
|
||||||
|
|
||||||
|
|
||||||
- instrument: instrument defenitions or presets, and actual instantiated instruments.
|
- instrument: instrument defenitions or presets, and actual instantiated instruments.
|
||||||
|
|
|
@ -40,7 +40,7 @@ The purpose of playing notes on different tracks is we can have different filter
|
||||||
- Filters: can be added to a track. The order in which they are added matters.
|
- Filters: can be added to a track. The order in which they are added matters.
|
||||||
|
|
||||||
|
|
||||||
## Example
|
## Examples
|
||||||
|
|
||||||
### 1. Creating an instrument
|
### 1. Creating an instrument
|
||||||
|
|
||||||
|
@ -68,10 +68,50 @@ Now that we have an instrument, we can use it to play notes on a specific track.
|
||||||
;; TODO - find a way to turn off a note, or make a note play for a specific time
|
;; TODO - find a way to turn off a note, or make a note play for a specific time
|
||||||
|
|
||||||
|
|
||||||
TODO:
|
### 3. Add filters to a track
|
||||||
- use an instrument to play a note on a track.
|
|
||||||
- add filters to a track
|
You can add filters to a specific track.
|
||||||
|
|
||||||
|
(add-effect track3 (reverb 0.5 0.9))
|
||||||
|
|
||||||
|
|
||||||
|
## Functions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### mouse-x and mouse-y
|
||||||
|
|
||||||
|
You can parameters to filters and instruments using the mouse.
|
||||||
|
|
||||||
|
(mouse-x start-value end-value)
|
||||||
|
|
||||||
|
For example, if you want to control the cutoff frequency for a filter using the left-right position of the mouse.
|
||||||
|
|
||||||
|
(add-effect track3 (low-pass-filter resonance
|
||||||
|
(mouse-x kr 200 500)))
|
||||||
|
|
||||||
|
When the mouse is at the left of the screen, the frequency is 200, when the mouse is at the right, the frequency is 500.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
(definst supersaw
|
||||||
|
(
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(append-effect track3 (reverb-effect 0.5 0.9))
|
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,7 @@ tracks:
|
||||||
(append-effect 3 'reverb)
|
(append-effect 3 'reverb)
|
||||||
(append-effect 3 'echo)
|
(append-effect 3 'echo)
|
||||||
|
|
||||||
|
|
||||||
;; creates a ugen that is routed
|
;; creates a ugen that is routed
|
||||||
;; in-bus: input bus channel
|
;; in-bus: input bus channel
|
||||||
;; out-bus: output bus channel
|
;; out-bus: output bus channel
|
||||||
|
@ -56,12 +57,12 @@ tracks:
|
||||||
(mouse-y kr 0 1 0 0.1)
|
(mouse-y kr 0 1 0 0.1)
|
||||||
0.5)))
|
0.5)))
|
||||||
|
|
||||||
|
;; internal function
|
||||||
#;(define (make-freeverb-with-in-out in-bus out-bus)
|
#;(define (make-freeverb-with-in-out in-bus out-bus)
|
||||||
(out out-bus (free-verb (in 1 ar in-bus) 0.5
|
(out out-bus (free-verb (in 1 ar in-bus) 0.5
|
||||||
(mouse-y kr 0 1 0 0.1)
|
(mouse-y kr 0 1 0 0.1)
|
||||||
0.5)))
|
0.5)))
|
||||||
|
|
||||||
;;(define freeverb-effect make-freeverb-with-in-out)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue