pierreguillot / Camomile

An audio plugin with Pure Data embedded that allows to load and to control patches
GNU General Public License v3.0
909 stars 65 forks source link

Unable to get information about track or playhead from DAW #48

Closed d-vyd closed 7 years ago

d-vyd commented 7 years ago

Hi Pierre,

Thank you so much for this project. I'm looking forward to integrating PD more closely with my DAW (MuLab). I'm having difficulty getting information about the track and playhead. One question is that the instructions (https://github.com/pierreguillot/Camomile/wiki/How-to-create-patches-for-the-plugin) refer to $0-receive while the graphic example uses $0-playhead. I've tried both with no success. Here is one version of the simple PD patch I'm trying: camomile_test1.zip. I expect it to mimic the "tempo" setting inside the DAW. But, it does nothing. This issue has been confirmed by one other user in both MuLab and other DAWs: https://www.kvraudio.com/forum/viewtopic.php?f=79&t=482492&sid=2167123175a884d450d0b10cbe62399a

Could you provide an example patch to receive the track and playhead information? I'm trying to get a simple (but flexible) sequencer working. Thank you!

-d. vyd

pierreguillot commented 7 years ago

Hi, I think the problem is that you want to display the bpm inside a number box. You can change the value of a GUI-object (number box, slider, etc.) from the DAW GUI but if its value has been changed from the pd patch, the graphical interface of the plugin is not updated in the DAW. I think that's why you think that you don't receive any information. I don't have time to install MuLab and test it right now but you can try the patch camo.cornetto that uses the playhead information also if you want to debug your patch you should use the [print] object. If you load this patch, normally you should be able to see the playhead information in the console (click on the "camomile flower" and then on "console"). You can have a look at the FAQ and perhaps also the other issues (the closed ones), I remember that other people had a similar issue.

playhead_test.pd.zip

d-vyd commented 7 years ago

Thanks for your advice. I'll give it a try later today!


From: Pierre Guillot notifications@github.com Sent: Tuesday, April 11, 2017 10:47:37 AM To: pierreguillot/Camomile Cc: d-vyd; Author Subject: Re: [pierreguillot/Camomile] Unable to get information about track or playhead from DAW (#48)

Hi, I think the problem is that you want to display the bpm inside a number box. You can change the value of a GUI-object (number box, slider, etc.) from the DAW GUI but if its value has been changed from the pd patch, the graphical interface of the plugin is not updated in the DAW. I think that's why you think that you don't receive any information. I don't have time to install MuLab and test it right now but you can try the patch camo.cornetto that uses the playhead information also if you want to debug your patch you should use the [print] object. If you load this patchhttps://github.com/pierreguillot/Camomile/files/912912/playhead_test.pd.zip, normally you should be able to see the playhead information in the console (click on the "camomile flower" and then on "console"). You can have a look at the FAQ and perhaps also the other issues (the closed ones), I remember that other people had a similar issue.

playhead_test.pd.ziphttps://github.com/pierreguillot/Camomile/files/912912/playhead_test.pd.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pierreguillot/Camomile/issues/48#issuecomment-293220767, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZLLFy9n5VxXsiCR-jVHcS_LCYvBT0jvks5ru1pJgaJpZM4M4EMH.

pierreguillot commented 7 years ago

Is your problem solved ?

d-vyd commented 7 years ago

Hi Pierre,

The patch you sent does indeed print correct information to the console. I haven't tried getting one of my patches to use your approach. I will so. Thanks for checking in.

-d. vyd


From: Pierre Guillot notifications@github.com Sent: Sunday, April 16, 2017 11:16:39 AM To: pierreguillot/Camomile Cc: d-vyd; Author Subject: Re: [pierreguillot/Camomile] Unable to get information about track or playhead from DAW (#48)

Is your problem solved ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pierreguillot/Camomile/issues/48#issuecomment-294346478, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZLLF0eT3uN43tEpTaNmviRHba1lPpKnks5rwfiXgaJpZM4M4EMH.