-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualising detected calls #27
Comments
Hey Raven, We just encountered this problem a few days ago. It has to do with single vs double precision audio. We fixed it, just download DeepSqueak again and you should be good to go! If you use Github Desktop it will make getting new versions and minor bug fixes easier. -Kevin |
Hi Kevin,
It worked, thank you!! And thank you so much for such an amazing program!
Best,
Raven
…----
Raven Hickson
PhD student, Kind Lab
Centre for Discovery Brain Sciences
University of Edinburgh
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
On 5 Feb 2019, at 18:24, DrCoffey <notifications@github.com<mailto:notifications@github.com>> wrote:
Hey Raven,
We just encountered this problem a few days ago. It has to do with single vs double precision audio. We fixed it, just download DeepSqueak again and you should be good to go! If you use Github Desktop it will make getting new versions and minor bug fixes easier.
-Kevin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#27 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AtKp2Kdm2KaDe1ZbH85G6xK9N-_8bPomks5vKcxugaJpZM4ajhle>.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|
Hi again,
Sorry, but I just tried using unsupervised clustering on the detected calls, and this is what came back:
[cid:745E4DB1-401E-405D-A51F-D7B89C65B8DE@ed.ac.uk]
Do I need to change something in relation to the double vs single audio?
…----
Raven Hickson
PhD student, Kind Lab
Centre for Discovery Brain Sciences
University of Edinburgh
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
On 5 Feb 2019, at 18:24, DrCoffey <notifications@github.com<mailto:notifications@github.com>> wrote:
Hey Raven,
We just encountered this problem a few days ago. It has to do with single vs double precision audio. We fixed it, just download DeepSqueak again and you should be good to go! If you use Github Desktop it will make getting new versions and minor bug fixes easier.
-Kevin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#27 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AtKp2Kdm2KaDe1ZbH85G6xK9N-_8bPomks5vKcxugaJpZM4ajhle>.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|
Hey Raven, Is that supposed to be a link to an image? All I see is: |
Hi Kevin,
Sorry about that, it was supposed to be a screenshot. Here is the text I get back when I try to run unsupervised clustering:
Error using mat2gray
Expected input number 2, LIMITS, to be one of these types:
double
Instead its type was single.
Error in mat2gray (line 35)
validateattributes(limits,{'double'},{'numel',2},mfilename,'LIMITS',2);
Error in CreateClusteringData (line 39)
im = mat2gray(flipud(I),[0 max(max(I))/4]); % Set max brightness to 1/4 of max
Error in UnsupervisedClustering_Callback (line 5)
[ClusteringData] = CreateClusteringData(hObject, eventdata, handles);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('UnsupervisedClustering_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating Menu Callback.
…----
Raven Hickson
PhD student, Kind Lab
Centre for Discovery Brain Sciences
University of Edinburgh
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
On 6 Feb 2019, at 18:20, DrCoffey <notifications@github.com<mailto:notifications@github.com>> wrote:
Hey Raven,
Is that supposed to be a link to an image? All I see is:
[cid:745E4DB1-401E-405D-A51F-D7B89C65B8DE@ed.ac.uk<mailto:745E4DB1-401E-405D-A51F-D7B89C65B8DE@ed.ac.uk>]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#27 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AtKp2P-PcGda1TpFW0_f9wGfz4lVFmGKks5vKxzygaJpZM4ajhle>.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|
I've just updated the code, and now single-precision audio should work everywhere. Before, we just checked whether or not the audio was floating point, and converted it to double precision if it wasn't. Now we also convert the audio to double precision if it is single precision. |
That’s great, thank you so much for your help!
Best,
Raven
…----
Raven Hickson
PhD student, Kind Lab
Centre for Discovery Brain Sciences
University of Edinburgh
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
On 7 Feb 2019, at 23:06, MxMarx <notifications@github.com<mailto:notifications@github.com>> wrote:
I've just updated the code, and now single-precision audio should work everywhere.
Before, we just checked whether or not the audio was floating point, and converted it to double precision if it wasn't. Now we also convert the audio to double precision if it is single precision.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#27 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AtKp2BJoLdnVEKMzzSLKjuhp9cqaZtxLks5vLLFegaJpZM4ajhle>.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|
Hi,
I tried running DeepSqueak on an audio file, and it did detect calls, but there seems to be some issue with visualising the spectrogram of the calls. This is what happens after I have tried detecting calls:
Error using intmax (line 40)
Invalid class name.
Error in CreateSpectrogram (line 9)
audio = double(audio) / (double(intmax(class(audio)))+1);
Error in update_fig (line 14)
[I,windowsize,noverlap,nfft,rate,box,s,fr,ti,audio,AudioRange] = CreateSpectrogram(handles.calls(handles.currentcall));
Error in loadcalls_Callback (line 81)
update_fig(hObject, eventdata, handles);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('loadcalls_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Reference to non-existent field 'calls'.
Error in DeepSqueak>slider1_Callback (line 291)
handles.currentcall=ceil(get(hObject,'Value')*length(handles.calls));
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('slider1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Reference to non-existent field 'calls'.
Error in DeepSqueak>slider1_Callback (line 291)
handles.currentcall=ceil(get(hObject,'Value')*length(handles.calls));
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('slider1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Reference to non-existent field 'calls'.
Error in DeepSqueak>slider1_Callback (line 291)
handles.currentcall=ceil(get(hObject,'Value')*length(handles.calls));
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('slider1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Reference to non-existent field 'calls'.
Error in DeepSqueak>slider1_Callback (line 291)
handles.currentcall=ceil(get(hObject,'Value')*length(handles.calls));
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('slider1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Reference to non-existent field 'calls'.
Error in DeepSqueak>slider1_Callback (line 291)
handles.currentcall=ceil(get(hObject,'Value')*length(handles.calls));
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('slider1_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
The output in DeepSqueak looks like this:
Do you have an idea of what could be going wrong?
Thank you!!
Raven
The text was updated successfully, but these errors were encountered: