Csound Csound-dev Csound-tekno Search About

[Csnd] ftloadk causing segfault

Date2019-09-24 20:37
From"Jeanette C."
Subject[Csnd] ftloadk causing segfault
Hey hey,
running Csound 6.13.0 (Archbuild 6.13.0-3). Csound reproducibly segfaults when 
trying ftloadk. After the sgfault notification Does someone have an idea why
this might happen? I also use ftsavek in the same way, which works, verified
by the data in the file.

Here are the relevant snippets from the CSD:



-o dac -m0 -+rtmidi=alsaseq -M28:0



sr =  48000
ksmps =  1
nchnls   =  2
0dbfs =  1

gimidimap ftgen 0, 0, 49, -2, 0

instr 1
   kcode, kdown sensekey
   if (changed(kdown) == 1) && (kdown == 1) then ; Only if keypress status
     ; changes and the key is depressed (not released)
     if (kcode == 76) || (kcode == 108) then ; l for load
       ftloadk "values.ftable", kdown, 1, gimidimap ; segfault here!
     endif
   endif
endin




i1 0 3600
e



Best wishes and thanks for any help,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

It's not complicated
We just syncopated
We can read each others' minds <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here