Jump to content

Recommended Posts

Hey commuinty :)

 

last night I got the idea of creating a guitar tuner using activate ;)

Now I am curious if there is a way to get microphone access using the OML language.

If not, i am sure there is a way by using Python language.

 

Basically I just need to record an audio sequence and process it with my future activate model.

 

Is there a way to interrupt the the process for recordingI will put that question in a new topic ;)

 

best regards

 

Nils

Share this post


Link to post
Share on other sites

I've used pyaudio in the past to create .wav files, which is a package that is able to input/output audio.

Steps to install the package:

 

  1. Open the command window (cmd) as Administrator

     

  2. Type cd C:\<Compose_installation_folder>\common\python\python3.5\win64

     

  3. Type python.exe -m pip install pyaudio

There are some examples at GitHub:

https://gist.github.com/mabdrabo/8678538

https://gist.github.com/fopina/3cefaed1b2d2d79984ad7894aef39a68

And pyaudio documentation is at https://people.csail.mit.edu/hubert/pyaudio/docs/ - the class stream probably achieves what you are looking for.

 

Regards,

 

Roberta

Livil Lyle and NilsWaap like this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...