Freq vs note?

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

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

1 Like

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 :