# Freq vs note?

**URL:** <https://uzu.lurk.org/t/freq-vs-note/2146>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [11 September 2020 19:31 UTC](https://uzu.lurk.org/t/freq-vs-note/2146 "2020-09-11T19:31:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TSC67](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@TSC67](https://uzu.lurk.org/u/TSC67)\
**Post date:** [11 September 2020 19:31 UTC](https://uzu.lurk.org/t/freq-vs-note/2146/1 "2020-09-11T19:31:44Z")

</div>

Can someone help me out? I would have thought these would produce the same thing:

```haskell
do
  let sample = "dsynth"
  d1 $ cat [
    freq "440 ~ ~"
      # s sample
      # legato 1.0,
    note "a4 ~ ~"
      # s sample
      # legato 1.0
    ]

```

---

<div class="post-metadata">

**Author:** ![artheist](https://uzu.lurk.org/user_avatar/uzu.lurk.org/artheist/32/594_2.png) [@artheist](https://uzu.lurk.org/u/artheist)\
**Post date:** [11 September 2020 19:52 UTC](https://uzu.lurk.org/t/freq-vs-note/2146/2 "2020-09-11T19:52:26Z")

</div>

Last time I checked, middle octave is 5 - I have not tried you code though -  
My guesstimate for the reason for that is that usually midi goes down to -2 octaves, but in order to reference it in code a.k.a haskell it needs to begin at 0. Hence the shift.  
Try A5 instead and let me know if I am wrong  
Also, I recently found this app that is really useful for debugging midi : [https://www.snoize.com/MIDIMonitor/](https://www.snoize.com/MIDIMonitor/)
