TinyMan / node-jeanne

Jeanne is meant to be a powerful Music bot for Mumble, with voice recognition
MIT License
26 stars 6 forks source link

This looks really interesting! - a Question #6

Open philiprhoades opened 6 years ago

philiprhoades commented 6 years ago

People,

I use Mumble occasionally on my server to chat with others in the various groups I support.

I want to do an interview with someone using Mumble and record the conversation - then have a group discussion in Mumble and be able to play the previously recorded conversation to the group so we can talk about the interview.

I am using Fedora 27 x86_64 with Pulse Audio UNinstalled and just using ALSA with an .asoundrc that allows me to hear multiple inputs in single-user workstation mode but I don't know if MumbleCop can stream to the others in Mumble chat with this setup - it would be fantastic if I could get it to work!

Thanks,

Phil.

TinyMan commented 6 years ago

Hi,

I'm not sure that I understand your needs. What do you really expect from Jeanne ? She could play a recording if that's what you need. Internally she uses node-jamy to play stream (local files or url). You can see an example in voice.js:

player.play({
    filepath: path.resolve(this.config.extensions.voice.folder, file),
    playbackOptions: {
        inputOptions: ["-f s16le"]
    }
})

playbackOptions are additionnal parameters passed to ffmpeg

Does this answer your need ?

philiprhoades commented 6 years ago

TinyMan,

On 2018-04-29 20:00, TinyMan wrote:

Hi,

I'm not sure that I understand your needs. What do you really expect from Jeanne ? She could play a recording if that's what you need. Internally she uses node-jamy [1] to play stream (local files or url). You can see an example in voice.js [2]:

player.play({ filepath: path.resolve(this.config.extensions.voice.folder, file), playbackOptions: { inputOptions: ["-f s16le"] } })

playbackOptions are additionnal parameters passed to ffmpeg

Does this answer your need ?

I'm not sure - I'll try and explain again:

  1. I want to record an interview with someone using Mumble - no problem, I have done Mumble recordings before.

  2. Some time later I want to have a group Mumble and play the recording from #1 so that everyone in the group can hear it.

  3. Have a discussion in the group Mumble about the points discussed in the replayed interview.

Thanks,

Phil. -- Philip Rhoades

PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au

TinyMan commented 6 years ago

I suppose I could get around the limitation and add a command to play a local file. Then you would have to specify a base folder for your interviews (in the config) and could play the file with for example !playFile interview1.wav

philiprhoades commented 6 years ago

TinyMan,

On 2018-05-04 03:03, TinyMan wrote:

I suppose I could get around the limitation and add a command to play a local file. Then you would have to specify a base folder for your interviews (in the config) and could play the file with for example !playFile interview1.wav

That would be excellent!

Regards,

Phil.


[1] https://github.com/TinyMan/node-jeanne/issues/6#issuecomment-386365466 [2] https://github.com/notifications/unsubscribe-auth/ABGap45Wj2dcFl7ZVU94F9WnJ67l4U39ks5tuzhFgaJpZM4Tp3yc

-- Philip Rhoades

PO Box 896 Cowra NSW 2794 Australia E-mail: phil@pricom.com.au