{"action":"created","issue":{"url":"https://api.github.com/repos/IPS-LMU/emuR/issues/194","repository_url":"https://api.github.com/repos/IPS-LMU/emuR","labels_url":"https://api.github.com/repos/IPS-LMU/emuR/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/IPS-LMU/emuR/issues/194/comments","events_url":"https://api.github.com/repos/IPS-LMU/emuR/issues/194/events","html_url":"https://github.com/IPS-LMU/emuR/issues/194","id":319867742,"number":194,"title":"Can not extract data for a row of the segment list","user":{"login":"FredrikKarlssonSpeech","id":200246,"avatar_url":"https://avatars1.githubusercontent.com/u/200246?v=4","gravatar_id":"","url":"https://api.github.com/users/FredrikKarlssonSpeech","html_url":"https://github.com/FredrikKarlssonSpeech","followers_url":"https://api.github.com/users/FredrikKarlssonSpeech/followers","following_url":"https://api.github.com/users/FredrikKarlssonSpeech/following{/other_user}","gists_url":"https://api.github.com/users/FredrikKarlssonSpeech/gists{/gist_id}","starred_url":"https://api.github.com/users/FredrikKarlssonSpeech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredrikKarlssonSpeech/subscriptions","organizations_url":"https://api.github.com/users/FredrikKarlssonSpeech/orgs","repos_url":"https://api.github.com/users/FredrikKarlssonSpeech/repos","events_url":"https://api.github.com/users/FredrikKarlssonSpeech/events{/privacy}","received_events_url":"https://api.github.com/users/FredrikKarlssonSpeech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-03T10:36:52Z","updated_at":"2018-05-08T09:30:10Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nUsing the database I uploaded before (sans wave files) I struggle to get track data .\r\n\r\n```\r\n> load_emuDB(\"DDKDB_emuDB/\") -> ddk\r\nINFO: Checking if cache needs update for 1 sessionsand  333 bundles ...\r\nINFO: Performing precheck and calculating checksums (== MD5 sums) for _annot.json files ...\r\nINFO: Nothing to update!\r\n> oneSegment <- query(ddk, \"[CV =~.* ^ Num(Syllable,CV) ==1]\")\r\nWarning message:\r\npackage ‘bindrcpp’ was built under R version 3.4.4 \r\n> get_trackdata(ddk,oneSegment,\"pitch\",resultType=\"tibble\") -> oneSegmentPitch\r\n\r\n  INFO: parsing 1839 pitch files\r\n  |=======================                                                                                                                           |  15%\r\nError in get_trackdata(ddk, oneSegment, \"pitch\", resultType = \"tibble\") : \r\n  Can not extract data for the 284th row of the segment list:  116922.114583333 149919.96875 PDNC:149_706666666667_fb7b678745f4e47b02417fa446a51b47 bdc723cc-db7f-4956-8801-e87091c6ec6e PDNC 149_706666666667_fb7b678745f4e47b02417fa446a51b47 138 138 CV 86 86 SEGMENT 5612262 7196158 48000 start and/or end times out of bounds\r\nIn addition: Warning message:\r\nIn get_trackdata(ddk, oneSegment, \"pitch\", resultType = \"tibble\") :\r\n  The emusegs/emuRsegs object passed in refers to bundles with in-homogeneous sampling rates in their audio files! Here is a list of all refered to bundles incl. their sampling rate: \r\n    session                                              name                                             annotates sample_rate\r\n1      PDNC            10_08_c9065d43d3212757971834bf4d3d067c            10_08_c9065d43d3212757971834bf4d3d067c.wav       48000\r\n2      PDNC          100_288_89b28128373b4f2c1dbd7154c23b7105          100_288_89b28128373b4f2c1dbd7154c23b7105.wav       48000\r\n3      PDNC 101_066666666667_f91e96438ac50475f72157eec428ce67 101_066666666667_f91e96438ac50475f72157eec428ce67.wav       48000\r\n4      PDNC           101_28_8c130e18a811f94ff48710a8981a9677           101_28_8c130e18a811f94ff48710a8981a9677.wav       48000\r\n5      PDNC 101_436598639456_06f4dcc7b980fb58577597ccbee5ce2e 101_436598639456_06f4dcc7b980fb58577597ccbee5ce2e.wav       44100\r\n6      PDNC 101_450666666667_9d7ef21efb3b109c2dc64 [... truncated]\r\n```\r\n\r\nThe transcriptions were created in Praat and have not been manipulated outside of the Praat and emuR programs. "},"comment":{"url":"https://api.github.com/repos/IPS-LMU/emuR/issues/comments/387343006","html_url":"https://github.com/IPS-LMU/emuR/issues/194#issuecomment-387343006","issue_url":"https://api.github.com/repos/IPS-LMU/emuR/issues/194","id":387343006,"user":{"login":"raphywink","id":435436,"avatar_url":"https://avatars1.githubusercontent.com/u/435436?v=4","gravatar_id":"","url":"https://api.github.com/users/raphywink","html_url":"https://github.com/raphywink","followers_url":"https://api.github.com/users/raphywink/followers","following_url":"https://api.github.com/users/raphywink/following{/other_user}","gists_url":"https://api.github.com/users/raphywink/gists{/gist_id}","starred_url":"https://api.github.com/users/raphywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphywink/subscriptions","organizations_url":"https://api.github.com/users/raphywink/orgs","repos_url":"https://api.github.com/users/raphywink/repos","events_url":"https://api.github.com/users/raphywink/events{/privacy}","received_events_url":"https://api.github.com/users/raphywink/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T09:30:10Z","updated_at":"2018-05-08T09:30:10Z","author_association":"NONE","body":"`get_trackdata()`doesn't care about the query. It is only interested in the start/end times as well as the bundle/session/utts columns. If you have segments that don't contain any samples:\r\n\r\n![screen shot 2018-05-08 at 11 19 26](https://user-images.githubusercontent.com/435436/39748930-b7eefdc2-52b1-11e8-9c73-0d3e5eab45f8.png)\r\n\r\nor not enough:\r\n\r\n![screen shot 2018-05-08 at 11 28 16](https://user-images.githubusercontent.com/435436/39749471-0ec4707c-52b3-11e8-8b4e-41961060eb71.png)\r\n\r\n`get_trackdata()` will throw an error!\r\n"}}
{"actor":{"display_login":"raphywink"}}